Re: cciss update for 2.6.7-rc1

From: Andi Kleen
Date: Fri Jun 04 2004 - 17:00:57 EST


mikem@xxxxxxxxxxxxxxxxxxxxxxx writes:


> @@ -451,6 +451,140 @@ static int cciss_release(struct inode *i
> return 0;
> }
>
> +#ifdef __x86_64__
> +/* for AMD 64 bit kernel compatibility with 32-bit userland ioctls */
> +#include <linux/syscalls.h>
> +extern int
> +register_ioctl32_conversion(unsigned int cmd, int (*handler)(unsigned int,
> + unsigned int, unsigned long, struct file *));
> +extern int unregister_ioctl32_conversion(unsigned int cmd);

This should be in CONFIG_COMPAT instead of testing for x86-64
and include <linux/compat.h> for the prototypes. linux/syscalls.h
should not be needed.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/