mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 18:54:09 +08:00
io-mapping: move asm include inside the config option
nouveau starting using these APIs, the first on non-x86 hw, and this include isn't required on anything with real amounts of vmalloc space. this fixes a build problem on powerpc. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
71beefe8c0
commit
31ce4bfdfd
@ -22,7 +22,6 @@
|
|||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
#include <asm/iomap.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The io_mapping mechanism provides an abstraction for mapping
|
* The io_mapping mechanism provides an abstraction for mapping
|
||||||
@ -33,6 +32,8 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_HAVE_ATOMIC_IOMAP
|
#ifdef CONFIG_HAVE_ATOMIC_IOMAP
|
||||||
|
|
||||||
|
#include <asm/iomap.h>
|
||||||
|
|
||||||
struct io_mapping {
|
struct io_mapping {
|
||||||
resource_size_t base;
|
resource_size_t base;
|
||||||
unsigned long size;
|
unsigned long size;
|
||||||
|
Loading…
Reference in New Issue
Block a user