]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 6637/1: Make the argument to virt_to_phys() "const volatile"
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 25 Jan 2011 10:18:25 +0000 (11:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 25 Jan 2011 21:18:03 +0000 (21:18 +0000)
commit429903db6d5bef3256d61a9e3be0fba3f9245270
tree18b5ddfc985a96c637e59ff3e5ce4672c277ff58
parent155559454c06975e3b233e1ca38abebd0d9f1e04
ARM: 6637/1: Make the argument to virt_to_phys() "const volatile"

Changing the virt_to_phys() argument to "const volatile void *" avoids
compiler warnings in some situations where this function is used.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/memory.h