]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Define depi_safe macro
authorJohn David Anglin <dave.anglin@bell.net>
Tue, 21 Dec 2021 20:04:53 +0000 (15:04 -0500)
committerHelge Deller <deller@gmx.de>
Fri, 7 Jan 2022 00:29:20 +0000 (01:29 +0100)
commitb64d493f320680554141e9a6027fd7ae00b47087
tree9f5b2b905e69adfe95030fa02ca4d818b36624f7
parent081a75d3e28f80a08a69148aeb24ab8dde8d422c
parisc: Define depi_safe macro

The depi instruction is similar to the extru instruction on 64-bit machines.
It leaves the most-significant 32 bits of the target register in an undefined
state.  On 64-bit machines, the macro uses depdi to perform safe deposits in
the least-significant 32 bits.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/assembly.h