• Tyrel Datwyler's avatar
    powerpc/pseries: add missing cpumask.h include file · 8dce6b22
    Tyrel Datwyler authored
    Build error is encountered when inlcuding <asm/rtas.h> if no explicit or
    implicit include of cpumask.h exists in the including file.
    
    In file included from arch/powerpc/platforms/pseries/hotplug-pci.c:3:0:
    ./arch/powerpc/include/asm/rtas.h:360:34: error: unknown type name 'cpumask_var_t'
     extern int rtas_online_cpus_mask(cpumask_var_t cpus);
                                      ^
    ./arch/powerpc/include/asm/rtas.h:361:35: error: unknown type name 'cpumask_var_t'
     extern int rtas_offline_cpus_mask(cpumask_var_t cpus);
    
    Fixes: 120496ac ("powerpc: Bring all threads online prior to migration/hibernation")
    Signed-off-by: default avatarTyrel Datwyler <tyreld@linux.vnet.ibm.com>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    8dce6b22
rtas.h 15.1 KB