mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] semaphore: remove superfluous include of ftrace.h
@ 2011-08-13  6:32 Emilio G. Cota
  0 siblings, 0 replies; only message in thread
From: Emilio G. Cota @ 2011-08-13  6:32 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Matthew Wilcox, linux-kernel

From: "Emilio G. Cota" <cota@braap.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@braap.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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-13  6:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-13  6:32 [PATCH] semaphore: remove superfluous include of ftrace.h Emilio G. Cota

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®