-
- Downloads
x86: Sanitize smp_record and move it to x86_init_ops
The x86 quirkification introduced an extra ugly hackery with a
variable pointer in the mpparse code. If the pointer is initialized
then it is dereferenced and the variable set to 0 or incremented.
Create a x86_init_ops function and let the affected numaq code
hold the function. Default init is a setup noop.
Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
Showing
- arch/x86/include/asm/setup.h 0 additions, 1 deletionarch/x86/include/asm/setup.h
- arch/x86/include/asm/x86_init.h 11 additions, 1 deletionarch/x86/include/asm/x86_init.h
- arch/x86/kernel/apic/numaq_32.c 16 additions, 3 deletionsarch/x86/kernel/apic/numaq_32.c
- arch/x86/kernel/mpparse.c 2 additions, 4 deletionsarch/x86/kernel/mpparse.c
- arch/x86/kernel/x86_init.c 5 additions, 0 deletionsarch/x86/kernel/x86_init.c
Please register or sign in to comment