[prev in list] [next in list] [prev in thread] [next in thread]
List: linuxppc-dev
Subject: [PATCH] clean up pseries hcall interfaces
From: geoffrey.levand () am ! sony ! com (Geoff Levand)
Date: 2006-07-25 20:55:32
Message-ID: 44C68544.9000609 () am ! sony ! com
[Download RAW message or body]
Anton Blanchard wrote:
> Hi Geoff,
>
>> Seems like this in needed too... Untested.
>
> Looks good but the patch appears to be line wrapped in a few places.
>
> Anton
Sorry, I sent that out with a Web based mail client. This one
should be OK.
-Geoff
Change the scope of some pSeries routines now called through
ppc_md to static.
Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
--
Index: a/arch/powerpc/platforms/pseries/lpar.c
===================================================================
--- a.orig/arch/powerpc/platforms/pseries/lpar.c 2006-07-18 12:37:47.000000000 -0700
+++ a/arch/powerpc/platforms/pseries/lpar.c 2006-07-20 05:18:59.000000000 -0700
@@ -268,7 +268,7 @@
cpu, hwcpu, vpa, ret);
}
-long pSeries_lpar_hpte_insert(unsigned long hpte_group,
+static long pSeries_lpar_hpte_insert(unsigned long hpte_group,
unsigned long va, unsigned long pa,
unsigned long rflags, unsigned long vflags,
int psize)
@@ -494,7 +494,7 @@
* Take a spinlock around flushes to avoid bouncing the hypervisor tlbie
* lock.
*/
-void pSeries_lpar_flush_hash_range(unsigned long number, int local)
+static void pSeries_lpar_flush_hash_range(unsigned long number, int local)
{
int i;
unsigned long flags = 0;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic