Skip to content

Commit 6a54c97

Browse files
Vasily Gorbikgregkh
authored andcommitted
s390/setup: Fix __pa/__va for modules under non-GPL licenses
[ Upstream commit e188e5d ] 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: 7de0446 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 7368a86 commit 6a54c97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/s390/kernel/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ unsigned long __bootdata_preserved(max_mappable);
149149
struct physmem_info __bootdata(physmem_info);
150150

151151
struct vm_layout __bootdata_preserved(vm_layout);
152-
EXPORT_SYMBOL_GPL(vm_layout);
152+
EXPORT_SYMBOL(vm_layout);
153153
int __bootdata_preserved(__kaslr_enabled);
154154
unsigned int __bootdata_preserved(zlib_dfltcc_support);
155155
EXPORT_SYMBOL(zlib_dfltcc_support);

0 commit comments

Comments
 (0)