Skip to content
  • Frederic Weisbecker's avatar
    hw_breakpoints: Fix percpu build failure · 777d0411
    Frederic Weisbecker authored
    
    
    Fix this build error:
    
       kernel/hw_breakpoint.c:58:1: error: pasting "__pcpu_scope_" and "*" does not give a valid preprocessing token
    
    It happens if CONFIG_DEBUG_FORCE_WEAK_PER_CPU, because we concatenate
    someting with the name and we have the "*" in the name.
    
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Paul Mundt <lethal@linux-sh.org>
    Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
    Cc: K. Prasad <prasad@linux.vnet.ibm.com>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    LKML-Reference: <20100503133942.GA5497@nowhere>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    777d0411