1
linux/arch/powerpc
Michael Ellerman 5c02cd2fb8 [POWERPC] Discourage people from fiddling with kernel data from prom_init
As BenH said the other day, it is an "accident" that prom_init.o is
linked with the rest of the kernel.  The truth is a little more
subtle, prom_init isn't truly bootloader, it does access kernel data
in a few places.

What we can do is discourage people from adding new code that accesses
data outside of prom_init.  And hence this patch; from the script:

 # This script checks prom_init.o to see what external symbols it
 # is using, if it finds symbols not in the whitelist it returns
 # an error. The point of this is to discourage people from
 # intentionally or accidentally adding new code to prom_init.c
 # which has side effects on other parts of the kernel.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-24 20:58:03 +10:00
..
boot [POWERPC] 85xx: Fix the size of qe muram for MPC8568E 2008-04-17 09:52:18 -05:00
configs [POWERPC] 83xx: Enable FCM NAND and OF partitions in defconfig 2008-04-17 01:01:41 -05:00
kernel [POWERPC] Discourage people from fiddling with kernel data from prom_init 2008-04-24 20:58:03 +10:00
lib [POWERPC] Make rheap safe for spinlocks 2008-04-17 09:50:38 -05:00
math-emu [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
mm [POWERPC] Clean up access to thread_info in assembly 2008-04-24 20:58:02 +10:00
oprofile Merge branch 'linux-2.6' 2008-04-14 21:11:02 +10:00
platforms [POWERPC] Add include of linux/of.h to os-area.c 2008-04-24 20:57:33 +10:00
sysdev [POWERPC] Fix mv64x60 early console code to use cell-index property 2008-04-24 20:57:34 +10:00
xmon [POWERPC] Move stackframe definitions to common header 2008-04-18 15:37:18 +10:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Port fixmap from x86 and use for kmap_atomic 2008-04-24 20:58:02 +10:00
Kconfig.debug [POWERPC] cpm-serial: Relocate CPM buffer descriptors and SMC parameter ram. 2008-04-17 01:01:37 -05:00
Makefile [POWERPC] Provide access to arch/powerpc include path on ppc64 2008-04-17 07:46:12 +10:00