Patchwork ide: Use linux/mutex.h

login
register
mail settings
Submitter Anton Blanchard
Date May 8, 2011, 11:30 p.m.
Message ID <20110509093017.20f00c35@kryten>
Download mbox | patch
Permalink /patch/94723/
State Accepted
Delegated to: David Miller
Headers show

Comments

Anton Blanchard - May 8, 2011, 11:30 p.m.
The IDE code is still including asm/mutex.h instead of linux/mutex.h

Signed-off-by: Anton Blanchard <anton@samba.org>
---

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - May 8, 2011, 11:42 p.m.
From: Anton Blanchard <anton@samba.org>
Date: Mon, 9 May 2011 09:30:17 +1000

> 
> The IDE code is still including asm/mutex.h instead of linux/mutex.h
> 
> Signed-off-by: Anton Blanchard <anton@samba.org>

Applied, thanks Anton.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

Index: linux-2.6-work/include/linux/ide.h
===================================================================
--- linux-2.6-work.orig/include/linux/ide.h	2011-04-22 14:53:07.079941198 +1000
+++ linux-2.6-work/include/linux/ide.h	2011-05-04 14:53:32.215007829 +1000
@@ -18,13 +18,13 @@ 
 #include <linux/pci.h>
 #include <linux/completion.h>
 #include <linux/pm.h>
+#include <linux/mutex.h>
 #ifdef CONFIG_BLK_DEV_IDEACPI
 #include <acpi/acpi.h>
 #endif
 #include <asm/byteorder.h>
 #include <asm/system.h>
 #include <asm/io.h>
-#include <asm/mutex.h>
 
 /* for request_sense */
 #include <linux/cdrom.h>