]> git.baikalelectronics.ru Git - kernel.git/commit
parisc/unaligned: Use EFAULT fixup handler in unaligned handlers
authorHelge Deller <deller@gmx.de>
Fri, 18 Feb 2022 23:53:05 +0000 (00:53 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 11 Mar 2022 18:49:31 +0000 (19:49 +0100)
commit753a58aa99777735e61a5cfbaae077dc3aa5acb3
tree8b889dccd1fde16f4c5b35620c9ae456d4d70c74
parent6055de8b76037cfda6121b6f5d72876db4c7ae35
parisc/unaligned: Use EFAULT fixup handler in unaligned handlers

Convert the inline assembly code to use the automatic EFAULT exception
handler. With that the fixup code can be dropped.

The other change is to allow double-word only when a 64-bit kernel is
used instead of depending on CONFIG_PA20.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/unaligned.c