diff options
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r-- | include/linux/compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h index a7877fa809fd..62bb76f91baf 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h | |||
@@ -65,6 +65,9 @@ | |||
65 | 65 | ||
66 | #endif /* CONFIG_HAVE_SYSCALL_WRAPPERS */ | 66 | #endif /* CONFIG_HAVE_SYSCALL_WRAPPERS */ |
67 | 67 | ||
68 | #ifndef compat_user_stack_pointer | ||
69 | #define compat_user_stack_pointer() current_user_stack_pointer() | ||
70 | #endif | ||
68 | #define compat_jiffies_to_clock_t(x) \ | 71 | #define compat_jiffies_to_clock_t(x) \ |
69 | (((unsigned long)(x) * COMPAT_USER_HZ) / HZ) | 72 | (((unsigned long)(x) * COMPAT_USER_HZ) / HZ) |
70 | 73 | ||