Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'parisc-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux

Pull parisc fixes from Helge Deller:
"Two small fixes:

- Fix linking error with 64-bit kernel when modules are disabled,
reported by kernel test robot

- Remove leftover reference to power_tasklet, by Davidlohr Bueso"

* 'parisc-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
parisc: Enable -mlong-calls gcc option by default when !CONFIG_MODULES
parisc: Remove leftover reference to the power_tasklet

+12 -9
+2 -3
arch/parisc/Kconfig
··· 202 202 depends on PA8X00 || PA7200 203 203 204 204 config MLONGCALLS 205 - bool "Enable the -mlong-calls compiler option for big kernels" 206 - default y if !MODULES || UBSAN || FTRACE 207 - default n 205 + def_bool y if !MODULES || UBSAN || FTRACE 206 + bool "Enable the -mlong-calls compiler option for big kernels" if MODULES && !UBSAN && !FTRACE 208 207 depends on PA8X00 209 208 help 210 209 If you configure the kernel to include many drivers built-in instead
-3
arch/parisc/include/asm/irq.h
··· 47 47 extern int cpu_claim_irq(unsigned int irq, struct irq_chip *, void *); 48 48 extern int cpu_check_affinity(struct irq_data *d, const struct cpumask *dest); 49 49 50 - /* soft power switch support (power.c) */ 51 - extern struct tasklet_struct power_tasklet; 52 - 53 50 #endif /* _ASM_PARISC_IRQ_H */
+10 -3
arch/parisc/kernel/entry.S
··· 997 997 bb,<,n %r20, 31 - PSW_SM_I, intr_restore 998 998 nop 999 999 1000 + /* ssm PSW_SM_I done later in intr_restore */ 1001 + #ifdef CONFIG_MLONGCALLS 1002 + ldil L%intr_restore, %r2 1003 + load32 preempt_schedule_irq, %r1 1004 + bv %r0(%r1) 1005 + ldo R%intr_restore(%r2), %r2 1006 + #else 1007 + ldil L%intr_restore, %r1 1000 1008 BL preempt_schedule_irq, %r2 1001 - nop 1002 - 1003 - b,n intr_restore /* ssm PSW_SM_I done by intr_restore */ 1009 + ldo R%intr_restore(%r1), %r2 1010 + #endif 1004 1011 #endif /* CONFIG_PREEMPTION */ 1005 1012 1006 1013 /*