Skip to content

Commit

Permalink
parisc: Add visible flag to toc_stack variable
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
  • Loading branch information
hdeller committed Jan 13, 2022
1 parent 455e73a commit 180d0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/parisc/kernel/toc.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <asm/ldcw.h>

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)
{
Expand Down

0 comments on commit 180d0eb

Please sign in to comment.