summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAtsushi Nemoto2006-03-10 02:33:38 +0100
committerLinus Torvalds2006-03-10 04:47:37 +0100
commit0ef675d491bd65028fa838015ebc6ce8abefab6f (patch)
tree8a2074152fceef8384b2276f4e06a05f9efbe969 /include
parent[PATCH] alpha: fix IRQ handling lockup (diff)
downloadkernel-qcow2-linux-0ef675d491bd65028fa838015ebc6ce8abefab6f.tar.gz
kernel-qcow2-linux-0ef675d491bd65028fa838015ebc6ce8abefab6f.tar.xz
kernel-qcow2-linux-0ef675d491bd65028fa838015ebc6ce8abefab6f.zip
[PATCH] mtd: 64 bit fixes
Fix some bugs in mtd/jffs2 on 64bit platform. The MEMGETBADBLOCK/MEMSETBADBLOCK ioctl are not listed in compat_ioctl.h. And some variables in jffs2 are declared as uint32_t but used to hold size_t values. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Cc: Thomas Gleixner <tglx@linutronix.de> Acked-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/compat_ioctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/compat_ioctl.h b/include/linux/compat_ioctl.h
index 8fad50f8e389..ae7dfb790df3 100644
--- a/include/linux/compat_ioctl.h
+++ b/include/linux/compat_ioctl.h
@@ -696,6 +696,8 @@ COMPATIBLE_IOCTL(MEMLOCK)
COMPATIBLE_IOCTL(MEMUNLOCK)
COMPATIBLE_IOCTL(MEMGETREGIONCOUNT)
COMPATIBLE_IOCTL(MEMGETREGIONINFO)
+COMPATIBLE_IOCTL(MEMGETBADBLOCK)
+COMPATIBLE_IOCTL(MEMSETBADBLOCK)
/* NBD */
ULONG_IOCTL(NBD_SET_SOCK)
ULONG_IOCTL(NBD_SET_BLKSIZE)