arch/s390/include/asm/mmu_context.h:111:0: warning:
A message that is not in the archive (sent off-list or not yet received): 20171208070523.5c225699@mschwideX1
Quoted 18 lines · Martin Schwidefsky
Quoted 18 lines · Sergey Senozhatsky
Quoted 15 lines · kbuild test robot
Quoted 13 lines
All warnings (new ones prefixed by >>):
In file included from arch/s390/include/asm/elf.h:141:0, from include/linux/elf.h:5, from include/linux/module.h:15, from include/linux/kallsyms.h:13, from kernel//sched/autogroup.c:6:Quoted 1 line
Quoted 1 line
arch/s390/include/asm/mmu_context.h:111:0: warning: "finish_arch_post_lock_switch" redefined#define finish_arch_post_lock_switch finish_arch_post_lock_switchIn file included from
kernel//sched/autogroup.c:2:0:
kernel//sched/sched.h:1328:0: note: this is the location of the previous definition# define finish_arch_post_lock_switch() do { } while (0)
Quoted 5 lines
Quoted 1 line
any chance you can help us out?
Move the include of "
sched.h" inautogroup.cafter all the other includes. For the #ifndef insched.hto work the arch specific definition inmmu_context.hneeds to be seen first.
yes, makes sense. care to submit a patch?
for now on I sent out a patch that removes the problematic kallsyms.h include from autogroup.c, it doesn't need it anyway. but I agree that that shed.h include [I didn't even notice it until you pointed that out] better be the last one, indeed.
-ss