[PATCH] Fix for CONFIG_NUMA without CONFIG_SWAP
authorChristoph Lameter <clameter@engr.sgi.com>
Sat, 14 Jan 2006 21:20:46 +0000 (13:20 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 15 Jan 2006 02:27:07 +0000 (18:27 -0800)
commit852cf918dcf2ae46468b425e679fbcbf0ea8fdbb
tree7605fd255442fc6301c9e96b8aa7a01bc2dcc0e2
parenteed6565f70ce3fc958e5a3483c48fc4a8e111bdc
[PATCH] Fix for CONFIG_NUMA without CONFIG_SWAP

Some people apparently run CONFIG_NUMA without CONFIG_SWAP.  The migration
code currently depends on swap.  This patch provides a set of inline
fallback functions so that the kernel properly compiles.  However, calls to
migration functions will fail.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/swap.h