s390/smp: make absolute lowcore / cpu restart parameter accesses more robust
[deliverable/linux.git] / arch / s390 / kernel / os_info.c
index 95fa5ac6c4cedbf6d287ca25708b906cb1f35c4c..46480d81df00029aa395f39861a7d40dd7f49bde 100644 (file)
@@ -60,7 +60,7 @@ void __init os_info_init(void)
        os_info.version_minor = OS_INFO_VERSION_MINOR;
        os_info.magic = OS_INFO_MAGIC;
        os_info.csum = os_info_csum(&os_info);
-       memcpy_absolute(&S390_lowcore.os_info, &ptr, sizeof(ptr));
+       mem_assign_absolute(S390_lowcore.os_info, (unsigned long) ptr);
 }
 
 #ifdef CONFIG_CRASH_DUMP
This page took 0.031063 seconds and 5 git commands to generate.