aboutsummaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2016-05-05 05:44:01 -0400
committerWill Deacon <will.deacon@arm.com>2016-05-06 07:46:53 -0400
commitab4db1f2244dfc5ecd7adf9927c29cd654cc14c6 (patch)
treececbda5d7d634e3f65ee35d24cf7335a32a0cd73 /security/commoncap.c
parent282aa7051b0169991b34716f0f22d9c2f59c46c4 (diff)
arm64: Replace hard-coded values in the pmd/pud_bad() macros
This patch replaces the hard-coded value 2 with PMD_TABLE_BIT in the pmd/pud_bad() macros. Note that using these macros on pmd_trans_huge() entries is giving incorrect results (pmd_none_or_trans_huge_or_clear_bad() correctly checks for pmd_trans_huge before pmd_bad). Additionally, white-space clean-up for pmd_mkclean(). Reviewed-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions