2009-10-18 16:17:11

by John Kacur

[permalink] [raw]
Subject: [PATCHES 0/5] 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


2009-10-18 16:19:07

by John Kacur

[permalink] [raw]
Subject: Re: [PATCHES 1/5] Remove smp_lock.h in the BKL removal effort

>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

Signed-off-by: John Kacur <[email protected]>
---
arch/ia64/ia32/sys_ia32.c | 1 -
arch/ia64/sn/kernel/sn2/sn_hwperf.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/ia64/ia32/sys_ia32.c b/arch/ia64/ia32/sys_ia32.c
index c0ed49c..cbc2831 100644
--- a/arch/ia64/ia32/sys_ia32.c
+++ b/arch/ia64/ia32/sys_ia32.c
@@ -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>
diff --git a/arch/ia64/sn/kernel/sn2/sn_hwperf.c b/arch/ia64/sn/kernel/sn2/sn_hwperf.c
index 4ec7b21..179bb29 100644
--- a/arch/ia64/sn/kernel/sn2/sn_hwperf.c
+++ b/arch/ia64/sn/kernel/sn2/sn_hwperf.c
@@ -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>
--
1.6.0.6

2009-10-18 16:21:09

by John Kacur

[permalink] [raw]
Subject: Re: [PATCHES 2/5] Remove smp_lock.h in the BKL removal effort

>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

Signed-off-by: John Kacur <[email protected]>
---
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(-)

diff --git a/arch/mips/basler/excite/excite_iodev.c b/arch/mips/basler/excite/excite_iodev.c
index 938b1d0..3676660 100644
--- a/arch/mips/basler/excite/excite_iodev.c
+++ b/arch/mips/basler/excite/excite_iodev.c
@@ -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"

diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c
index 3744608..40d75c2 100644
--- a/arch/mips/kernel/linux32.c
+++ b/arch/mips/kernel/linux32.c
@@ -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>
diff --git a/arch/mips/kernel/rtlx.c b/arch/mips/kernel/rtlx.c
index 364f066..dcaed1b 100644
--- a/arch/mips/kernel/rtlx.c
+++ b/arch/mips/kernel/rtlx.c
@@ -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>
--
1.6.0.6

2009-10-18 16:21:10

by John Kacur

[permalink] [raw]
Subject: Re: [PATCHES 3/5] Remove smp_lock.h in the BKL removal effort

>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

Signed-off-by: John Kacur <[email protected]>
---
arch/powerpc/kernel/sys_ppc32.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c
index 934c0f9..ec02777 100644
--- a/arch/powerpc/kernel/sys_ppc32.c
+++ b/arch/powerpc/kernel/sys_ppc32.c
@@ -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>
--
1.6.0.6

2009-10-18 16:20:49

by John Kacur

[permalink] [raw]
Subject: Re: [PATCHES 4/5] Remove smp_lock.h in the BKL removal effort

>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

Signed-off-by: John Kacur <[email protected]>
---
arch/s390/kernel/compat_linux.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/s390/kernel/compat_linux.c b/arch/s390/kernel/compat_linux.c
index ef9c2c1..ef334f5 100644
--- a/arch/s390/kernel/compat_linux.c
+++ b/arch/s390/kernel/compat_linux.c
@@ -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>
--
1.6.0.6

2009-10-18 16:21:36

by John Kacur

[permalink] [raw]
Subject: Re: [PATCHES 5/5] Remove smp_lock.h in the BKL removal effort

>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

Signed-off-by: John Kacur <[email protected]>
---
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(-)

diff --git a/arch/x86/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c
index 32a88e4..aa9778c 100644
--- a/arch/x86/ia32/sys_ia32.c
+++ b/arch/x86/ia32/sys_ia32.c
@@ -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>
diff --git a/arch/x86/kernel/cpuid.c b/arch/x86/kernel/cpuid.c
index 13c8fbf..ccb0332 100644
--- a/arch/x86/kernel/cpuid.c
+++ b/arch/x86/kernel/cpuid.c
@@ -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>
diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c
index 64a2bab..9d3f56e 100644
--- a/arch/x86/kernel/msr.c
+++ b/arch/x86/kernel/msr.c
@@ -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>
--
1.6.0.6