[RFC: 2.6 patch] arch/i386/kernel/microcode.c: remove the obsolete microcode_ioctl
From: Adrian Bunk (bunk_at_stusta.de)
Date: 11/21/05
- Previous message: Nix: "Re: [RFC] [PATCH 00/13] Introduce task_pid api"
- Next in thread: Adrian Bunk: "[RFC: 2.6 patch] arch/i386/kernel/microcode.c: remove the obsolete microcode_ioctl"
- Reply: Adrian Bunk: "[RFC: 2.6 patch] arch/i386/kernel/microcode.c: remove the obsolete microcode_ioctl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 21 Nov 2005 00:31:16 +0100 To: tigran@veritas.com
Nowadays, even Debian stable ships a microcode_ctl utility recent enough
to no longer use this ioctl.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
arch/i386/kernel/microcode.c | 17 -----------------
1 file changed, 17 deletions(-)
--- linux-2.6.15-rc1-mm2-full/arch/i386/kernel/microcode.c.old 2005-11-20 21:30:59.000000000 +0100
+++ linux-2.6.15-rc1-mm2-full/arch/i386/kernel/microcode.c 2005-11-20 21:31:24.000000000 +0100
@@ -457,26 +457,9 @@
return ret;
}
-static int microcode_ioctl (struct inode *inode, struct file *file,
- unsigned int cmd, unsigned long arg)
-{
- switch (cmd) {
- /*
- * XXX: will be removed after microcode_ctl
- * is updated to ignore failure of this ioctl()
- */
- case MICROCODE_IOCFREE:
- return 0;
- default:
- return -EINVAL;
- }
- return -EINVAL;
-}
-
static struct file_operations microcode_fops = {
.owner = THIS_MODULE,
.write = microcode_write,
- .ioctl = microcode_ioctl,
.open = microcode_open,
};
-
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/
- Previous message: Nix: "Re: [RFC] [PATCH 00/13] Introduce task_pid api"
- Next in thread: Adrian Bunk: "[RFC: 2.6 patch] arch/i386/kernel/microcode.c: remove the obsolete microcode_ioctl"
- Reply: Adrian Bunk: "[RFC: 2.6 patch] arch/i386/kernel/microcode.c: remove the obsolete microcode_ioctl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|