summaryrefslogtreecommitdiff
path: root/src/arch/arm/v7
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-05-27 21:27:13 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-05-27 21:27:13 (GMT)
commitbfaf16a1957cdbc58f92ee8859551661c3c0dcce (patch)
treeabf55065b89288dd08bc3fc444290e56db94b303 /src/arch/arm/v7
parentac2906c17089d3f5fa3b7ef5988a3d24a8c6c542 (diff)
Fixed a mistake in a previous fix.
Diffstat (limited to 'src/arch/arm/v7')
-rw-r--r--src/arch/arm/v7/pseudo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/v7/pseudo.c b/src/arch/arm/v7/pseudo.c
index 6f2451b..8487d6d 100644
--- a/src/arch/arm/v7/pseudo.c
+++ b/src/arch/arm/v7/pseudo.c
@@ -603,7 +603,7 @@ bool armv7_shift_c(uint32_t x, unsigned int n, SRType type, unsigned int amount,
if (amount == 0)
{
- *value = 0;
+ *value = x;
return true;
}