Fix for arm and mips case the size of storage for sintrcnt/sintrnames.
It seems that "info as" is not much precise on what expect by pseudo-op .word, by the way. No MFC is previewed for this patch. Tested by: andreast, pluknet Approved by: re (kib)
This commit is contained in:
parent
2b5bf115ae
commit
5bfc249c2c
@ -109,9 +109,9 @@ _C_LABEL(intrnames):
|
||||
_C_LABEL(intrcnt):
|
||||
.space NIRQ * 4
|
||||
_C_LABEL(sintrnames):
|
||||
.word NIRQ * (MAXCOMLEN + 1)
|
||||
.int NIRQ * (MAXCOMLEN + 1)
|
||||
_C_LABEL(sintrcnt):
|
||||
.word NIRQ * 4
|
||||
.int NIRQ * 4
|
||||
|
||||
.global _C_LABEL(current_intr_depth)
|
||||
_C_LABEL(current_intr_depth):
|
||||
|
@ -122,7 +122,7 @@ ENTRY(sa11x0_activateirqs)
|
||||
.global _C_LABEL(intrnames), _C_LABEL(sintrnames)
|
||||
_C_LABEL(intrnames):
|
||||
_C_LABEL(sintrnames):
|
||||
.word 0
|
||||
.int 0
|
||||
|
||||
.globl _C_LABEL(intrcnt), _C_LABEL(sintrcnt)
|
||||
|
||||
|
@ -1143,7 +1143,7 @@ sintrnames:
|
||||
#ifdef __mips_n64
|
||||
.quad INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
|
||||
#else
|
||||
.word INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
|
||||
.int INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
|
||||
#endif
|
||||
|
||||
.align 4
|
||||
@ -1153,7 +1153,7 @@ sintrcnt:
|
||||
#ifdef __mips_n64
|
||||
.quad INTRCNT_COUNT * 4 * 2
|
||||
#else
|
||||
.word INTRCNT_COUNT * 4 * 2
|
||||
.int INTRCNT_COUNT * 4 * 2
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user