summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorHeiko Carstens2011-03-23 08:24:58 +0100
committerLinus Torvalds2011-03-23 15:48:42 +0100
commit04948c7f80b9446009c1c4791bb93e79729724fb (patch)
tree3ee9859148561fdf7cb4f52afe17db594104ea83 /mm/swapfile.c
parentMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/asy... (diff)
downloadkernel-qcow2-linux-04948c7f80b9446009c1c4791bb93e79729724fb.tar.gz
kernel-qcow2-linux-04948c7f80b9446009c1c4791bb93e79729724fb.tar.xz
kernel-qcow2-linux-04948c7f80b9446009c1c4791bb93e79729724fb.zip
smp: add missing init.h include
Commit 34db18a054c6 ("smp: move smp setup functions to kernel/smp.c") causes this build error on s390 because of a missing init.h include: CC arch/s390/kernel/asm-offsets.s In file included from /home2/heicarst/linux-2.6/arch/s390/include/asm/spinlock.h:14:0, from include/linux/spinlock.h:87, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:56, from include/linux/sched.h:57, from arch/s390/kernel/asm-offsets.c:10: include/linux/smp.h:117:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_nr_cpu_ids' include/linux/smp.h:118:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'smp_init' Fix it by adding the include statement. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Acked-by: WANG Cong <amwang@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions