diff options
| author | Cody P Schafer <[email protected]> | 2014-04-15 17:10:54 +0000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2014-04-28 03:11:27 +0000 |
| commit | 1ee9fcc1a021e54454a23b107a47d10fb603508c (patch) | |
| tree | 2eb3fe9ffeed508a24e011c15dec7a06e3201c5b | |
| parent | powerpc/perf/hv-24x7: Use (unsigned long) not (u32) values when calling plpar... (diff) | |
| download | kernel-1ee9fcc1a021e54454a23b107a47d10fb603508c.tar.gz kernel-1ee9fcc1a021e54454a23b107a47d10fb603508c.zip | |
powerpc/perf/hv-24x7: Remove [static 4096], sparse chokes on it
Signed-off-by: Cody P Schafer <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
| -rw-r--r-- | arch/powerpc/perf/hv-24x7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c index 3e8f60a1d53f..95a67f81f22a 100644 --- a/arch/powerpc/perf/hv-24x7.c +++ b/arch/powerpc/perf/hv-24x7.c @@ -170,7 +170,7 @@ static unsigned long h_get_24x7_catalog_page_(unsigned long phys_4096, index); } -static unsigned long h_get_24x7_catalog_page(char page[static 4096], +static unsigned long h_get_24x7_catalog_page(char page[], u32 version, u32 index) { return h_get_24x7_catalog_page_(virt_to_phys(page), |
