diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-01-19 21:44:26 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-01-21 10:59:34 -0500 |
commit | 7d57909bf69f213b4a9f278d78271e7c9a05f62f (patch) | |
tree | d17c16a463aea6c37eab078d892352e5c1284c6a | |
parent | 99a468d779f6851a31053e6a33bf91391034010b (diff) |
ARM: 8290/1: decompressor: fix a wrong comment
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>
-rw-r--r-- | arch/arm/boot/compressed/head.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index 68be9017593d..9dff61479dff 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S | |||
@@ -178,7 +178,7 @@ not_angel: | |||
178 | 178 | ||
179 | /* | 179 | /* |
180 | * Set up a page table only if it won't overwrite ourself. | 180 | * Set up a page table only if it won't overwrite ourself. |
181 | * That means r4 < pc && r4 - 16k page directory > &_end. | 181 | * That means r4 < pc || r4 - 16k page directory > &_end. |
182 | * Given that r4 > &_end is most unfrequent, we add a rough | 182 | * Given that r4 > &_end is most unfrequent, we add a rough |
183 | * additional 1MB of room for a possible appended DTB. | 183 | * additional 1MB of room for a possible appended DTB. |
184 | */ | 184 | */ |