aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 293fa0677fba..3cbf3cfff4f0 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -480,6 +480,15 @@ extern int func_ptr_is_kernel_text(void *ptr);
480 480
481unsigned long int_sqrt(unsigned long); 481unsigned long int_sqrt(unsigned long);
482 482
483#if BITS_PER_LONG < 64
484u32 int_sqrt64(u64 x);
485#else
486static inline u32 int_sqrt64(u64 x)
487{
488 return (u32)int_sqrt(x);
489}
490#endif
491
483extern void bust_spinlocks(int yes); 492extern void bust_spinlocks(int yes);
484extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */ 493extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */
485extern int panic_timeout; 494extern int panic_timeout;