projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'acpi-5.15-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[linux-2.6-microblaze.git]
/
arch
/
x86
/
um
/
stub_segv.c
diff --git
a/arch/x86/um/stub_segv.c
b/arch/x86/um/stub_segv.c
index
21836ea
..
f7eefba
100644
(file)
--- a/
arch/x86/um/stub_segv.c
+++ b/
arch/x86/um/stub_segv.c
@@
-11,9
+11,8
@@
void __attribute__ ((__section__ (".__syscall_stub")))
stub_segv_handler(int sig, siginfo_t *info, void *p)
{
void __attribute__ ((__section__ (".__syscall_stub")))
stub_segv_handler(int sig, siginfo_t *info, void *p)
{
-
int stack
;
+
struct faultinfo *f = get_stub_page()
;
ucontext_t *uc = p;
ucontext_t *uc = p;
- struct faultinfo *f = (void *)(((unsigned long)&stack) & ~(UM_KERN_PAGE_SIZE - 1));
GET_FAULTINFO_FROM_MC(*f, &uc->uc_mcontext);
trap_myself();
GET_FAULTINFO_FROM_MC(*f, &uc->uc_mcontext);
trap_myself();