cciss update for 2.6.7-rc1
A message that is not in the archive (sent off-list or not yet received): [email protected]
Review static int cciss_release(struct inode *i · line 460
Quoted 11 lines · [email protected] writes:
(quoted diff) +7
-0@@ -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