summaryrefslogtreecommitdiff
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-06-04 17:12:26 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-11-12 08:32:32 +0100
commitf8f9608d9b7a5b3349605284a4f3876e898413f1 (patch)
tree30f2525e4aa2a0822486d17bad356b90423d7478 /mm/swap_state.c
parentd970a0730ba5598b711d42bac287a17db5b6268a (diff)
downloadlinux-next-f8f9608d9b7a5b3349605284a4f3876e898413f1.tar.gz
mxc nand: use buffers
The NAND controller has some limitations how to access the internal buffers. It only allows 32 bit accesses. The driver used to work around this by having special alignment aware copy routines. We now copy the whole page to a buffer in memory and let the access functions use this buffer. This simplifies the driver. A bonnie++ test showed that this has no negative performance impact on the driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions