[GIT PULL] parisc syscall restart fix for v4.4

From: Helge Deller
Date: Fri Dec 25 2015 - 07:20:07 EST


Hi Linus,

please pull one late patch for the parisc architecture for kernel v4.4 from:

git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.4-4

The architectural design of parisc always uses two instructions to call kernel
syscalls (delayed branch feature). This means that the instruction following
the branch (located in the delay slot of the branch instruction) is executed
before control passes to the branch destination.
Depending on which assembler instruction and how it is used in usersapce in
the delay slot, this sometimes made restarted syscalls like futex() and poll()
failing with -ENOSYS.

Thanks,
Helge

----------------------------------------------------------------
Helge Deller (1):
parisc: Fix syscall restarts

arch/parisc/kernel/signal.c | 64 ++++++++++++++++++++++++++++++++++++---------
1 file changed, 52 insertions(+), 12 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/