Skip to contentSkip to conversation

ptrace: Cleanup useless header

PATCH Applied Alessio Igor Bogani 2 participants 2 messages Apr 25, 2010 ptrace support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ptrace: Cleanup useless header

BKL isn't anymore present into this file thus it is no necessary still include smp_lock.h.

---
 kernel/ptrace.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
kernel/ptrace.c +0 -1
index 1d4883c..6af9cdd 100644
@@ -14,7 +14,6 @@
 #include <linux/mm.h>
 #include <linux/highmem.h>
 #include <linux/pagemap.h>
-#include <linux/smp_lock.h>
 #include <linux/ptrace.h>
 #include <linux/security.h>
 #include <linux/signal.h>
Signature · 1 line
1.6.3.3
#1 lore raw
Quoted 3 lines · Alessio Igor Bogani

BKL isn't anymore present into this file thus it is no necessary still include smp_lock.h.

Please also Cc me and Arnd for bkl related things. We are trying to
keep track of every work on the bkl removal (see http://kernelnewbies.org/BigKernelLock)
so that nothing gets lost.

Especially this patch applies to one of my branches:

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git
bkl/core

kernel/ptrace.c line 17

Quoted 13 lines
---
 kernel/ptrace.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
kernel/ptrace.c +0 -1
index 1d4883c..6af9cdd 100644
@@ -14,7 +14,6 @@
 #include <linux/mm.h>
 #include <linux/highmem.h>
 #include <linux/pagemap.h>
-#include <linux/smp_lock.h>

Queued, thanks!

Quoted 11 lines
kernel/ptrace.c +0 -0
 #include <linux/ptrace.h>
 #include <linux/security.h>
 #include <linux/signal.h>
Signature · 7 lines
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/