lkml.org 
[lkml]   [2003]   [Jun]   [18]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 18 Jun 2003 02:11:16 -0700
FromAndrew Morton <>
SubjectRe: 2.5.72 x86-generic missing enable_apic_mode()
Andi Kleen <ak@suse.de> wrote:
>
> It should be enough to add it to the genapic structure in
>  asm-i386/genapic.h and also to the APIC_INIT macro in the same file.

Works for me.

>  (assuming that it is properly defined for default,bigsmp,summit) 

Seems to be.


diff -puN include/asm-i386/mach-generic/mach_apic.h~mach-generic-build-fix include/asm-i386/mach-generic/mach_apic.h
--- 25/include/asm-i386/mach-generic/mach_apic.h~mach-generic-build-fix	2003-06-18 02:06:07.000000000 -0700
+++ 25-akpm/include/asm-i386/mach-generic/mach_apic.h	2003-06-18 02:06:07.000000000 -0700
@@ -25,5 +25,6 @@
 #define check_phys_apicid_present (genapic->check_phys_apicid_present)
 #define check_apicid_used (genapic->check_apicid_used)
 #define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid)
+#define enable_apic_mode (genapic->enable_apic_mode)
 
 #endif /* __ASM_MACH_APIC_H */
diff -puN include/asm-i386/genapic.h~mach-generic-build-fix include/asm-i386/genapic.h
--- 25/include/asm-i386/genapic.h~mach-generic-build-fix	2003-06-18 02:06:07.000000000 -0700
+++ 25-akpm/include/asm-i386/genapic.h	2003-06-18 02:06:07.000000000 -0700
@@ -43,6 +43,7 @@ struct genapic { 
 			   struct mpc_config_translation *t); 
 	void (*setup_portio_remap)(void); 
 	int (*check_phys_apicid_present)(int boot_cpu_physical_apicid);
+	void (*enable_apic_mode)(void);
 
 	/* mpparse */
 	void (*mpc_oem_bus_info)(struct mpc_config_bus *, char *, 
@@ -101,6 +102,7 @@ struct genapic { 
 	APICFUNC(send_IPI_mask), \
 	APICFUNC(send_IPI_allbutself), \
 	APICFUNC(send_IPI_all), \
+	APICFUNC(enable_apic_mode), \
 	}
 
 extern struct genapic *genapic;
_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:36    [from the cache]
©2003-2008