parisc: Move parisc_narrow_firmware variable to header file
authorHelge Deller <deller@gmx.de>
Wed, 18 Oct 2023 17:47:29 +0000 (19:47 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 30 Oct 2023 13:54:40 +0000 (14:54 +0100)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/processor.h
arch/parisc/kernel/setup.c

index ff6cbdb..c05d121 100644 (file)
@@ -287,6 +287,7 @@ extern int _parisc_requires_coherency;
 #endif
 
 extern int running_on_qemu;
+extern int parisc_narrow_firmware;
 
 extern void __noreturn toc_intr(struct pt_regs *regs);
 extern void toc_handler(void);
index 2f434f2..ace483b 100644 (file)
@@ -100,9 +100,6 @@ static void __init dma_ops_init(void)
 
 void __init setup_arch(char **cmdline_p)
 {
-#ifdef CONFIG_64BIT
-       extern int parisc_narrow_firmware;
-#endif
        unwind_init();
 
        init_per_cpu(smp_processor_id());       /* Set Modes & Enable FP */