diff options
| -rw-r--r-- | arch/s390/crypto/crc32be-vx.S | 5 | ||||
| -rw-r--r-- | arch/s390/crypto/crc32le-vx.S | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/arch/s390/crypto/crc32be-vx.S b/arch/s390/crypto/crc32be-vx.S index e8077f0971f8..2bf01ba44107 100644 --- a/arch/s390/crypto/crc32be-vx.S +++ b/arch/s390/crypto/crc32be-vx.S | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | */ | 13 | */ |
| 14 | 14 | ||
| 15 | #include <linux/linkage.h> | 15 | #include <linux/linkage.h> |
| 16 | #include <asm/nospec-insn.h> | ||
| 16 | #include <asm/vx-insn.h> | 17 | #include <asm/vx-insn.h> |
| 17 | 18 | ||
| 18 | /* Vector register range containing CRC-32 constants */ | 19 | /* Vector register range containing CRC-32 constants */ |
| @@ -67,6 +68,8 @@ | |||
| 67 | 68 | ||
| 68 | .previous | 69 | .previous |
| 69 | 70 | ||
| 71 | GEN_BR_THUNK %r14 | ||
| 72 | |||
| 70 | .text | 73 | .text |
| 71 | /* | 74 | /* |
| 72 | * The CRC-32 function(s) use these calling conventions: | 75 | * The CRC-32 function(s) use these calling conventions: |
| @@ -203,6 +206,6 @@ ENTRY(crc32_be_vgfm_16) | |||
| 203 | 206 | ||
| 204 | .Ldone: | 207 | .Ldone: |
| 205 | VLGVF %r2,%v2,3 | 208 | VLGVF %r2,%v2,3 |
| 206 | br %r14 | 209 | BR_EX %r14 |
| 207 | 210 | ||
| 208 | .previous | 211 | .previous |
diff --git a/arch/s390/crypto/crc32le-vx.S b/arch/s390/crypto/crc32le-vx.S index d8c67a58c0c5..7d6f568bd3ad 100644 --- a/arch/s390/crypto/crc32le-vx.S +++ b/arch/s390/crypto/crc32le-vx.S | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| 16 | #include <linux/linkage.h> | 16 | #include <linux/linkage.h> |
| 17 | #include <asm/nospec-insn.h> | ||
| 17 | #include <asm/vx-insn.h> | 18 | #include <asm/vx-insn.h> |
| 18 | 19 | ||
| 19 | /* Vector register range containing CRC-32 constants */ | 20 | /* Vector register range containing CRC-32 constants */ |
| @@ -76,6 +77,7 @@ | |||
| 76 | 77 | ||
| 77 | .previous | 78 | .previous |
| 78 | 79 | ||
| 80 | GEN_BR_THUNK %r14 | ||
| 79 | 81 | ||
| 80 | .text | 82 | .text |
| 81 | 83 | ||
| @@ -264,6 +266,6 @@ crc32_le_vgfm_generic: | |||
| 264 | 266 | ||
| 265 | .Ldone: | 267 | .Ldone: |
| 266 | VLGVF %r2,%v2,2 | 268 | VLGVF %r2,%v2,2 |
| 267 | br %r14 | 269 | BR_EX %r14 |
| 268 | 270 | ||
| 269 | .previous | 271 | .previous |
