diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-18 19:03:04 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 14:20:12 +0100 |
commit | 967d1f90625ed9c1ab205d3f738fedf9d852e1fd (patch) | |
tree | b21c7da43e181eee150db89e3eebec083b3b1c2c /kernel/ksysfs.c | |
parent | kernel: fix several implicit usasges of kmod.h (diff) | |
download | linux-967d1f90625ed9c1ab205d3f738fedf9d852e1fd.tar.xz linux-967d1f90625ed9c1ab205d3f738fedf9d852e1fd.zip |
kernel: fix two implicit header assumptions in irq_work.c
Up until now, this file was getting percpu.h because nearly every
file was implicitly getting module.h (and all its sub-includes).
But we want to clean that up, so call out percpu.h explicitly.
Otherwise we'll get things like this on an ARM build:
kernel/irq_work.c:48: error: expected declaration specifiers or '...' before 'irq_work_list'
kernel/irq_work.c:48: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU'
The same thing was happening for builds on ARM for asm/processor.h
kernel/irq_work.c: In function 'irq_work_sync':
kernel/irq_work.c:166: error: implicit declaration of function 'cpu_relax'
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions