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

use new squashfs in all kernels

File:
1 edited

Legend:

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

    r31574 r31662  
    820820        struct sysinfo_3_2_2 *vmms;
    821821
    822         vmms = (struct sysinfo_3_2_2 *) alloc_page(GFP_KERNEL);
    823         if (vmms && stsi(vmms, 3, 2, 2) == 0 && vmms->count)
    824                 add_device_randomness(&vmms, vmms->count);
    825         free_page((unsigned long) vmms);
     822        vmms = (struct sysinfo_3_2_2 *) memblock_alloc(PAGE_SIZE, PAGE_SIZE);
     823        if (stsi(vmms, 3, 2, 2) == 0 && vmms->count)
     824                add_device_randomness(&vmms->vm, sizeof(vmms->vm[0]) * vmms->count);
     825        memblock_free((unsigned long) vmms, PAGE_SIZE);
    826826}
    827827
Note: See TracChangeset for help on using the changeset viewer.