OSDN Git Service

ARM: 8290/1: decompressor: fix a wrong comment
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 20 Jan 2015 02:44:26 +0000 (03:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 21 Jan 2015 15:59:34 +0000 (15:59 +0000)
This comment does not correspond to the actual code.

When zImage is loaded at a lower *OR* higher address of
the destination of Image, it won't overwrite itself.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/boot/compressed/head.S

index 68be901..9dff614 100644 (file)
@@ -178,7 +178,7 @@ not_angel:
 
                /*
                 * Set up a page table only if it won't overwrite ourself.
-                * That means r4 < pc && r4 - 16k page directory > &_end.
+                * That means r4 < pc || r4 - 16k page directory > &_end.
                 * Given that r4 > &_end is most unfrequent, we add a rough
                 * additional 1MB of room for a possible appended DTB.
                 */