summaryrefslogtreecommitdiffstats
path: root/arch/avr32/kernel/entry-avr32b.S
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-01-14 21:42:56 +0100
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-06-27 17:48:06 +0200
commitd704fb0cc0cce474ac959adca6c3d1f606fcfa2a (patch)
treed5d700d9b42a7d6bdc9ff3da22c67307ecc80654 /arch/avr32/kernel/entry-avr32b.S
parent5b72b52cab872396c93d808d7fa14017e9061430 (diff)
downloadtalos-obmc-linux-d704fb0cc0cce474ac959adca6c3d1f606fcfa2a.tar.gz
talos-obmc-linux-d704fb0cc0cce474ac959adca6c3d1f606fcfa2a.zip
avr32: Kill special exception handler sections
Kill the special exception handler sections .tlbx.ex.text, .tlbr.ex.text, tlbw.ex.text and .scall.text. Use .org instead to place the handlers at the required offsets from EVBA. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/kernel/entry-avr32b.S')
-rw-r--r--arch/avr32/kernel/entry-avr32b.S9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/avr32/kernel/entry-avr32b.S b/arch/avr32/kernel/entry-avr32b.S
index 5f31702d6b1c..050c006a7f0c 100644
--- a/arch/avr32/kernel/entry-avr32b.S
+++ b/arch/avr32/kernel/entry-avr32b.S
@@ -83,22 +83,23 @@ exception_vectors:
#define tlbmiss_save pushm r0-r3
#define tlbmiss_restore popm r0-r3
- .section .tlbx.ex.text,"ax",@progbits
+ .org 0x50
.global itlb_miss
itlb_miss:
tlbmiss_save
rjmp tlb_miss_common
- .section .tlbr.ex.text,"ax",@progbits
+ .org 0x60
dtlb_miss_read:
tlbmiss_save
rjmp tlb_miss_common
- .section .tlbw.ex.text,"ax",@progbits
+ .org 0x70
dtlb_miss_write:
tlbmiss_save
.global tlb_miss_common
+ .align 2
tlb_miss_common:
mfsr r0, SYSREG_TLBEAR
mfsr r1, SYSREG_PTBR
@@ -157,7 +158,7 @@ handle_vmalloc_miss:
/* --- System Call --- */
- .section .scall.text,"ax",@progbits
+ .org 0x100
system_call:
#ifdef CONFIG_PREEMPT
mask_interrupts
OpenPOWER on IntegriCloud