diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-24 05:26:40 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-12-11 04:53:14 -0500 |
commit | 2e2c9de207be043ee80161971c814d740759d3bc (patch) | |
tree | 8c818e8ea95b4c9cbfc9a25ab8719c12954d9f75 /arch/arm/mach-at91 | |
parent | 1fd15b879d0075c8916e52fb9e52522827433d1f (diff) |
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) | |||
81 | 81 | ||
82 | desc->pfn = __phys_to_pfn(base); | 82 | desc->pfn = __phys_to_pfn(base); |
83 | desc->length = length; | 83 | desc->length = length; |
84 | desc->type = MT_MEMORY_NONCACHED; | 84 | desc->type = MT_MEMORY_RWX_NONCACHED; |
85 | 85 | ||
86 | pr_info("AT91: sram at 0x%lx of 0x%x mapped at 0x%lx\n", | 86 | pr_info("AT91: sram at 0x%lx of 0x%x mapped at 0x%lx\n", |
87 | base, length, desc->virtual); | 87 | base, length, desc->virtual); |