Re: [PATCH] x86, traps: early_trap_init() cleanup.

2015-02-27 Thread Borislav Petkov
On Fri, Feb 27, 2015 at 11:28:50AM +0800, Wang Nan wrote: > As early_trap_init() doesn't use IST, replace set_intr_gate_ist(..., 0) > and set_system_intr_gate_ist(..., 0) with their standard counterparts. > > set_intr_gate() requires a trace_debug symbol which we don't have and > won't use. Use a

[PATCH] x86, traps: early_trap_init() cleanup.

2015-02-26 Thread Wang Nan
As early_trap_init() doesn't use IST, replace set_intr_gate_ist(..., 0) and set_system_intr_gate_ist(..., 0) with their standard counterparts. set_intr_gate() requires a trace_debug symbol which we don't have and won't use. Use a small macro trick as a workaround. Signed-off-by: Wang Nan --- Hi