Skip to content

Commit 180d0eb

Browse files
committed
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: kernel test robot <lkp@intel.com> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 455e73a commit 180d0eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/parisc/kernel/toc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <asm/ldcw.h>
1313

1414
static unsigned int __aligned(16) toc_lock = 1;
15-
DEFINE_PER_CPU_PAGE_ALIGNED(char [16384], toc_stack);
15+
DEFINE_PER_CPU_PAGE_ALIGNED(char [16384], toc_stack) __visible;
1616

1717
static void toc20_to_pt_regs(struct pt_regs *regs, struct pdc_toc_pim_20 *toc)
1818
{

0 commit comments

Comments
 (0)