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

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'powerpc-5.14-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fixes from Michael Ellerman:

- Don't use r30 in VDSO code, to avoid breaking existing Go lang
programs.

- Change an export symbol to allow non-GPL modules to use spinlocks
again.

Thanks to Paul Menzel, and Srikar Dronamraju.

* tag 'powerpc-5.14-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
powerpc/vdso: Don't use r30 to avoid breaking Go lang
powerpc/pseries: Fix regression while building external modules

+8 -1
+7
arch/powerpc/kernel/vdso64/Makefile
··· 27 27 28 28 ccflags-y := -shared -fno-common -fno-builtin -nostdlib \ 29 29 -Wl,-soname=linux-vdso64.so.1 -Wl,--hash-style=both 30 + 31 + # Go prior to 1.16.x assumes r30 is not clobbered by any VDSO code. That used to be true 32 + # by accident when the VDSO was hand-written asm code, but may not be now that the VDSO is 33 + # compiler generated. To avoid breaking Go tell GCC not to use r30. Impact on code 34 + # generation is minimal, it will just use r29 instead. 35 + ccflags-y += $(call cc-option, -ffixed-r30) 36 + 30 37 asflags-y := -D__VDSO64__ -s 31 38 32 39 targets += vdso64.lds
+1 -1
arch/powerpc/platforms/pseries/setup.c
··· 77 77 #include "../../../../drivers/pci/pci.h" 78 78 79 79 DEFINE_STATIC_KEY_FALSE(shared_processor); 80 - EXPORT_SYMBOL_GPL(shared_processor); 80 + EXPORT_SYMBOL(shared_processor); 81 81 82 82 int CMO_PrPSP = -1; 83 83 int CMO_SecPSP = -1;