Commit ac93f62179ecb82739ab7c76857c4ae44e0cb83f
1 parent
7ec280c52c
Exists in
master
and in
4 other branches
CRIS: Add debug for assembler macros
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
arch/cris/arch-v32/mm/mmu.S
... | ... | @@ -38,6 +38,7 @@ |
38 | 38 | ; to handle the fault. |
39 | 39 | .macro MMU_BUS_FAULT_HANDLER handler, mmu, we, ex |
40 | 40 | .globl \handler |
41 | + .type \handler,"function" | |
41 | 42 | \handler: |
42 | 43 | SAVE_ALL |
43 | 44 | move \mmu, $srs ; Select MMU support register bank |
... | ... | @@ -52,6 +53,7 @@ |
52 | 53 | nop |
53 | 54 | ba ret_from_intr |
54 | 55 | nop |
56 | + .size \handler, . - \handler | |
55 | 57 | .endm |
56 | 58 | |
57 | 59 | ; Refill handler. Three cases may occur: |
... | ... | @@ -84,6 +86,7 @@ |
84 | 86 | 2: .dword 0 ; last_refill_cause |
85 | 87 | .text |
86 | 88 | .globl \handler |
89 | + .type \handler, "function" | |
87 | 90 | \handler: |
88 | 91 | subq 4, $sp |
89 | 92 | ; (The pipeline stalls for one cycle; $sp used as address in the next cycle.) |
... | ... | @@ -196,6 +199,7 @@ |
196 | 199 | ; Return |
197 | 200 | ba ret_from_intr |
198 | 201 | nop |
202 | + .size \handler, . - \handler | |
199 | 203 | .endm |
200 | 204 | |
201 | 205 | ; This is the MMU bus fault handlers. |