Commit 180d0eb2 authored by Helge Deller's avatar Helge Deller

parisc: Add visible flag to toc_stack variable

Add the visible flag to the toc_stack variable to make it visible for
assembly code and to avoid a sparse warning.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 455e73a0
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <asm/ldcw.h> #include <asm/ldcw.h>
static unsigned int __aligned(16) toc_lock = 1; static unsigned int __aligned(16) toc_lock = 1;
DEFINE_PER_CPU_PAGE_ALIGNED(char [16384], toc_stack); DEFINE_PER_CPU_PAGE_ALIGNED(char [16384], toc_stack) __visible;
static void toc20_to_pt_regs(struct pt_regs *regs, struct pdc_toc_pim_20 *toc) static void toc20_to_pt_regs(struct pt_regs *regs, struct pdc_toc_pim_20 *toc)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment