diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-24 13:26:40 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-12-11 13:53:14 +0400 |
commit | 2e2c9de207be043ee80161971c814d740759d3bc (patch) | |
tree | 8c818e8ea95b4c9cbfc9a25ab8719c12954d9f75 /arch/arm/mach-at91 | |
parent | 1fd15b879d0075c8916e52fb9e52522827433d1f (diff) | |
download | linux-2e2c9de207be043ee80161971c814d740759d3bc.tar.xz |
ARM: add permission annotations to MT_MEMORY* mapping types
Document the permissions which the various MT_MEMORY* mapping types
will provide.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c index 094b3459c288..2742e00ec5d6 100644 --- a/arch/arm/mach-at91/setup.c +++ b/arch/arm/mach-at91/setup.c @@ -81,7 +81,7 @@ void __init at91_init_sram(int bank, unsigned long base, unsigned int length) desc->pfn = __phys_to_pfn(base); desc->length = length; - desc->type = MT_MEMORY_NONCACHED; + desc->type = MT_MEMORY_RWX_NONCACHED; pr_info("AT91: sram at 0x%lx of 0x%x mapped at 0x%lx\n", base, length, desc->virtual); |