]> 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>
Wed, 20 Feb 2013 02:14:40 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:47 +0000 (16:52 +1100)
commita13c7508353e47d494b0a6e3737be9c303269b6a
treee9ba4c0c3ab60b8ba071b132ac6877c1a602f6da
parent2d097b2c1cdd7c901fb57dd68acc85209eabd557
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