• Andrew Morton's avatar
    [PATCH] fix gcc-3.4 warning in percpu code · 7ce3f0f7
    Andrew Morton authored
    From: Rusty Russell <rusty@rustcorp.com.au>
    
    It's complaining about:
    
    #define per_cpu(var, cpu)			((void)cpu, per_cpu__##var)
    
    There are several ways of fixing this, but the simplest is:
    
    #define per_cpu(var, cpu)			(*((void)cpu, &per_cpu__##var))
    7ce3f0f7
percpu.h 1.29 KB