[PATCH 4.10 51/62] MIPS: Avoid BUG warning in arch_check_elf

2017-05-01 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: James Cowgill commit c46f59e90226fa5bfcc83650edebe84ae47d454b upstream. arch_check_elf contains a usage of current_cpu_data that will call smp_processor_id() with

[PATCH 4.10 51/62] MIPS: Avoid BUG warning in arch_check_elf

2017-05-01 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: James Cowgill commit c46f59e90226fa5bfcc83650edebe84ae47d454b upstream. arch_check_elf contains a usage of current_cpu_data that will call smp_processor_id() with preemption enabled and