]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/setup: Fix __pa/__va for modules under non-GPL licenses
authorVasily Gorbik <gor@linux.ibm.com>
Thu, 11 Jul 2024 13:50:26 +0000 (15:50 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 23 Jul 2024 13:54:58 +0000 (15:54 +0200)
commite188e5d5ffd01d484b5255b88739fcf67b300223
tree50b0ff516808d31880345bf30875489cf5956ab1
parentab42fcb511fd9d241bbab7cc3ca04e34e9fc0666
s390/setup: Fix __pa/__va for modules under non-GPL licenses

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@linux.ibm.com>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/setup.c