diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-16 18:06:55 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-18 14:27:41 +0200 |
commit | f429b2ea8eadb5a576542a70f7fd6f5c2a7455e1 (patch) | |
tree | 6ab9541042979cc7bdcb0257dfdd6435577ad3a8 /kernel | |
parent | 4d187a88d3ee3be6a1a0b6859eb00f70e1601b5e (diff) | |
download | op-kernel-dev-f429b2ea8eadb5a576542a70f7fd6f5c2a7455e1.zip op-kernel-dev-f429b2ea8eadb5a576542a70f7fd6f5c2a7455e1.tar.gz |
UBI: add ioctl compatibility
UBI ioctl's do not work when running 64-bit kernel and 32-bit
user-land. Fix this by adding the compat_ioctl method.
Also, UBI serializes all ioctls, so more than one ioctl at a time
is not a problem. Amd UBI does not seem to depend on anything else,
so use unlocked_ioctl instead of ioctl (no BKL needed).
Reported-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions