aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorHugh Dickins <[email protected]>2013-03-08 12:43:34 -0800
committerLinus Torvalds <[email protected]>2013-03-08 15:05:34 -0800
commitd8fc16a825eb7780db71268a8502fb3e6af95753 (patch)
tree642a6641bd837b5c7125875f1df3ea378b61d701 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parenta40e7cf8f06b4e322ba902e4e9f6a6b0c2daa907 (diff)
ksm: fix m68k build: only NUMA needs pfn_to_nid
A CONFIG_DISCONTIGMEM=y m68k config gave mm/ksm.c: In function `get_kpfn_nid': mm/ksm.c:492: error: implicit declaration of function `pfn_to_nid' linux/mmzone.h declares it for CONFIG_SPARSEMEM and CONFIG_FLATMEM, but expects the arch's asm/mmzone.h to declare it for CONFIG_DISCONTIGMEM (see arch/mips/include/asm/mmzone.h for example). Or perhaps it is only expected when CONFIG_NUMA=y: too much of a maze, and m68k got away without it so far, so fix the build in mm/ksm.c. Signed-off-by: Hugh Dickins <[email protected]> Reported-by: Geert Uytterhoeven <[email protected]> Cc: Petr Holasek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions