mtd: add MEMERASE64 ioctl for >4GiB devices
authorKevin Cernekee <kpc.mtd@gmail.com>
Thu, 9 Apr 2009 05:52:28 +0000 (22:52 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 29 May 2009 14:13:47 +0000 (15:13 +0100)
commit0dc54e9f33e2fbcea28356bc2c8c931cb307d3b3
treec358aa55f18745b12fb9d62629289291b8a80c0b
parent19fe7f1a00023d2aa97617655b7ea56eb72f4db8
mtd: add MEMERASE64 ioctl for >4GiB devices

New MEMERASE/MEMREADOOB/MEMWRITEOOB ioctls are needed in order to support
64-bit offsets into large NAND flash devices.

Signed-off-by: Kevin Cernekee <kpc.mtd@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdchar.c
fs/compat_ioctl.c
include/mtd/mtd-abi.h