Hi,
I'm getting this when compiling on amd64:
CC arch/x86/kernel/cpu/mcheck/mce.o
arch/x86/kernel/cpu/mcheck/mce.c:1463:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'open_count'
arch/x86/kernel/cpu/mcheck/mce.c: In function 'mce_open':
arch/x86/kernel/cpu/mcheck/mce.c:1470:2: error: implicit declaration of function 'local_read'
arch/x86/kernel/cpu/mcheck/mce.c:1470:33: error: 'open_count' undeclared (first use in this function)
arch/x86/kernel/cpu/mcheck/mce.c:1470:33: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/kernel/cpu/mcheck/mce.c:1478:2: error: implicit declaration of function 'local_inc'
arch/x86/kernel/cpu/mcheck/mce.c: In function 'mce_release':
arch/x86/kernel/cpu/mcheck/mce.c:1489:2: error: implicit declaration of function 'local_dec'
arch/x86/kernel/cpu/mcheck/mce.c:1489:13: error: 'open_count' undeclared (first use in this function)
make[4]: *** [arch/x86/kernel/cpu/mcheck/mce.o] Error 1