Package: linux-kernel-headers Version: 2.6.18-3 Severity: normal /usr/include/asm/system.h file used to provide access to useful low-level x86 facilities, such as cmpxchg CPU instruction.
Only add #include <asm/system.h> to program and then use it. However, this stopped working after recent upgrade of linux-kernel-headers package: [EMAIL PROTECTED]:/tmp> cat t.c #include <asm/system.h> [EMAIL PROTECTED]:/tmp> gcc -c t.c In file included from /usr/include/asm/bitops.h:8, from /usr/include/linux/bitops.h:9, from /usr/include/asm-i486/cpufeature.h:10, from /usr/include/asm/cpufeature.h:8, from /usr/include/asm-i486/system.h:6, from /usr/include/asm/system.h:8, from t.c:1: /usr/include/asm-i486/bitops.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /usr/include/asm/system.h:8, from t.c:1: /usr/include/asm-i486/system.h:306: error: expected declaration specifiers or '...' before 'u8' /usr/include/asm-i486/system.h:306: error: expected declaration specifiers or '...' before 'u8' /usr/include/asm-i486/system.h:307: error: expected declaration specifiers or '...' before 'u16' /usr/include/asm-i486/system.h:307: error: expected declaration specifiers or '...' before 'u16' /usr/include/asm-i486/system.h:308: error: expected declaration specifiers or '...' before 'u32' /usr/include/asm-i486/system.h:308: error: expected declaration specifiers or '...' before 'u32' /usr/include/asm-i486/system.h: In function 'cmpxchg_386': /usr/include/asm-i486/system.h:315: error: too many arguments to function 'cmpxchg_386_u8' /usr/include/asm-i486/system.h:317: error: too many arguments to function 'cmpxchg_386_u16' /usr/include/asm-i486/system.h:319: error: too many arguments to function 'cmpxchg_386_u32' -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (620, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.18-1-k7 Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]