Skip to contentSkip to conversation

arch/arm26/kernel/entry.S: remove dead code

PATCH New Adrian Bunk 1 participant 1 message Jan 18, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/arm26/kernel/entry.S: remove dead code

CONFIG_ALIGNMENT_TRAP is never set on arm26.

---

 arch/arm26/kernel/entry.S |   10 ----------
 1 file changed, 10 deletions(-)
arch/arm26/kernel/entry.S renamed from arch/arm26/kernel/entry.S.old +0 -10
@@ -245,11 +245,6 @@
 	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 @@
 	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)