diff options
Diffstat (limited to 'arch/powerpc/boot/simpleboot.c')
-rw-r--r-- | arch/powerpc/boot/simpleboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/simpleboot.c b/arch/powerpc/boot/simpleboot.c index 21cd48074ec8..9f8c678f0d9a 100644 --- a/arch/powerpc/boot/simpleboot.c +++ b/arch/powerpc/boot/simpleboot.c | |||
@@ -61,7 +61,7 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
61 | if (*reg++ != 0) | 61 | if (*reg++ != 0) |
62 | fatal("Memory range is not based at address 0\n"); | 62 | fatal("Memory range is not based at address 0\n"); |
63 | 63 | ||
64 | /* get the memsize and trucate it to under 4G on 32 bit machines */ | 64 | /* get the memsize and truncate it to under 4G on 32 bit machines */ |
65 | memsize64 = 0; | 65 | memsize64 = 0; |
66 | for (i = 0; i < *ns; i++) | 66 | for (i = 0; i < *ns; i++) |
67 | memsize64 = (memsize64 << 32) | *reg++; | 67 | memsize64 = (memsize64 << 32) | *reg++; |