summaryrefslogtreecommitdiff
path: root/drivers/edac/edac_mc_sysfs.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2015-03-23 14:17:56 +0300
committerJames Hogan <james.hogan@imgtec.com>2015-03-23 15:32:37 +0300
commit0164a711c97b0beeb7994b7d32ccddf586b6d81a (patch)
tree77f2335e48a7faf8d469fd91171546b93b43c841 /drivers/edac/edac_mc_sysfs.c
parent9eccca0843205f87c00404b663188b88eb248051 (diff)
downloadlinux-0164a711c97b0beeb7994b7d32ccddf586b6d81a.tar.xz
metag: Fix ioremap_wc/ioremap_cached build errors
When ioremap_wc() or ioremap_cached() are used without first including asm/pgtable.h, the _PAGE_CACHEABLE or _PAGE_WR_COMBINE definitions aren't found, resulting in build errors like the following (in next-20150323 due to "lib: devres: add a helper function for ioremap_wc"): lib/devres.c: In function ‘devm_ioremap_wc’: lib/devres.c:91: error: ‘_PAGE_WR_COMBINE’ undeclared We can't easily include asm/pgtable.h in asm/io.h due to dependency problems, so split out the _PAGE_* definitions from asm/pgtable.h into a separate asm/pgtable-bits.h header (as a couple of other architectures already do), and include that in io.h instead. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: linux-metag@vger.kernel.org Cc: Abhilash Kesavan <a.kesavan@samsung.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/edac/edac_mc_sysfs.c')
0 files changed, 0 insertions, 0 deletions