Patch "s390/setup: Fix __pa/__va for modules under non-GPL licenses" has been added to the 6.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    s390/setup: Fix __pa/__va for modules under non-GPL licenses

to the 6.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     s390-setup-fix-__pa-__va-for-modules-under-non-gpl-l.patch
and it can be found in the queue-6.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit cb76619b90ed05755dc96aea0eb4649798bb86ee
Author: Vasily Gorbik <gor@xxxxxxxxxxxxx>
Date:   Thu Jul 11 15:50:26 2024 +0200

    s390/setup: Fix __pa/__va for modules under non-GPL licenses
    
    [ Upstream commit e188e5d5ffd01d484b5255b88739fcf67b300223 ]
    
    The struct vm_layout contains fields used in __pa/__va calculations. Such
    fundamental things have to be exported with EXPORT_SYMBOL to avoid
    breakages of out-of-tree modules under non-GPL licenses.
    
    Fixes: 7de0446f0b26 ("s390/boot: Make identity mapping base address explicit")
    Acked-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
    Acked-by: Alexander Gordeev <agordeev@xxxxxxxxxxxxx>
    Signed-off-by: Vasily Gorbik <gor@xxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c
index 90c2c786bb355..610e6f794511a 100644
--- a/arch/s390/kernel/setup.c
+++ b/arch/s390/kernel/setup.c
@@ -149,7 +149,7 @@ unsigned long __bootdata_preserved(max_mappable);
 struct physmem_info __bootdata(physmem_info);
 
 struct vm_layout __bootdata_preserved(vm_layout);
-EXPORT_SYMBOL_GPL(vm_layout);
+EXPORT_SYMBOL(vm_layout);
 int __bootdata_preserved(__kaslr_enabled);
 unsigned int __bootdata_preserved(zlib_dfltcc_support);
 EXPORT_SYMBOL(zlib_dfltcc_support);




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux