diff options
author | Will Deacon <will.deacon@arm.com> | 2012-11-30 18:34:25 (GMT) |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2012-12-05 11:20:03 (GMT) |
commit | 251db45336c8fb5fd0c36f71aabc6950e427110f (patch) | |
tree | da96296e521bb811ff79d3eab047ef6f47858f3e /arch/sparc/kernel/prom.h | |
parent | f2bd5d240635b15b5e32cd3c36ed0f4ad31e8442 (diff) | |
download | linux-fsl-qoriq-251db45336c8fb5fd0c36f71aabc6950e427110f.tar.xz |
arm64: vdso: fix clocksource mask when extracting bottom 56 bits
The generic timer clocksource has 56 bits of precision and as such must
be masked appropriately after we have read it. The current mask
generated by a movn instruction is off by 4 bits, so we accidentally
include the top 4 bits in the final value.
This patch fixes the broken mask.
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/sparc/kernel/prom.h')
0 files changed, 0 insertions, 0 deletions