diff options
Diffstat (limited to 'include/asm-powerpc/oprofile_impl.h')
-rw-r--r-- | include/asm-powerpc/oprofile_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/oprofile_impl.h b/include/asm-powerpc/oprofile_impl.h index b48d35e40172..338e6a7cff4a 100644 --- a/include/asm-powerpc/oprofile_impl.h +++ b/include/asm-powerpc/oprofile_impl.h | |||
@@ -11,6 +11,7 @@ | |||
11 | 11 | ||
12 | #ifndef _ASM_POWERPC_OPROFILE_IMPL_H | 12 | #ifndef _ASM_POWERPC_OPROFILE_IMPL_H |
13 | #define _ASM_POWERPC_OPROFILE_IMPL_H | 13 | #define _ASM_POWERPC_OPROFILE_IMPL_H |
14 | #ifdef __KERNEL__ | ||
14 | 15 | ||
15 | #define OP_MAX_COUNTER 8 | 16 | #define OP_MAX_COUNTER 8 |
16 | 17 | ||
@@ -133,4 +134,5 @@ static inline void ctr_write(unsigned int i, unsigned int val) | |||
133 | } | 134 | } |
134 | #endif /* !CONFIG_FSL_BOOKE */ | 135 | #endif /* !CONFIG_FSL_BOOKE */ |
135 | 136 | ||
137 | #endif /* __KERNEL__ */ | ||
136 | #endif /* _ASM_POWERPC_OPROFILE_IMPL_H */ | 138 | #endif /* _ASM_POWERPC_OPROFILE_IMPL_H */ |