]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Clean up some linker and symbol usage
authorKumar Gala <galak@kernel.crashing.org>
Tue, 15 Apr 2008 19:52:26 +0000 (05:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 16 Apr 2008 21:46:13 +0000 (07:46 +1000)
commit79bc5fbe5d238103b1e8c3658905189872723897
tree42ad389b154de5e498dd6dfde6d710d748a536cf
parentd95107fe134e70686ccdc80119c674a5aec5e254
[POWERPC] Clean up some linker and symbol usage

* PAGE_OFFSET is not always the start of code, use _stext instead.
* grab PAGE_SIZE and KERNELBASE from asm/page.h like ppc64 does.  Makes the
  code a bit more common and provide a single place to manipulate the
  defines for things like kdump.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_64.c
arch/powerpc/kernel/vmlinux.lds.S