HACK: x86,kaiser: allow compilation
This removes the check to allow compilation to go through:
CC arch/x86/kernel/head64.o
In file included from ./include/linux/init.h:4:0,
from arch/x86/kernel/head64.c:8:
arch/x86/kernel/head64.c: In function ‘x86_64_start_kernel’:
./include/linux/compiler.h:518:38: error: call to ‘__compiletime_assert_151’ declared with attribute error: BUILD_BUG_ON failed: __fix_to_virt(__end_of_fixed_addresses) <= MODULES_END
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
./include/linux/compiler.h:501:4: note: in definition of macro ‘__compiletime_assert’
prefix ## suffix(); \
^
./include/linux/compiler.h:518:2: note: in expansion of macro ‘_compiletime_assert’
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
./include/linux/bug.h:54:37: note: in expansion of macro ‘compiletime_assert’
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^
./include/linux/bug.h:78:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
^
arch/x86/kernel/head64.c:151:2: note: in expansion of macro ‘BUILD_BUG_ON’
BUILD_BUG_ON(__fix_to_virt(__end_of_fixed_addresses) <= MODULES_END);
^
scripts/Makefile.build:293: recipe for target 'arch/x86/kernel/head64.o' failed
make[2]: *** [arch/x86/kernel/head64.o] Error 1
scripts/Makefile.build:544: recipe for target 'arch/x86/kernel' failed
make[1]: *** [arch/x86/kernel] Error 2
Makefile:995: recipe for target 'arch/x86' failed
make: *** [arch/x86] Error 2
Signed-off-by: Eduardo Valentin <eduval@amazon.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
1 file changed