Skip to contentSkip to conversation

Remove smp_lock.h in the BKL removal effort

PATCH In review John Kacur 1 participant 6 messages Oct 18, 2009

Subsystems (5)
x86 PowerPC MIPS s390 +1 more subsystems
lore
Share & tools
lore

John Kacur

author
#0 lore raw

cover Remove smp_lock.h in the BKL removal effort

The following patches remove the smp_lock.h include in files that no-longer use the BKL.

A few of them rely on patches already sent by various people in the remove the bkl effort - and they may only exist in Thomas' queue.

I could have made this one big patch, but I thought that breaking them up by architecture would make bisecting more logical.

Thanks

John Kacur

author
#1 lore raw
Quoted 1 line

From b73fc14893aa3aa106143cdf9281061bdc80918b Mon Sep 17 00:00:00 2001

From: John Kacur <[email protected]>
Date: Sun, 18 Oct 2009 16:59:09 +0200
Subject: [PATCH] ia64: Remove include of smp_lock.c in files that no-longer have the BKL

---
 arch/ia64/ia32/sys_ia32.c           |    1 -
 arch/ia64/sn/kernel/sn2/sn_hwperf.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
arch/ia64/ia32/sys_ia32.c +0 -1
index c0ed49c..cbc2831 100644
@@ -25,7 +25,6 @@
 #include <linux/times.h>
 #include <linux/utsname.h>
 #include <linux/smp.h>
-#include <linux/smp_lock.h>
 #include <linux/sem.h>
 #include <linux/msg.h>
 #include <linux/mm.h>
arch/ia64/sn/kernel/sn2/sn_hwperf.c +0 -1
index 4ec7b21..179bb29 100644
@@ -30,7 +30,6 @@
 #include <linux/miscdevice.h>
 #include <linux/utsname.h>
 #include <linux/cpumask.h>
-#include <linux/smp_lock.h>
 #include <linux/nodemask.h>
 #include <linux/smp.h>
 #include <linux/mutex.h>
Signature · 1 line
1.6.0.6
author
#2 lore raw
In reply to John Kacur
Quoted 1 line

From c8bebe73d370b7988989bdc92a49d190d3157b6b Mon Sep 17 00:00:00 2001

From: John Kacur <[email protected]>
Date: Sun, 18 Oct 2009 17:52:04 +0200
Subject: [PATCH] s390: Remove the smp_lock.h include from files that don't use the BKL

---
 arch/s390/kernel/compat_linux.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/s390/kernel/compat_linux.c +0 -1
index ef9c2c1..ef334f5 100644
@@ -25,7 +25,6 @@
 #include <linux/resource.h>
 #include <linux/times.h>
 #include <linux/smp.h>
-#include <linux/smp_lock.h>
 #include <linux/sem.h>
 #include <linux/msg.h>
 #include <linux/shm.h>
Signature · 1 line
1.6.0.6
author
#3 lore raw
In reply to John Kacur
Quoted 1 line

From b9aff26e4a29a47264392ea261a2c620b5077987 Mon Sep 17 00:00:00 2001

From: John Kacur <[email protected]>
Date: Sun, 18 Oct 2009 17:08:27 +0200
Subject: [PATCH] MIPS: Remove the include of smp_lock.h in files that no longer use the BKL

---
 arch/mips/basler/excite/excite_iodev.c |    1 -
 arch/mips/kernel/linux32.c             |    1 -
 arch/mips/kernel/rtlx.c                |    1 -
 3 files changed, 0 insertions(+), 3 deletions(-)
arch/mips/basler/excite/excite_iodev.c +0 -1
index 938b1d0..3676660 100644
@@ -26,7 +26,6 @@
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
 #include <linux/miscdevice.h>
-#include <linux/smp_lock.h>
 
 #include "excite_iodev.h"
 
arch/mips/kernel/linux32.c +0 -1
index 3744608..40d75c2 100644
@@ -9,7 +9,6 @@
 #include <linux/mm.h>
 #include <linux/errno.h>
 #include <linux/file.h>
-#include <linux/smp_lock.h>
 #include <linux/highuid.h>
 #include <linux/resource.h>
 #include <linux/highmem.h>
arch/mips/kernel/rtlx.c +0 -1
index 364f066..dcaed1b 100644
@@ -28,7 +28,6 @@
 #include <linux/vmalloc.h>
 #include <linux/elf.h>
 #include <linux/seq_file.h>
-#include <linux/smp_lock.h>
 #include <linux/syscalls.h>
 #include <linux/moduleloader.h>
 #include <linux/interrupt.h>
Signature · 1 line
1.6.0.6
author
#4 lore raw
In reply to John Kacur
Quoted 1 line

From 79929f091e7392004dac208c57e73792111bae69 Mon Sep 17 00:00:00 2001

From: John Kacur <[email protected]>
Date: Sun, 18 Oct 2009 17:50:50 +0200
Subject: [PATCH] powerpc: Remove the smp_lock.h include from files that don't use the BKL

---
 arch/powerpc/kernel/sys_ppc32.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/powerpc/kernel/sys_ppc32.c +0 -1
index 934c0f9..ec02777 100644
@@ -23,7 +23,6 @@
 #include <linux/resource.h>
 #include <linux/times.h>
 #include <linux/smp.h>
-#include <linux/smp_lock.h>
 #include <linux/sem.h>
 #include <linux/msg.h>
 #include <linux/shm.h>
Signature · 1 line
1.6.0.6
author
#5 lore raw
In reply to John Kacur
Quoted 1 line

From 3f588af35ab828530031a19224e11d42254b72d0 Mon Sep 17 00:00:00 2001

From: John Kacur <[email protected]>
Date: Sun, 18 Oct 2009 18:01:53 +0200
Subject: [PATCH] ia32: Remove the smp_lock.h include in files that no longer use BKL

---
 arch/x86/ia32/sys_ia32.c |    1 -
 arch/x86/kernel/cpuid.c  |    1 -
 arch/x86/kernel/msr.c    |    1 -
 3 files changed, 0 insertions(+), 3 deletions(-)
arch/x86/ia32/sys_ia32.c +0 -1
index 32a88e4..aa9778c 100644
@@ -28,7 +28,6 @@
 #include <linux/syscalls.h>
 #include <linux/times.h>
 #include <linux/utsname.h>
-#include <linux/smp_lock.h>
 #include <linux/mm.h>
 #include <linux/uio.h>
 #include <linux/poll.h>
arch/x86/kernel/cpuid.c +0 -1
index 13c8fbf..ccb0332 100644
@@ -33,7 +33,6 @@
 #include <linux/init.h>
 #include <linux/poll.h>
 #include <linux/smp.h>
-#include <linux/smp_lock.h>
 #include <linux/major.h>
 #include <linux/fs.h>
 #include <linux/device.h>
arch/x86/kernel/msr.c +0 -1
index 64a2bab..9d3f56e 100644
@@ -30,7 +30,6 @@
 #include <linux/init.h>
 #include <linux/poll.h>
 #include <linux/smp.h>
-#include <linux/smp_lock.h>
 #include <linux/major.h>
 #include <linux/fs.h>
 #include <linux/device.h>
Signature · 1 line
1.6.0.6