The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH cleanup] Re: + mips-vpe-remove-leftover-unlock_kernel.patch added to -mm tree
       [not found]   ` <20091103085613.373634ab.akpm@linux-foundation.org>
@ 2009-11-03 21:52     ` John Kacur
  2009-11-03 22:15       ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: John Kacur @ 2009-11-03 21:52 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Ralf Baechle, Thomas Gleixner, Ingo Molnar, linux-kernel



On Tue, 3 Nov 2009, Andrew Morton wrote:

> On Tue, 3 Nov 2009 15:09:53 +0100 Ralf Baechle <ralf@linux-mips.org> wrote:
> 
> > On Mon, Nov 02, 2009 at 11:01:38PM -0800, akpm@linux-foundation.org wrote:
> > 
> > I already have an equivalent patch in the MIPS kernel - Linus only needs
> > to finally pull ...
> > 
> 
> I didn't see such a patch in yesterday's linux-next..
> 

Linus picked-up Ralf's version of the patch for 2.6.32-rc6
a22d621c80fb08f668ae3bfe62aeaae64b0b2b89

That has the important part that removes the stray unlock_kernel, but
unfortunately doesn't remove the smp_lock.h header.

So, the last patch is just a clean-up. (no urgency).

>From ae20d9169893112daaad1dc3af9f8559003a2bfb Mon Sep 17 00:00:00 2001
From: John Kacur <jkacur@redhat.com>
Date: Tue, 3 Nov 2009 22:15:55 +0100
Subject: [PATCH] Remove BKL header.

Now that the bkl has been removed, also remove the smp_lock.h include

Signed-off-by: John Kacur <jkacur@redhat.com>
---
 arch/mips/kernel/vpe.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c
index 6047752..2bd2151 100644
--- a/arch/mips/kernel/vpe.c
+++ b/arch/mips/kernel/vpe.c
@@ -38,7 +38,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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH cleanup] Re: + mips-vpe-remove-leftover-unlock_kernel.patch added to -mm tree
  2009-11-03 21:52     ` [PATCH cleanup] Re: + mips-vpe-remove-leftover-unlock_kernel.patch added to -mm tree John Kacur
@ 2009-11-03 22:15       ` Ralf Baechle
  2009-11-03 22:24         ` John Kacur
  0 siblings, 1 reply; 3+ messages in thread
From: Ralf Baechle @ 2009-11-03 22:15 UTC (permalink / raw)
  To: John Kacur; +Cc: Andrew Morton, Thomas Gleixner, Ingo Molnar, linux-kernel

On Tue, Nov 03, 2009 at 10:52:41PM +0100, John Kacur wrote:

> > > I already have an equivalent patch in the MIPS kernel - Linus only needs
> > > to finally pull ...
> > > 
> > 
> > I didn't see such a patch in yesterday's linux-next..

I only have stuff to be pulled for 2.6.33 on my -next tree.  Anything for
2.6.32 was in another tree.

> Linus picked-up Ralf's version of the patch for 2.6.32-rc6
> a22d621c80fb08f668ae3bfe62aeaae64b0b2b89
> 
> That has the important part that removes the stray unlock_kernel, but
> unfortunately doesn't remove the smp_lock.h header.
> 
> So, the last patch is just a clean-up. (no urgency).
> 
> >From ae20d9169893112daaad1dc3af9f8559003a2bfb Mon Sep 17 00:00:00 2001
> From: John Kacur <jkacur@redhat.com>
> Date: Tue, 3 Nov 2009 22:15:55 +0100
> Subject: [PATCH] Remove BKL header.
> 
> Now that the bkl has been removed, also remove the smp_lock.h include

In fact every single use of <linux/smp_lock.h> in arch/mips/ is unnecessary;
see patch for 2.6.33 in

http://www.linux-mips.org/git?p=upstream-sfr.git;a=commit;h=defde8dd822ddbab4ea1f8d2f5831e693bc75ad4

  Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH cleanup] Re: + mips-vpe-remove-leftover-unlock_kernel.patch  added to -mm tree
  2009-11-03 22:15       ` Ralf Baechle
@ 2009-11-03 22:24         ` John Kacur
  0 siblings, 0 replies; 3+ messages in thread
From: John Kacur @ 2009-11-03 22:24 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Andrew Morton, Thomas Gleixner, Ingo Molnar, linux-kernel

On Tue, Nov 3, 2009 at 11:15 PM, Ralf Baechle <ralf@linux-mips.org> wrote:
> On Tue, Nov 03, 2009 at 10:52:41PM +0100, John Kacur wrote:
>
>> > > I already have an equivalent patch in the MIPS kernel - Linus only needs
>> > > to finally pull ...
>> > >
>> >
>> > I didn't see such a patch in yesterday's linux-next..
>
> I only have stuff to be pulled for 2.6.33 on my -next tree.  Anything for
> 2.6.32 was in another tree.
>
>> Linus picked-up Ralf's version of the patch for 2.6.32-rc6
>> a22d621c80fb08f668ae3bfe62aeaae64b0b2b89
>>
>> That has the important part that removes the stray unlock_kernel, but
>> unfortunately doesn't remove the smp_lock.h header.
>>
>> So, the last patch is just a clean-up. (no urgency).
>>
>> >From ae20d9169893112daaad1dc3af9f8559003a2bfb Mon Sep 17 00:00:00 2001
>> From: John Kacur <jkacur@redhat.com>
>> Date: Tue, 3 Nov 2009 22:15:55 +0100
>> Subject: [PATCH] Remove BKL header.
>>
>> Now that the bkl has been removed, also remove the smp_lock.h include
>
> In fact every single use of <linux/smp_lock.h> in arch/mips/ is unnecessary;
> see patch for 2.6.33 in
>
> http://www.linux-mips.org/git?p=upstream-sfr.git;a=commit;h=defde8dd822ddbab4ea1f8d2f5831e693bc75ad4
>
>  Ralf

Ah, great! Thanks Ralf.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-03 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200911030701.nA371cAP019835@imap1.linux-foundation.org>
     [not found] ` <20091103140953.GA23611@linux-mips.org>
     [not found]   ` <20091103085613.373634ab.akpm@linux-foundation.org>
2009-11-03 21:52     ` [PATCH cleanup] Re: + mips-vpe-remove-leftover-unlock_kernel.patch added to -mm tree John Kacur
2009-11-03 22:15       ` Ralf Baechle
2009-11-03 22:24         ` John Kacur

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