Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
arch
/
powerpc
/
platforms
/
pseries
/
lpar.c
diff --git
a/kernel/arch/powerpc/platforms/pseries/lpar.c
b/kernel/arch/powerpc/platforms/pseries/lpar.c
index
b7a67e3
..
3ae4328
100644
(file)
--- a/
kernel/arch/powerpc/platforms/pseries/lpar.c
+++ b/
kernel/arch/powerpc/platforms/pseries/lpar.c
@@
-406,7
+406,7
@@
static void __pSeries_lpar_hugepage_invalidate(unsigned long *slot,
unsigned long *vpn, int count,
int psize, int ssize)
{
unsigned long *vpn, int count,
int psize, int ssize)
{
- unsigned long param[
8
];
+ unsigned long param[
PLPAR_HCALL9_BUFSIZE
];
int i = 0, pix = 0, rc;
unsigned long flags = 0;
int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE);
int i = 0, pix = 0, rc;
unsigned long flags = 0;
int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE);
@@
-523,7
+523,7
@@
static void pSeries_lpar_flush_hash_range(unsigned long number, int local)
unsigned long flags = 0;
struct ppc64_tlb_batch *batch = this_cpu_ptr(&ppc64_tlb_batch);
int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE);
unsigned long flags = 0;
struct ppc64_tlb_batch *batch = this_cpu_ptr(&ppc64_tlb_batch);
int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE);
- unsigned long param[
9
];
+ unsigned long param[
PLPAR_HCALL9_BUFSIZE
];
unsigned long hash, index, shift, hidx, slot;
real_pte_t pte;
int psize, ssize;
unsigned long hash, index, shift, hidx, slot;
real_pte_t pte;
int psize, ssize;