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 ff6cbdb6903bca6dceea03000bad4ed97d4b69f2..c05d121cf5d0f25cc581bd7027acc6d618ca5a9f 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 2f434f2da1851460ac948e59e2462f6459dc7053..ace483b6f19adc7319d06cc67094dd7323a05fdd 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 */