summaryrefslogtreecommitdiff
path: root/arch/powerpc/perf/hv-24x7.c
diff options
context:
space:
mode:
authorCody P Schafer <cody@linux.vnet.ibm.com>2014-04-15 21:10:54 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-04-28 07:11:27 +0400
commit1ee9fcc1a021e54454a23b107a47d10fb603508c (patch)
tree2eb3fe9ffeed508a24e011c15dec7a06e3201c5b /arch/powerpc/perf/hv-24x7.c
parent78d13166b189ff1741327d748a7f8d73e65d70bd (diff)
downloadlinux-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/perf/hv-24x7.c')
-rw-r--r--arch/powerpc/perf/hv-24x7.c2
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),