[PATCH] ppc64: remove hidden -fno-omit-frame-pointer for schedule.c
authorAnton Blanchard <anton@samba.org>
Thu, 5 May 2005 23:15:11 +0000 (16:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:32 +0000 (16:36 -0700)
commit7d12e522ba13ce718b7ec32b75803dece8adb072
tree80282ac789c1d48202a570b5828b024f39e63761
parent696c2b9f97c2439e9fb299650041ec750df46865
[PATCH] ppc64: remove hidden -fno-omit-frame-pointer for schedule.c

While looking at code generated by gcc4.0 I noticed some functions still
had frame pointers, even after we stopped ppc64 from defining
CONFIG_FRAME_POINTER.  It turns out kernel/Makefile hardwires
-fno-omit-frame-pointer on when compiling schedule.c.

Create CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER and define it on architectures
that dont require frame pointers in sched.c code.

(akpm: blame me for the name)

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/Kconfig
arch/ppc/Kconfig
arch/ppc64/Kconfig
kernel/Makefile