diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-07-28 17:04:15 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-07-28 17:04:15 +0200 |
commit | 565f46dc4d0c12dda1353dbd76314614c7069c20 (patch) | |
tree | a9e933f56e4f935bc3bb6b0d270b6be789fed6a9 /arch/um/kernel/trap.c | |
parent | 4fd1f229c2bc39b7f35f2a9f9fb9892f2d665359 (diff) | |
parent | 9a3c4145af32125c5ee39c0272662b47307a8323 (diff) | |
download | blackbird-op-linux-565f46dc4d0c12dda1353dbd76314614c7069c20.tar.gz blackbird-op-linux-565f46dc4d0c12dda1353dbd76314614c7069c20.zip |
Merge tag 'v3.16-rc6' into next/dt
Update to Linux 3.16-rc6 as a dependency for the broadcom changes.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/um/kernel/trap.c')
-rw-r--r-- | arch/um/kernel/trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/trap.c b/arch/um/kernel/trap.c index 974b87474a99..5678c3571e7c 100644 --- a/arch/um/kernel/trap.c +++ b/arch/um/kernel/trap.c @@ -206,7 +206,7 @@ unsigned long segv(struct faultinfo fi, unsigned long ip, int is_user, int is_write = FAULT_WRITE(fi); unsigned long address = FAULT_ADDRESS(fi); - if (regs) + if (!is_user && regs) current->thread.segv_regs = container_of(regs, struct pt_regs, regs); if (!is_user && (address >= start_vm) && (address < end_vm)) { |