commit | a141cca3892bb391d17a73dae917ad51d40ff69a | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Wed Jul 27 20:48:36 2016 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Aug 01 11:15:00 2016 +1000 |
tree | 63a5057ac076031298f8da2499a5ba7301cfcf1d | |
parent | bab4c8de6289b4615c21ddf0400397d03ce1863c [diff] |
powerpc/mm: Add early_[cpu|mmu]_has_feature() In later patches, we will be switching CPU and MMU feature checks to use static keys. For checks in early boot before jump label is initialized we need a variant of [cpu|mmu]_has_feature() that doesn't use jump labels. So create those called, unimaginatively, early_[cpu|mmu]_has_feature(). Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>