[2.6 patch] arch/arm26/kernel/entry.S: remove dead code

2007-02-19 Thread Adrian Bunk
CONFIG_ALIGNMENT_TRAP is never set on arm26.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Acked-by: Ian Molton <[EMAIL PROTECTED]>

---

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.0 +0100
+++ linux-2.6.20-rc4-mm1/arch/arm26/kernel/entry.S  2007-01-18 
22:09:12.0 +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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[2.6 patch] arch/arm26/kernel/entry.S: remove dead code

2007-01-18 Thread Adrian Bunk
CONFIG_ALIGNMENT_TRAP is never set on arm26.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

---

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/