diff options
author | Cody P Schafer <cody@linux.vnet.ibm.com> | 2014-04-15 17:10:54 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-28 03:11:27 (GMT) |
commit | 1ee9fcc1a021e54454a23b107a47d10fb603508c (patch) | |
tree | 2eb3fe9ffeed508a24e011c15dec7a06e3201c5b /arch/powerpc | |
parent | 78d13166b189ff1741327d748a7f8d73e65d70bd (diff) | |
download | linux-1ee9fcc1a021e54454a23b107a47d10fb603508c.tar.xz |
powerpc/perf/hv-24x7: Remove [static 4096], sparse chokes on it
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-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 3e8f60a..95a67f8 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), |