asm-x86/processor-flags.h is an exported header, via 'make headers_install_all' Please move X86_VM_MASK inside __KERNEL__ Olaf --