diff options
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/processor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/processor.h b/include/asm-powerpc/processor.h index a64198fcfd02..57643b5b782f 100644 --- a/include/asm-powerpc/processor.h +++ b/include/asm-powerpc/processor.h | |||
@@ -251,6 +251,10 @@ static inline unsigned long __pack_fe01(unsigned int fpmode) | |||
251 | #define cpu_relax() barrier() | 251 | #define cpu_relax() barrier() |
252 | #endif | 252 | #endif |
253 | 253 | ||
254 | /* Check that a certain kernel stack pointer is valid in task_struct p */ | ||
255 | int validate_sp(unsigned long sp, struct task_struct *p, | ||
256 | unsigned long nbytes); | ||
257 | |||
254 | /* | 258 | /* |
255 | * Prefetch macros. | 259 | * Prefetch macros. |
256 | */ | 260 | */ |