Files
linux/arch/arm/include/asm
Russell King b713aa0b15 ARM: fix asm/memory.h build error
Jason Gunthorpe reports a build failure when ARM_PATCH_PHYS_VIRT is
not defined:

In file included from arch/arm/include/asm/page.h:163:0,
                 from include/linux/mm_types.h:16,
                 from include/linux/sched.h:24,
                 from arch/arm/kernel/asm-offsets.c:13:
arch/arm/include/asm/memory.h: In function '__virt_to_phys':
arch/arm/include/asm/memory.h:244:40: error: 'PHYS_OFFSET' undeclared (first use in this function)
arch/arm/include/asm/memory.h:244:40: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/include/asm/memory.h: In function '__phys_to_virt':
arch/arm/include/asm/memory.h:249:13: error: 'PHYS_OFFSET' undeclared (first use in this function)

Fixes: ca5a45c06c ("ARM: mm: use phys_addr_t appropriately in p2v and v2p conversions")
Tested-By: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2013-12-13 20:25:30 +00:00
..
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-07-05 09:50:55 +01:00
2009-03-15 21:01:20 -04:00
2011-03-31 11:26:23 -03:00
2013-04-17 21:38:10 +02:00
2011-03-31 11:26:23 -03:00
2012-09-14 09:21:59 -05:00
2012-09-14 13:53:39 +00:00
2013-04-17 21:38:10 +02:00
2012-07-24 15:27:28 +08:00
2013-10-12 17:45:30 -07:00
2013-01-23 13:29:17 -05:00
2013-12-13 20:25:30 +00:00
2013-07-08 22:08:51 +01:00
2012-02-23 20:19:04 -07:00
2013-11-15 09:32:16 +09:00
2013-10-09 20:04:08 -05:00
2013-05-21 14:24:11 +00:00
2013-04-17 21:38:10 +02:00
2010-10-01 22:32:18 -04:00
2008-11-27 12:37:59 +00:00
2012-08-08 16:34:01 +00:00
2011-03-31 11:26:23 -03:00
2011-07-12 11:19:29 -05:00