x86: irq_pipeline: fix build error
PATCH 1/1 x86: irq_pipeline: fix build error
From: Jan Kiszka <[email protected]>
Signed-off-by Jan Kiszka <[email protected]>
--- arch/x86/kernel/alternative.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/alternative.c +1 -1
@@ -369,7 +369,7 @@ static __always_inline int optimize_nops_range(u8 *instr, u8 instrlen, int off) flags =hard_local_irq_save ();add_nops (instr + off, nnops); -hard_local_irq_restore (); +hard_local_irq_restore (flags);DUMP_BYTES (instr, instrlen,"%px: [%d:%d) optimized NOPs: " , instr, off, i);
Signature · 1 line
2.35.3
Philippe Gerum
AppliedQuoted 12 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Signed-off-by Jan Kiszka <[email protected]>--- arch/x86/kernel/alternative.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/kernel/alternative.c +0
-0
arch/x86/kernel/alternative.c static __always_inline int optimize_nops_range(u8 *instr, u8 instrlen, int off) · line 374
Quoted 7 lines
arch/x86/kernel/alternative.c +1
-1@@ -369,7 +369,7 @@ static __always_inline int optimize_nops_range(u8 *instr, u8 instrlen, int off) flags =hard_local_irq_save ();add_nops (instr + off, nnops); -hard_local_irq_restore (); +hard_local_irq_restore (flags);DUMP_BYTES (instr, instrlen,"%px: [%d:%d) optimized NOPs: " , instr, off, i);
Merged, thanks.
Signature · 1 line
Philippe.