From: Mike Frysinger Date: Tue, 18 Nov 2008 09:48:22 +0000 (+0800) Subject: Blackfin arch: do not bother initializing the first 4k X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9f20cf2527fdbd5ee942ac87acff253d391b162f;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Blackfin arch: do not bother initializing the first 4k our kernel should be sane now, and we want to catch NULL bugs, not ignore them Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu --- diff --git a/arch/blackfin/mach-common/head.S b/arch/blackfin/mach-common/head.S index 29cd01987c3..c1dcaebbd3a 100644 --- a/arch/blackfin/mach-common/head.S +++ b/arch/blackfin/mach-common/head.S @@ -244,18 +244,6 @@ ENTRY(_real_start) r2.h = ___bss_stop; call __init_clear_bss - /* In case there is a NULL pointer reference, - * zero out region before stext - */ - p1 = r0; - r2.l = __stext; - r2.h = __stext; - r2 >>= 2; - p2 = r2; - lsetup (.L_clear_zero, .L_clear_zero) lc0 = p2; -.L_clear_zero: - [p1++] = r0; - /* Pass the u-boot arguments to the global value command line */ R0 = R7; call _cmdline_init;