diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-08-26 20:32:29 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-26 20:32:29 -0700 |
| commit | b04f69c9020dd07efce81eac79b2ed4f6b9d8bb5 (patch) | |
| tree | a4f55ea55511c67847e64e087b6b70336e98e445 /fs | |
| parent | 94ebcd446a9e9d20a0cb15f9c5f35df0736b084c (diff) | |
[PATCH] [un]register_ioctl32_conversion() stubs
The megaraid driver is calling these, but they don't exist if !CONFIG_COMPAT.
Add the necessary stubs, and clean a few things up.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/compat.c b/fs/compat.c index 7f471d7aa9c7..919a95f37c91 100644 --- a/fs/compat.c +++ b/fs/compat.c @@ -291,8 +291,8 @@ static int __init init_sys32_ioctl(void) __initcall(init_sys32_ioctl); -int register_ioctl32_conversion(unsigned int cmd, int (*handler)(unsigned int, - unsigned int, unsigned long, struct file *)) +int register_ioctl32_conversion(unsigned int cmd, + ioctl_trans_handler_t handler) { struct ioctl_trans *t; struct ioctl_trans *new_t; |
