diff options
author | Cody P Schafer <cody@linux.vnet.ibm.com> | 2014-04-15 13:10:54 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-27 23:11:27 -0400 |
commit | 1ee9fcc1a021e54454a23b107a47d10fb603508c (patch) | |
tree | 2eb3fe9ffeed508a24e011c15dec7a06e3201c5b /arch | |
parent | 78d13166b189ff1741327d748a7f8d73e65d70bd (diff) |
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')
-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, | |||
170 | index); | 170 | index); |
171 | } | 171 | } |
172 | 172 | ||
173 | static unsigned long h_get_24x7_catalog_page(char page[static 4096], | 173 | static unsigned long h_get_24x7_catalog_page(char page[], |
174 | u32 version, u32 index) | 174 | u32 version, u32 index) |
175 | { | 175 | { |
176 | return h_get_24x7_catalog_page_(virt_to_phys(page), | 176 | return h_get_24x7_catalog_page_(virt_to_phys(page), |