aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/setup.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2017-10-13 12:59:22 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-10-18 14:11:36 +0200
commit608796ffe13855bb066bebbd58d8b86a49cb5c27 (patch)
tree90af43a41281508297c22f3576c0bb87050682a4 /arch/s390/kernel/setup.c
parents390/spinlock: use cpu alternatives to enable niai instruction (diff)
downloadlinux-dev-608796ffe13855bb066bebbd58d8b86a49cb5c27.tar.xz
linux-dev-608796ffe13855bb066bebbd58d8b86a49cb5c27.zip
s390/vdso: move boot_vdso_data to vdso.c
The boot_vdso_data variable is related to the vdso code, the magic of the initial vdso area for the early boot and the replacement of it in vdso_init should all be put into vdso.c. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r--arch/s390/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c
index c07e6d6a91cc..bf139f9e120e 100644
--- a/arch/s390/kernel/setup.c
+++ b/arch/s390/kernel/setup.c
@@ -349,7 +349,7 @@ static void __init setup_lowcore(void)
if (MACHINE_HAS_GS)
lc->mcesad |= bits;
}
- lc->vdso_per_cpu_data = (unsigned long) &lc->paste[0];
+ vdso_alloc_boot_cpu(lc);
lc->sync_enter_timer = S390_lowcore.sync_enter_timer;
lc->async_enter_timer = S390_lowcore.async_enter_timer;
lc->exit_timer = S390_lowcore.exit_timer;