diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-04-20 18:36:05 -0400 | 
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-04-20 18:36:05 -0400 | 
| commit | 857c68f733eea07f11a061caea43a38fed61adb7 (patch) | |
| tree | 4567a9e91f717b22143ac1ccb0fb5323ac15afd3 /arch/mips/mm/highmem.c | |
| parent | 4741c336d27dec3ea68a35659abb8dc82b142388 (diff) | |
| parent | 402a26f0c040077ed6f941eefac5a6971f0d5f40 (diff) | |
Merge branch 'master'
Diffstat (limited to 'arch/mips/mm/highmem.c')
| -rw-r--r-- | arch/mips/mm/highmem.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/arch/mips/mm/highmem.c b/arch/mips/mm/highmem.c index 1f7b37b38f5c..0c544375b856 100644 --- a/arch/mips/mm/highmem.c +++ b/arch/mips/mm/highmem.c | |||
| @@ -83,6 +83,7 @@ void __kunmap_atomic(void *kvaddr, enum km_type type) | |||
| 83 | preempt_check_resched(); | 83 | preempt_check_resched(); | 
| 84 | } | 84 | } | 
| 85 | 85 | ||
| 86 | #ifndef CONFIG_LIMITED_DMA | ||
| 86 | /* | 87 | /* | 
| 87 | * This is the same as kmap_atomic() but can map memory that doesn't | 88 | * This is the same as kmap_atomic() but can map memory that doesn't | 
| 88 | * have a struct page associated with it. | 89 | * have a struct page associated with it. | 
| @@ -101,6 +102,7 @@ void *kmap_atomic_pfn(unsigned long pfn, enum km_type type) | |||
| 101 | 102 | ||
| 102 | return (void*) vaddr; | 103 | return (void*) vaddr; | 
| 103 | } | 104 | } | 
| 105 | #endif /* CONFIG_LIMITED_DMA */ | ||
| 104 | 106 | ||
| 105 | struct page *__kmap_atomic_to_page(void *ptr) | 107 | struct page *__kmap_atomic_to_page(void *ptr) | 
| 106 | { | 108 | { | 
