LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] arch/arm26/kernel/entry.S: remove dead code
@ 2007-02-20  0:06 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-02-20  0:06 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, spyro

CONFIG_ALIGNMENT_TRAP is never set on arm26.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Ian Molton <spyro@f2s.com>

---

This patch was already sent on:
- 18 Jan 2007

 arch/arm26/kernel/entry.S |   10 ----------
 1 file changed, 10 deletions(-)

--- linux-2.6.20-rc4-mm1/arch/arm26/kernel/entry.S.old	2007-01-18 22:08:51.000000000 +0100
+++ linux-2.6.20-rc4-mm1/arch/arm26/kernel/entry.S	2007-01-18 22:09:12.000000000 +0100
@@ -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)

k

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [2.6 patch] arch/arm26/kernel/entry.S: remove dead code
@ 2007-01-18 21:10 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-01-18 21:10 UTC (permalink / raw)
  To: spyro; +Cc: linux-kernel

CONFIG_ALIGNMENT_TRAP is never set on arm26.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 arch/arm26/kernel/entry.S |   10 ----------
 1 file changed, 10 deletions(-)

--- linux-2.6.20-rc4-mm1/arch/arm26/kernel/entry.S.old	2007-01-18 22:08:51.000000000 +0100
+++ linux-2.6.20-rc4-mm1/arch/arm26/kernel/entry.S	2007-01-18 22:09:12.000000000 +0100
@@ -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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-20  0:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20  0:06 [2.6 patch] arch/arm26/kernel/entry.S: remove dead code Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2007-01-18 21:10 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).