diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2016-01-26 05:58:16 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-02-25 05:33:08 -0500 |
commit | 28c5dcb22f90113dea101b0421bc6971bccb7a74 (patch) | |
tree | 2f65fe1d6e2dc9307c1fff9455767494329506cc /arch/arm64/mm/context.c | |
parent | ff96f7bc7bf6393eef8ff2bde1279715ce13343a (diff) |
arm64: Rename cpuid_feature field extract routines
Now that we have a clear understanding of the sign of a feature,
rename the routines to reflect the sign, so that it is not misused.
The cpuid_feature_extract_field() now accepts a 'sign' parameter.
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/context.c')
-rw-r--r-- | arch/arm64/mm/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/mm/context.c b/arch/arm64/mm/context.c index 6b5783f6eb0e..6c989f06617f 100644 --- a/arch/arm64/mm/context.c +++ b/arch/arm64/mm/context.c | |||
@@ -45,7 +45,7 @@ static cpumask_t tlb_flush_pending; | |||
45 | static u32 get_cpu_asid_bits(void) | 45 | static u32 get_cpu_asid_bits(void) |
46 | { | 46 | { |
47 | u32 asid; | 47 | u32 asid; |
48 | int fld = cpuid_feature_extract_field(read_cpuid(SYS_ID_AA64MMFR0_EL1), | 48 | int fld = cpuid_feature_extract_unsigned_field(read_cpuid(SYS_ID_AA64MMFR0_EL1), |
49 | ID_AA64MMFR0_ASID_SHIFT); | 49 | ID_AA64MMFR0_ASID_SHIFT); |
50 | 50 | ||
51 | switch (fld) { | 51 | switch (fld) { |