[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1313217173-32103-1-git-send-email-cota@braap.org>
Date: Sat, 13 Aug 2011 02:32:53 -0400
From: "Emilio G. Cota" <cota@...ap.org>
To: Ingo Molnar <mingo@...e.hu>
Cc: Matthew Wilcox <willy@...ux.intel.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] semaphore: remove superfluous include of ftrace.h
From: "Emilio G. Cota" <cota@...ap.org>
Inspecting the semaphore code I noticed the #include of ftrace.h,
which wasn't there last time I checked (years ago). It was
added by commit "74f4e36 ftrace: stacktrace fix", which
was partially (and manually) reverted by "3e61e0c mmiotrace
broken in linux-next (8-bit writes only)".
Since 3e61e0c the include of ftrace.h has been superfluous;
remove it.
Signed-off-by: Emilio G. Cota <cota@...ap.org>
---
kernel/semaphore.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/kernel/semaphore.c b/kernel/semaphore.c
index 94a62c0..4b63e1d 100644
--- a/kernel/semaphore.c
+++ b/kernel/semaphore.c
@@ -31,7 +31,6 @@
#include <linux/sched.h>
#include <linux/semaphore.h>
#include <linux/spinlock.h>
-#include <linux/ftrace.h>
static noinline void __down(struct semaphore *sem);
static noinline int __down_interruptible(struct semaphore *sem);
--
1.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists