[PATCH] clean up pseries hcall interfaces
Geoff Levand
geoffrey.levand at am.sony.com
Wed Jul 26 06:55:32 EST 2006
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;
More information about the Linuxppc-dev
mailing list