From: Adrian Bunk Date: Thu, 1 Mar 2007 04:10:58 +0000 (-0800) Subject: [PATCH] arch/arm26/kernel/entry.S: remove dead code X-Git-Tag: upstream/snapshot3+hdmi~35636 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5357fc1450bda771a4a57b82f83c14ca9f5b9221;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [PATCH] arch/arm26/kernel/entry.S: remove dead code CONFIG_ALIGNMENT_TRAP is never set on arm26. Signed-off-by: Adrian Bunk Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/arm26/kernel/entry.S b/arch/arm26/kernel/entry.S index 6d910ea..91496cc 100644 --- a/arch/arm26/kernel/entry.S +++ b/arch/arm26/kernel/entry.S @@ -245,11 +245,6 @@ ENTRY(vector_swi) zero_fp get_scno -#ifdef CONFIG_ALIGNMENT_TRAP - ldr ip, __cr_alignment - ldr ip, [ip] - mcr p15, 0, ip, c1, c0 @ update control register -#endif enable_irqs ip str r4, [sp, #-S_OFF]! @ push fifth arg @@ -299,11 +294,6 @@ __sys_trace_return: b ret_slow_syscall .align 5 -#ifdef CONFIG_ALIGNMENT_TRAP - .type __cr_alignment, #object -__cr_alignment: - .word cr_alignment -#endif .type sys_call_table, #object ENTRY(sys_call_table)