• Isaku Yamahata's avatar
    [IA64] fix allmodconfig compilation breakage. · 05f0ecbd
    Isaku Yamahata authored
    This patch fixes the following compilation error caused by recursive
    inclusion of kernel.h which defines BUILD_BUG_ON().
    In this case, the case it catches will be caught by the case
    CONFIG_PARAVIRT=n, so removing it would not hurt compile time check
    very much. So fix the breakage by removing it.
    
      CC      arch/ia64/kernel/asm-offsets.s
    In file included from include/linux/bitops.h:17,
                     from include/linux/kernel.h:15,
                     from include/linux/sched.h:52,
                     from arch/ia64/kernel/asm-offsets.c:9:
    arch/ia64/include/asm/bitops.h: In function 'set_bit':
    arch/ia64/include/asm/bitops.h:47: error: implicit declaration of function 'BUILD_BUG_ON'
    Signed-off-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    05f0ecbd
paravirt_privop.h 14.2 KB