diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-01-20 05:44:26 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-01-21 18:59:34 +0300 |
commit | 7d57909bf69f213b4a9f278d78271e7c9a05f62f (patch) | |
tree | d17c16a463aea6c37eab078d892352e5c1284c6a /arch/arm/boot/compressed | |
parent | 99a468d779f6851a31053e6a33bf91391034010b (diff) | |
download | linux-7d57909bf69f213b4a9f278d78271e7c9a05f62f.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/compressed')
-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: /* * 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. */ |