Ignore:
Timestamp:
Mar 15, 2017, 2:42:58 AM (4 months ago)
Author:
brainslayer
Message:

use new squashfs in all kernels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.4/arch/s390/kernel/setup.c

    r29439 r31662  
    806806        struct sysinfo_3_2_2 *vmms;
    807807
    808         vmms = (struct sysinfo_3_2_2 *) alloc_page(GFP_KERNEL);
    809         if (vmms && stsi(vmms, 3, 2, 2) == 0 && vmms->count)
    810                 add_device_randomness(&vmms, vmms->count);
    811         free_page((unsigned long) vmms);
     808        vmms = (struct sysinfo_3_2_2 *) memblock_alloc(PAGE_SIZE, PAGE_SIZE);
     809        if (stsi(vmms, 3, 2, 2) == 0 && vmms->count)
     810                add_device_randomness(&vmms->vm, sizeof(vmms->vm[0]) * vmms->count);
     811        memblock_free((unsigned long) vmms, PAGE_SIZE);
    812812}
    813813
Note: See TracChangeset for help on using the changeset viewer.