Skip to content
  • Frederic Weisbecker's avatar
    hw-breakpoints: Fix misordered ifdef · fa7c27ee
    Frederic Weisbecker authored
    
    
    Fix a misplaced ifdef. We need the perf event headers also in
    off-case to avoid the following build error:
    
     include/linux/hw_breakpoint.h:94: error: expected declaration specifiers or '...' before 'perf_callback_t'
     include/linux/hw_breakpoint.h:102: error: expected declaration specifiers or '...' before 'perf_callback_t'
     include/linux/hw_breakpoint.h:109: error: expected declaration specifiers or '...' before 'perf_callback_t'
     include/linux/hw_breakpoint.h:116: error: expected declaration specifiers or '...' before 'perf_callback_t'
    
    Reported-by: default avatarKisskb-bot by Michael Ellerman <michael@ellerman.id.au>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Prasad <prasad@linux.vnet.ibm.com>
    LKML-Reference: <1259011812-8093-1-git-send-email-fweisbec@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    fa7c27ee