• Geert Uytterhoeven's avatar
    cpumask: Fix generate_sched_domains() for UP · e1b8090b
    Geert Uytterhoeven authored
    Commit acc3f5d7 ("cpumask:
    Partition_sched_domains takes array of cpumask_var_t") changed
    the function signature of generate_sched_domains() for the
    CONFIG_SMP=y case, but forgot to update the corresponding
    function for the CONFIG_SMP=n case, causing:
    
      kernel/cpuset.c:2073: warning: passing argument 1 of 'generate_sched_domains' from incompatible pointer type
    Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    LKML-Reference: <alpine.DEB.2.00.0912062038070.5693@ayla.of.borg>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    e1b8090b
cpuset.c 71.6 KB