diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-09-24 13:49:52 -0700 |
---|---|---|
committer | ard <ard.biesheuvel@linaro.org> | 2015-12-13 19:18:30 +0100 |
commit | da58fb6571bf40e5b2287d6aa3bbca04965f5677 (patch) | |
tree | c12a192ebd7969626e4ab79d46360779cd6f9b93 /arch/arm/include/asm/mmu_context.h | |
parent | 09414d00a137cf7f42b6dc7415f346258d60e8da (diff) | |
download | linux-da58fb6571bf40e5b2287d6aa3bbca04965f5677.tar.bz2 |
ARM: wire up UEFI init and runtime support
This adds support to the kernel proper for booting via UEFI. It shares
most of the code with arm64, so this patch mostly just wires it up for
use with ARM.
Note that this does not include the EFI stub, it is added in a subsequent
patch.
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/mmu_context.h')
-rw-r--r-- | arch/arm/include/asm/mmu_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mmu_context.h b/arch/arm/include/asm/mmu_context.h index 9b32f76bb0dd..432ce8176498 100644 --- a/arch/arm/include/asm/mmu_context.h +++ b/arch/arm/include/asm/mmu_context.h @@ -26,7 +26,7 @@ void __check_vmalloc_seq(struct mm_struct *mm); #ifdef CONFIG_CPU_HAS_ASID void check_and_switch_context(struct mm_struct *mm, struct task_struct *tsk); -#define init_new_context(tsk,mm) ({ atomic64_set(&mm->context.id, 0); 0; }) +#define init_new_context(tsk,mm) ({ atomic64_set(&(mm)->context.id, 0); 0; }) #ifdef CONFIG_ARM_ERRATA_798181 void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, |