OSDN Git Service

powerpc/simpleboot: fix comment
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 29 Jun 2014 10:21:36 +0000 (12:21 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 26 Aug 2014 07:35:57 +0000 (09:35 +0200)
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/powerpc/boot/simpleboot.c

index 21cd480..9f8c678 100644 (file)
@@ -61,7 +61,7 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
                if (*reg++ != 0)
                        fatal("Memory range is not based at address 0\n");
 
-       /* get the memsize and trucate it to under 4G on 32 bit machines */
+       /* get the memsize and truncate it to under 4G on 32 bit machines */
        memsize64 = 0;
        for (i = 0; i < *ns; i++)
                memsize64 = (memsize64 << 32) | *reg++;