Re: [patch 15/23] x86/ioapic: Add proper checks to setp/enable_IO_APIC()

2015-01-16 Thread Borislav Petkov
On Thu, Jan 15, 2015 at 09:22:32PM -, Thomas Gleixner wrote: > No point to have the same checks at every call site. Add them to the > functions, so they can be called unconditionally. > > Signed-off-by: Thomas Gleixner Acked-by: Borislav Petkov -- Regards/Gruss, Boris. ECO tip #101:

Re: [patch 15/23] x86/ioapic: Add proper checks to setp/enable_IO_APIC()

2015-01-16 Thread Borislav Petkov
On Thu, Jan 15, 2015 at 09:22:32PM -, Thomas Gleixner wrote: No point to have the same checks at every call site. Add them to the functions, so they can be called unconditionally. Signed-off-by: Thomas Gleixner t...@linutronix.de Acked-by: Borislav Petkov b...@suse.de -- Regards/Gruss,

[patch 15/23] x86/ioapic: Add proper checks to setp/enable_IO_APIC()

2015-01-15 Thread Thomas Gleixner
No point to have the same checks at every call site. Add them to the functions, so they can be called unconditionally. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/apic/io_apic.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) Index: tip/arch/x86/kernel/apic/io_apic.c

[patch 15/23] x86/ioapic: Add proper checks to setp/enable_IO_APIC()

2015-01-15 Thread Thomas Gleixner
No point to have the same checks at every call site. Add them to the functions, so they can be called unconditionally. Signed-off-by: Thomas Gleixner t...@linutronix.de --- arch/x86/kernel/apic/io_apic.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) Index: