diff options
author | Helge Deller <deller@gmx.de> | 2022-05-17 17:01:12 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-05-23 13:44:24 +0200 |
commit | be6aee1392c46cd6f537aea75b1ce7ec427d36f4 (patch) | |
tree | 393f9632c3986482a85059bb8ff5b597ce70103a /arch/parisc | |
parent | 44eeb9b56774c6f87155132a92252410e4610384 (diff) |
parisc: Fix wrong comment for shr macro
The comment that the source and target register can not be the same is
wrong. Instead on PA2.0 usage of extru can clobber upper 32-bits.
This patch fixes the comment.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/include/asm/assembly.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/assembly.h b/arch/parisc/include/asm/assembly.h index ea0cb318b13d..be784b41048c 100644 --- a/arch/parisc/include/asm/assembly.h +++ b/arch/parisc/include/asm/assembly.h @@ -143,7 +143,7 @@ depd,z \r, 63-(\sa), 64-(\sa), \t .endm - /* Shift Right - note the r and t can NOT be the same! */ + /* Shift Right for 32-bit. Clobbers upper 32-bit on PA2.0. */ .macro shr r, sa, t extru \r, 31-(\sa), 32-(\sa), \t .endm |