x86: fix operand modifiers in IRQ_CONNECT()
It's not entirely clear where the '%P' came from, but the proper, documented operand modifier for inserting an immediate value without punctuation is '%c'. Change-Id: I17346a6c70183ce79e91faa2fbe61e7761dfd513 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
853fd133c1
commit
86ad951358
1 changed files with 6 additions and 6 deletions
|
@ -179,15 +179,15 @@ typedef struct s_isrList {
|
||||||
({ \
|
({ \
|
||||||
__asm__ __volatile__( \
|
__asm__ __volatile__( \
|
||||||
".pushsection .intList\n\t" \
|
".pushsection .intList\n\t" \
|
||||||
".long %P[isr]_irq%P[irq]_stub\n\t" /* ISR_LIST.fnc */ \
|
".long %c[isr]_irq%c[irq]_stub\n\t" /* ISR_LIST.fnc */ \
|
||||||
".long %P[irq]\n\t" /* ISR_LIST.irq */ \
|
".long %c[irq]\n\t" /* ISR_LIST.irq */ \
|
||||||
".long %P[priority]\n\t" /* ISR_LIST.priority */ \
|
".long %c[priority]\n\t" /* ISR_LIST.priority */ \
|
||||||
".long %P[vector]\n\t" /* ISR_LIST.vec */ \
|
".long %c[vector]\n\t" /* ISR_LIST.vec */ \
|
||||||
".long 0\n\t" /* ISR_LIST.dpl */ \
|
".long 0\n\t" /* ISR_LIST.dpl */ \
|
||||||
".popsection\n\t" \
|
".popsection\n\t" \
|
||||||
".pushsection .text.irqstubs\n\t" \
|
".pushsection .text.irqstubs\n\t" \
|
||||||
".global %P[isr]_irq%P[irq]_stub\n\t" \
|
".global %c[isr]_irq%c[irq]_stub\n\t" \
|
||||||
"%P[isr]_irq%P[irq]_stub:\n\t" \
|
"%c[isr]_irq%c[irq]_stub:\n\t" \
|
||||||
"pushl %[isr_param]\n\t" \
|
"pushl %[isr_param]\n\t" \
|
||||||
"pushl %[isr]\n\t" \
|
"pushl %[isr]\n\t" \
|
||||||
"jmp _interrupt_enter\n\t" \
|
"jmp _interrupt_enter\n\t" \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue