diff options
author | Kevin Cernekee <kpc.mtd@gmail.com> | 2009-04-09 01:52:28 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-05-29 10:13:47 -0400 |
commit | 0dc54e9f33e2fbcea28356bc2c8c931cb307d3b3 (patch) | |
tree | c358aa55f18745b12fb9d62629289291b8a80c0b /fs/compat_ioctl.c | |
parent | 19fe7f1a00023d2aa97617655b7ea56eb72f4db8 (diff) |
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>
Diffstat (limited to 'fs/compat_ioctl.c')
-rw-r--r-- | fs/compat_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index b83f6bcfa51a..c603ca2c223a 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -2441,6 +2441,7 @@ COMPATIBLE_IOCTL(MEMGETREGIONCOUNT) | |||
2441 | COMPATIBLE_IOCTL(MEMGETREGIONINFO) | 2441 | COMPATIBLE_IOCTL(MEMGETREGIONINFO) |
2442 | COMPATIBLE_IOCTL(MEMGETBADBLOCK) | 2442 | COMPATIBLE_IOCTL(MEMGETBADBLOCK) |
2443 | COMPATIBLE_IOCTL(MEMSETBADBLOCK) | 2443 | COMPATIBLE_IOCTL(MEMSETBADBLOCK) |
2444 | COMPATIBLE_IOCTL(MEMERASE64) | ||
2444 | /* NBD */ | 2445 | /* NBD */ |
2445 | ULONG_IOCTL(NBD_SET_SOCK) | 2446 | ULONG_IOCTL(NBD_SET_SOCK) |
2446 | ULONG_IOCTL(NBD_SET_BLKSIZE) | 2447 | ULONG_IOCTL(NBD_SET_BLKSIZE) |