diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-12 19:17:19 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-12 19:17:19 +0200 |
commit | ad41a1e0cab07c5125456e8d38e5b1ab148d04aa (patch) | |
tree | 2d0757baeb75823a2f0488e9f35b0ca03f975337 /arch | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm (diff) | |
parent | CRIS: Define io_remap_pfn_range as remap_pfn_range (diff) | |
download | linux-ad41a1e0cab07c5125456e8d38e5b1ab148d04aa.tar.xz linux-ad41a1e0cab07c5125456e8d38e5b1ab148d04aa.zip |
Merge branch 'io_remap_pfn_range' of git://www.jni.nu/cris
* 'io_remap_pfn_range' of git://www.jni.nu/cris:
CRIS: Define io_remap_pfn_range as remap_pfn_range
Diffstat (limited to 'arch')
-rw-r--r-- | arch/cris/include/asm/pgtable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/cris/include/asm/pgtable.h b/arch/cris/include/asm/pgtable.h index 99ea6cd1b143..f63d6fccbc6c 100644 --- a/arch/cris/include/asm/pgtable.h +++ b/arch/cris/include/asm/pgtable.h @@ -260,6 +260,9 @@ static inline pgd_t * pgd_offset(const struct mm_struct *mm, unsigned long addre #define pgd_ERROR(e) \ printk("%s:%d: bad pgd %p(%08lx).\n", __FILE__, __LINE__, &(e), pgd_val(e)) +#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ + remap_pfn_range(vma, vaddr, pfn, size, prot) + extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; /* defined in head.S */ |