]> git.karo-electronics.de Git - karo-tx-linux.git/commit
swap: fix "add per-partition lock for swapfile" for nommu
authorArnd Bergmann <arnd@arndb.de>
Thu, 7 Feb 2013 01:26:52 +0000 (12:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:42 +0000 (16:46 +1100)
commitc2efc4b172c48972b230eb02ba88cb4004c30e28
treebc0dcfd41a83bfe7e547f586f509c350062195ad
parent9ce971bb97f9f01270655a8f65060be9442d4165
swap: fix "add per-partition lock for swapfile" for nommu

The patch "swap: add per-partition lock for swapfile" made the
nr_swap_pages variable unaccessible but forgot to change the
mm/nommu.c file that uses it. This does the trivial conversion
to let us build nommu kernels again

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Shaohua Li <shli@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/nommu.c