Update of /cvsroot/mkdump/mkexec/2.0/2.6/include/linux
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17631/include/linux
Modified Files:
cpus.h
Log Message:
for debian
Index: cpus.h
===================================================================
RCS file: /cvsroot/mkdump/mkexec/2.0/2.6/include/linux/cpus.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** cpus.h 11 Jan 2006 00:03:09 -0000 1.6
--- cpus.h 11 Jan 2006 00:09:35 -0000 1.7
***************
*** 51,56 ****
#define ARCH_BAD_APICID (0xffff)
#error "FIXME: convert_apicid_to_cpu() u8 type broken for ia64"
! #endif
! #if defined(CONFIG_x86_64) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 9))
#define arch_cpu_to_apicid x86_cpu_to_apicid
#define ARCH_BAD_APICID (0xff)
--- 51,55 ----
#define ARCH_BAD_APICID (0xffff)
#error "FIXME: convert_apicid_to_cpu() u8 type broken for ia64"
! #elif defined(CONFIG_x86_64) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 9))
#define arch_cpu_to_apicid x86_cpu_to_apicid
#define ARCH_BAD_APICID (0xff)
***************
*** 84,87 ****
--- 83,87 ----
#else /* i386, before 2.6.9 */
#define get_processor_id() smp_processor_id()
+ #define convert_apicid_to_cpu(apic_id) (0xff)
#endif
|