diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-05 11:31:15 -0800 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-06 12:31:51 -0800 |
commit | 6cf7150084500962b8e225e2409ec01ed06a2c71 (patch) | |
tree | a0ebbad726a9c6f86daf44c22c2e82c5c9d7c874 /arch/x86/include/asm/pgtable.h | |
parent | 7325cc2e333cdaaabd2103552458876ea85adb33 (diff) | |
download | kernel_goldelico_gta04-6cf7150084500962b8e225e2409ec01ed06a2c71.zip kernel_goldelico_gta04-6cf7150084500962b8e225e2409ec01ed06a2c71.tar.gz kernel_goldelico_gta04-6cf7150084500962b8e225e2409ec01ed06a2c71.tar.bz2 |
x86: unify io_remap_pfn_range
Impact: cleanup
Unify io_remap_pfn_range. Don't demacro yet.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/include/asm/pgtable.h')
-rw-r--r-- | arch/x86/include/asm/pgtable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index 18afcd3..9754d06 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h @@ -524,6 +524,9 @@ static inline unsigned long pages_to_mb(unsigned long npg) return npg >> (20 - PAGE_SHIFT); } +#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ + remap_pfn_range(vma, vaddr, pfn, size, prot) + #if PAGETABLE_LEVELS > 2 static inline int pud_none(pud_t pud) { |