The alt_instr defns are causing klibc compilation problems. Place them inside #ifdef __KERNEL__. 25-akpm/include/asm-i386/system.h | 2 ++ 1 files changed, 2 insertions(+) diff -puN include/asm-i386/system.h~alt_instr-__KERNEL__ include/asm-i386/system.h --- 25/include/asm-i386/system.h~alt_instr-__KERNEL__ Mon Apr 28 16:03:57 2003 +++ 25-akpm/include/asm-i386/system.h Mon Apr 28 16:04:23 2003 @@ -277,6 +277,7 @@ static inline unsigned long __cmpxchg(vo /* Compiling for a 386 proper. Is it worth implementing via cli/sti? */ #endif +#ifdef __KERNEL__ struct alt_instr { u8 *instr; /* original instruction */ u8 cpuid; /* cpuid bit set for replacement */ @@ -307,6 +308,7 @@ struct alt_instr { " .byte 664f-663f\n" /* replacementlen */ \ "663:\n\t" newinstr "\n664:\n" /* replacement */ \ ".previous" :: "i" (feature) : "memory") +#endif /* * Force strict CPU ordering. _