login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
June
»
11
Re: [PATCH 3/5] Removing dead CONFIG_SMP_750
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Benjamin Herrenschmidt
Subject:
Re: [PATCH 3/5] Removing dead CONFIG_SMP_750
Date: Thursday, June 10, 2010 - 11:41 pm
On Thu, 2010-06-10 at 14:23 +0200, Christoph Egger wrote:
quoted text
> On Thu, Jun 10, 2010 at 04:14:21PM +1000, Benjamin Herrenschmidt wrote: > > On Wed, 2010-06-09 at 08:35 -0400, Josh Boyer wrote: > > > On Wed, Jun 09, 2010 at 12:00:21PM +0200, Christoph Egger wrote: > > > >CONFIG_SMP_750 doesn't exist in Kconfig, therefore removing all > > > >references for it from the source code. > > > > > > Yeah, we don't support SMP on 750 at the moment. This code was carried over > > > from the arch/ppc days, and that code was present pre-git. I think we can > > > drop it, but I'll leave that up to Ben. Maybe he has crazy plans for a 750 SMP > > > board. > > > > Nope :-) Though it would be nice to also remove the call sites too and > > thus remove the macro entirely. > > SOmething like below?
Excellent. Thanks. I'll add that to the batch I'm preparing for Linus. Cheers, Ben.
quoted text
> ----- > From: Christoph Egger <siccegge@cs.fau.de> > Subject: [PATCH 3/5] Removing dead CONFIG_SMP_750 > > CONFIG_SMP_750 doesn't exist in Kconfig, therefore removing all > references for it from the source code. > > Signed-off-by: Christoph Egger <siccegge@cs.fau.de> > > diff --git a/arch/powerpc/mm/tlb_hash32.c b/arch/powerpc/mm/tlb_hash32.c > index 8aaa8b7..09c7820 100644 > --- a/arch/powerpc/mm/tlb_hash32.c > +++ b/arch/powerpc/mm/tlb_hash32.c > @@ -94,11 +94,6 @@ void tlb_flush(struct mmu_gather *tlb) > * the cache operations on the bus. Hence we need to use an IPI > * to get the other CPU(s) to invalidate their TLBs. > */ > -#ifdef CONFIG_SMP_750 > -#define FINISH_FLUSH smp_send_tlb_invalidate(0) > -#else > -#define FINISH_FLUSH do { } while (0) > -#endif > > static void flush_range(struct mm_struct *mm, unsigned long start, > unsigned long end) > @@ -138,7 +133,6 @@ static void flush_range(struct mm_struct *mm, unsigned long start, > void flush_tlb_kernel_range(unsigned long start, unsigned long end) > { > flush_range(&init_mm, start, end); > - FINISH_FLUSH; > } > EXPORT_SYMBOL(flush_tlb_kernel_range); > > @@ -162,7 +156,6 @@ void flush_tlb_mm(struct mm_struct *mm) > */ > for (mp = mm->mmap; mp != NULL; mp = mp->vm_next) > flush_range(mp->vm_mm, mp->vm_start, mp->vm_end); > - FINISH_FLUSH; > } > EXPORT_SYMBOL(flush_tlb_mm); > > @@ -179,7 +172,6 @@ void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) > pmd = pmd_offset(pud_offset(pgd_offset(mm, vmaddr), vmaddr), vmaddr); > if (!pmd_none(*pmd)) > flush_hash_pages(mm->context.id, vmaddr, pmd_val(*pmd), 1); > - FINISH_FLUSH; > } > EXPORT_SYMBOL(flush_tlb_page); > > @@ -192,6 +184,5 @@ void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, > unsigned long end) > { > flush_range(vma->vm_mm, start, end); > - FINISH_FLUSH; > } > EXPORT_SYMBOL(flush_tlb_range);
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/5] Removing dead code
, Christoph Egger
, (Wed Jun 9, 2:58 am)
[PATCH 1/5] Removing dead BOOK3E_MMU_TLB_STATS
, Christoph Egger
, (Wed Jun 9, 2:59 am)
[PATCH 2/5] Removing dead CONFIG_HIGHPTE
, Christoph Egger
, (Wed Jun 9, 2:59 am)
[PATCH 3/5] Removing dead CONFIG_SMP_750
, Christoph Egger
, (Wed Jun 9, 3:00 am)
[PATCH 4/5] Removing dead CONFIG_SERIAL_TEXT_DEBUG
, Christoph Egger
, (Wed Jun 9, 3:00 am)
[PATCH 5/5] Removing dead CONFIG_PPC47x
, Christoph Egger
, (Wed Jun 9, 3:01 am)
Re: [PATCH 4/5] Removing dead CONFIG_SERIAL_TEXT_DEBUG
, Josh Boyer
, (Wed Jun 9, 3:28 am)
[PATCH 5b/5] Removing dead CONFIG_PPC47x
, Christoph Egger
, (Wed Jun 9, 4:02 am)
Re: [PATCH 5b/5] Removing dead CONFIG_PPC47x
, Josh Boyer
, (Wed Jun 9, 5:05 am)
Re: [PATCH 3/5] Removing dead CONFIG_SMP_750
, Josh Boyer
, (Wed Jun 9, 5:35 am)
Re: [PATCH 1/5] Removing dead BOOK3E_MMU_TLB_STATS
, Benjamin Herrenschmidt
, (Wed Jun 9, 10:20 pm)
Re: [PATCH 3/5] Removing dead CONFIG_SMP_750
, Benjamin Herrenschmidt
, (Wed Jun 9, 11:14 pm)
Re: [PATCH 5b/5] Removing dead CONFIG_PPC47x
, Benjamin Herrenschmidt
, (Thu Jun 10, 1:59 am)
Re: [PATCH 3/5] Removing dead CONFIG_SMP_750
, Christoph Egger
, (Thu Jun 10, 5:23 am)
Re: [PATCH 0/5] Removing dead code
, Joe Perches
, (Thu Jun 10, 11:46 am)
Re: [PATCH 3/5] Removing dead CONFIG_SMP_750
, Benjamin Herrenschmidt
, (Thu Jun 10, 11:41 pm)
Re: [PATCH 0/5] Removing dead code
, Reinhard Tartler
, (Fri Jun 11, 12:26 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger