diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-23 18:50:24 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-08-24 10:43:40 +0300 |
commit | bcaaa0c4310ebe1ab04274594916bbb2d82a49c8 (patch) | |
tree | 53292216c1f1b947b0f2d0ef82bc7138147dedd0 /block/blk-lib.c | |
parent | d5d0804f8f6d0c89913f6a2de5348adef8ec33e4 (diff) | |
download | linux-bcaaa0c4310ebe1ab04274594916bbb2d82a49c8.tar.xz |
io-mapping.h: s/PAGE_KERNEL_IO/PAGE_KERNEL/
PAGE_KERNEL_IO is an x86-ism. Though it is used to define the pgprot_t
used for the iomapped region, it itself is just PAGE_KERNEL. On all
other arches, PAGE_KERNEL_IO is undefined so in a general header we must
refrain from using it.
v2: include pgtable for pgprot_combine()
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: cafaf14a5d8f ("io-mapping: Always create a struct to hold metadata about the io-mapping")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: linux-mm@kvack.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20160823155024.22379-1-chris@chris-wilson.co.uk
(cherry picked from commit ac96b5566926af83463ddcf4655856033c092f26)
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions