summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-01-13 11:58:05 +0100
committerHelge Deller <deller@gmx.de>2022-01-13 11:58:05 +0100
commit180d0eb290a5d11e6d3d99fea0841ceae2893901 (patch)
tree2841908894b6469681d5fd55cefca06a7df716b3 /arch/parisc/kernel
parentMerge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cl... (diff)
downloadlinux-180d0eb290a5d11e6d3d99fea0841ceae2893901.tar.xz
linux-180d0eb290a5d11e6d3d99fea0841ceae2893901.zip
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>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r--arch/parisc/kernel/toc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/toc.c b/arch/parisc/kernel/toc.c
index be9a0bebe61e..fa5a10eaf0aa 100644
--- a/arch/parisc/kernel/toc.c
+++ b/arch/parisc/kernel/toc.c
@@ -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)
{