summaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2010-08-03 18:10:12 +0200
committerJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 13:02:31 +0200
commitac93f62179ecb82739ab7c76857c4ae44e0cb83f (patch)
tree8d6fdaafe9695453324a035737c9ae4d905b8856 /arch/cris/arch-v32
parent7ec280c52ca5aa1448cd16ae77dd44755413db2b (diff)
downloadlinux-ac93f62179ecb82739ab7c76857c4ae44e0cb83f.tar.gz
linux-ac93f62179ecb82739ab7c76857c4ae44e0cb83f.tar.bz2
linux-ac93f62179ecb82739ab7c76857c4ae44e0cb83f.zip
CRIS: Add debug for assembler macros
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/arch-v32')
-rw-r--r--arch/cris/arch-v32/mm/mmu.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/cris/arch-v32/mm/mmu.S b/arch/cris/arch-v32/mm/mmu.S
index f125d912e140..72727c1d8e60 100644
--- a/arch/cris/arch-v32/mm/mmu.S
+++ b/arch/cris/arch-v32/mm/mmu.S
@@ -38,6 +38,7 @@
; to handle the fault.
.macro MMU_BUS_FAULT_HANDLER handler, mmu, we, ex
.globl \handler
+ .type \handler,"function"
\handler:
SAVE_ALL
move \mmu, $srs ; Select MMU support register bank
@@ -52,6 +53,7 @@
nop
ba ret_from_intr
nop
+ .size \handler, . - \handler
.endm
; Refill handler. Three cases may occur:
@@ -84,6 +86,7 @@
2: .dword 0 ; last_refill_cause
.text
.globl \handler
+ .type \handler, "function"
\handler:
subq 4, $sp
; (The pipeline stalls for one cycle; $sp used as address in the next cycle.)
@@ -196,6 +199,7 @@
; Return
ba ret_from_intr
nop
+ .size \handler, . - \handler
.endm
; This is the MMU bus fault handlers.