From b4b20ad881f5a5c19ae9199547ddbb00fa4825eb Mon Sep 17 00:00:00 2001 From: Russell King Date: Sun, 13 Apr 2014 18:57:29 +0100 Subject: ARM: provide common method to clear bits in CPU control register Several places open-code this manipulation, let's consolidate this. Signed-off-by: Russell King --- arch/arm/mm/mm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/mm/mm.h') diff --git a/arch/arm/mm/mm.h b/arch/arm/mm/mm.h index 7ea641b..ce727d4 100644 --- a/arch/arm/mm/mm.h +++ b/arch/arm/mm/mm.h @@ -2,6 +2,8 @@ #include #include +#include + /* the upper-most page table pointer */ extern pmd_t *top_pmd; @@ -93,3 +95,5 @@ extern phys_addr_t arm_lowmem_limit; void __init bootmem_init(void); void arm_mm_memblock_reserve(void); void dma_contiguous_remap(void); + +unsigned long __clear_cr(unsigned long mask); -- cgit v1.1