projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
arm64
/
include
/
asm
/
compat.h
diff --git
a/arch/arm64/include/asm/compat.h
b/arch/arm64/include/asm/compat.h
index 899af807ef0ff3d789491d6e0ee8d9684886f849..a79da08994f2fa8d8503a0a5ab8cc628abde52fd 100644
(file)
--- a/
arch/arm64/include/asm/compat.h
+++ b/
arch/arm64/include/asm/compat.h
@@
-191,6
+191,13
@@
typedef struct compat_siginfo {
compat_long_t _band; /* POLL_IN, POLL_OUT, POLL_MSG */
int _fd;
} _sigpoll;
compat_long_t _band; /* POLL_IN, POLL_OUT, POLL_MSG */
int _fd;
} _sigpoll;
+
+ /* SIGSYS */
+ struct {
+ compat_uptr_t _call_addr; /* calling user insn */
+ int _syscall; /* triggering system call number */
+ unsigned int _arch; /* AUDIT_ARCH_* of syscall */
+ } _sigsys;
} _sifields;
} compat_siginfo_t;
} _sifields;
} compat_siginfo_t;
@@
-214,7
+221,7
@@
static inline compat_uptr_t ptr_to_compat(void __user *uptr)
return (u32)(unsigned long)uptr;
}
return (u32)(unsigned long)uptr;
}
-#define compat_user_stack_pointer() (
current_pt_regs()->compat_sp
)
+#define compat_user_stack_pointer() (
user_stack_pointer(current_pt_regs())
)
static inline void __user *arch_compat_alloc_user_space(long len)
{
static inline void __user *arch_compat_alloc_user_space(long len)
{
@@
-291,11
+298,6
@@
static inline int is_compat_thread(struct thread_info *thread)
#else /* !CONFIG_COMPAT */
#else /* !CONFIG_COMPAT */
-static inline int is_compat_task(void)
-{
- return 0;
-}
-
static inline int is_compat_thread(struct thread_info *thread)
{
return 0;
static inline int is_compat_thread(struct thread_info *thread)
{
return 0;