]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dtrace: Include asm/current.h for the mutex_owned() fucntion.
authorKris Van Hees <kris.van.hees@oracle.com>
Wed, 14 Aug 2013 21:42:31 +0000 (17:42 -0400)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:29:05 +0000 (15:29 +0100)
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Orabug: 17313687

Signed-off-by: Jerry Snitselaar <jerry.snitselaar@oracle.com>
include/linux/mutex.h

index 0df7f84bc282c448e1bbfb5f9bee84016ae8df42..36f3f2a62ce3bae27fa3dc49aa54e78f9e5bb285 100644 (file)
 #include <asm/processor.h>
 #include <linux/osq_lock.h>
 
+#ifdef CONFIG_SMP
+# include <asm/current.h>
+#endif
+
 /*
  * Simple, straightforward mutexes with strict semantics:
  *