From: Masahiro Yamada Date: Tue, 20 Jan 2015 02:44:26 +0000 (+0100) Subject: ARM: 8290/1: decompressor: fix a wrong comment X-Git-Tag: v4.14-rc1~5964^2~1^4~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d57909bf69f213b4a9f278d78271e7c9a05f62f;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Nicolas Pitre Signed-off-by: Russell King --- diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index 68be901..9dff614 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. */