|
@@ -479,6 +479,15 @@ extern int func_ptr_is_kernel_text(void *ptr);
|
|
|
|
|
|
unsigned long int_sqrt(unsigned long);
|
|
|
|
|
|
+#if BITS_PER_LONG < 64
|
|
|
+u32 int_sqrt64(u64 x);
|
|
|
+#else
|
|
|
+static inline u32 int_sqrt64(u64 x)
|
|
|
+{
|
|
|
+ return (u32)int_sqrt(x);
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
extern void bust_spinlocks(int yes);
|
|
|
extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */
|
|
|
extern int panic_timeout;
|