kernel_optimize_test/arch/frv
David Howells ea02e3dde3 FRV: work around a possible compiler bug
Work around a possible bug in the FRV compiler.

What appears to be happening is that gcc resolves the
__builtin_constant_p() in kmalloc() to true, but then fails to reduce the
therefore constant conditions in the if-statements it guards to constant
results.

When compiling with -O2 or -Os, one single spurious error crops up in
cpuup_callback() in mm/slab.c.  This can be avoided by making the memsize
variable const.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 10:04:50 -07:00
..
boot [PATCH] sanitize frv archclean 2006-09-22 17:48:56 -07:00
kernel define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
lib [NET]: FRV checksum annotations. 2006-12-02 21:23:03 -08:00
mb93090-mb00 [PATCH] MSI-X: fix resume crash 2007-03-28 13:59:37 -07:00
mm mm: fault feedback #2 2007-07-19 10:04:41 -07:00
defconfig
Kconfig Slab allocators: define common size limitations 2007-05-17 05:23:04 -07:00
Kconfig.debug [PATCH] frv: drop unsupported debugging features 2006-01-08 20:13:36 -08:00
Makefile FRV: work around a possible compiler bug 2007-07-19 10:04:50 -07:00