[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] arm: const-correctness in virt_to_maddr
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1354278023 0 # Node ID 8037099671f30824f3d7f229f223e1e7fbf12d0f # Parent ee9c6e49f20aa6cfbd2f8e33a441496a4843f725 arm: const-correctness in virt_to_maddr Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: Acked-by: Tim Deegan <tim@xxxxxxx> Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- diff -r ee9c6e49f20a -r 8037099671f3 xen/include/asm-arm/mm.h --- a/xen/include/asm-arm/mm.h Fri Nov 30 12:20:22 2012 +0000 +++ b/xen/include/asm-arm/mm.h Fri Nov 30 12:20:23 2012 +0000 @@ -179,7 +179,7 @@ extern void clear_fixmap(unsigned map); #define paddr_to_pdx(pa) pfn_to_pdx(paddr_to_pfn(pa)) -static inline paddr_t virt_to_maddr(void *va) +static inline paddr_t virt_to_maddr(const void *va) { uint64_t par = va_to_par((uint32_t)va); return (par & PADDR_MASK & PAGE_MASK) | ((unsigned long) va & ~PAGE_MASK); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |