Messages in this thread | | | Subject | Re: cciss update for 2.6.7-rc1 | From | Andi Kleen <> | Date | Fri, 04 Jun 2004 23:59:17 +0200 |
| |
mikem@beardog.cca.cpqcorp.net 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |