diff options
Diffstat (limited to 'drivers/acpi/acpica/utmath.c')
-rw-r--r-- | drivers/acpi/acpica/utmath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/utmath.c b/drivers/acpi/acpica/utmath.c index 5f9c680076c4..2055a858e5f5 100644 --- a/drivers/acpi/acpica/utmath.c +++ b/drivers/acpi/acpica/utmath.c | |||
@@ -134,7 +134,7 @@ acpi_status acpi_ut_short_shift_left(u64 operand, u32 count, u64 *out_result) | |||
134 | 134 | ||
135 | if ((count & 63) >= 32) { | 135 | if ((count & 63) >= 32) { |
136 | operand_ovl.part.hi = operand_ovl.part.lo; | 136 | operand_ovl.part.hi = operand_ovl.part.lo; |
137 | operand_ovl.part.lo ^= operand_ovl.part.lo; | 137 | operand_ovl.part.lo = 0; |
138 | count = (count & 63) - 32; | 138 | count = (count & 63) - 32; |
139 | } | 139 | } |
140 | ACPI_SHIFT_LEFT_64_BY_32(operand_ovl.part.hi, | 140 | ACPI_SHIFT_LEFT_64_BY_32(operand_ovl.part.hi, |
@@ -171,7 +171,7 @@ acpi_status acpi_ut_short_shift_right(u64 operand, u32 count, u64 *out_result) | |||
171 | 171 | ||
172 | if ((count & 63) >= 32) { | 172 | if ((count & 63) >= 32) { |
173 | operand_ovl.part.lo = operand_ovl.part.hi; | 173 | operand_ovl.part.lo = operand_ovl.part.hi; |
174 | operand_ovl.part.hi ^= operand_ovl.part.hi; | 174 | operand_ovl.part.hi = 0; |
175 | count = (count & 63) - 32; | 175 | count = (count & 63) - 32; |
176 | } | 176 | } |
177 | ACPI_SHIFT_RIGHT_64_BY_32(operand_ovl.part.hi, | 177 | ACPI_SHIFT_RIGHT_64_BY_32(operand_ovl.part.hi, |