[POWERPC] disabling CONFIG_BUG breaks kernel compile

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Keri Harris
Date: Saturday, May 31, 2008 - 9:23 pm

A 'make randconfig' of the latest linux-next on powerpc caught a buglet where
disabling CONFIG_BUG on powerpc breaks the kernel compile:

  CC      arch/powerpc/kernel/module_32.o
arch/powerpc/kernel/module_32.c: In function 'module_find_bug':
arch/powerpc/kernel/module_32.c:377: error: increment of pointer to unknown structure
arch/powerpc/kernel/module_32.c:377: error: arithmetic on pointer to an incomplete type
arch/powerpc/kernel/module_32.c:378: error: dereferencing pointer to incomplete type
make[1]: *** [arch/powerpc/kernel/module_32.o] Error 1

A quick grep of 'bug_entry' through the powerpc code seems to indicate this
also affects arch/powerpc/kernel/module_64.c and arch/powerpc/xmon.c.

Thanks,

Keri
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[POWERPC] disabling CONFIG_BUG breaks kernel compile, Keri Harris, (Sat May 31, 9:23 pm)