Skip to content

Commit

Permalink
[PATCH] arch/arm26/kernel/entry.S: remove dead code
Browse files Browse the repository at this point in the history
CONFIG_ALIGNMENT_TRAP is never set on arm26.

Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Ian Molton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and Linus Torvalds committed Mar 1, 2007
1 parent 2ff7354 commit 5357fc1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions arch/arm26/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 5357fc1

Please sign in to comment.