X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fppc%2Fboot%2Fsimple%2Frelocate.S;fp=arch%2Fppc%2Fboot%2Fsimple%2Frelocate.S;h=555a216ccc4926b2e22292c38926d41c2b23a085;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=0c021556d78e25a822e573aea1d521fd06c0d8e5;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/arch/ppc/boot/simple/relocate.S b/arch/ppc/boot/simple/relocate.S index 0c021556d..555a216cc 100644 --- a/arch/ppc/boot/simple/relocate.S +++ b/arch/ppc/boot/simple/relocate.S @@ -1,4 +1,6 @@ /* + * arch/ppc/boot/simple/relocate.S + * * This is the common part of the loader relocation and initialization * process. All of the board/processor specific initialization is * done before we get here. @@ -13,6 +15,7 @@ * or implied. */ +#include #include #include @@ -193,7 +196,7 @@ start_ldr: /* * Start at the begining. */ -#ifdef CONFIG_PPC_PREP +#ifdef CONFIG_PPC_MULTIPLATFORM li r9,0xc mtlr r9 /* tell kernel we're prep, by putting 0xdeadc0de at KERNELLOAD,