Enable compat ioctls for mcelog All mcelog ioctls should be already compatible, so just enable mce_ioctl as compat_ioctl. Signed-off-by: Andi Kleen --- arch/x86/kernel/cpu/mcheck/mce_64.c | 1 + 1 file changed, 1 insertion(+) Index: linux/arch/x86/kernel/cpu/mcheck/mce_64.c =================================================================== --- linux.orig/arch/x86/kernel/cpu/mcheck/mce_64.c +++ linux/arch/x86/kernel/cpu/mcheck/mce_64.c @@ -709,6 +709,7 @@ static const struct file_operations mce_ .read = mce_read, .poll = mce_poll, .unlocked_ioctl = mce_ioctl, + .compat_ioctl = mce_ioctl, }; static struct miscdevice mce_log_device = {