diff options
-rw-r--r-- | sound/core/pcm_native.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index a870fe696578..5df0d21f18b3 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c | |||
@@ -3162,9 +3162,7 @@ int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, | |||
3162 | long size; | 3162 | long size; |
3163 | unsigned long offset; | 3163 | unsigned long offset; |
3164 | 3164 | ||
3165 | #ifdef pgprot_noncached | ||
3166 | area->vm_page_prot = pgprot_noncached(area->vm_page_prot); | 3165 | area->vm_page_prot = pgprot_noncached(area->vm_page_prot); |
3167 | #endif | ||
3168 | area->vm_flags |= VM_IO; | 3166 | area->vm_flags |= VM_IO; |
3169 | size = area->vm_end - area->vm_start; | 3167 | size = area->vm_end - area->vm_start; |
3170 | offset = area->vm_pgoff << PAGE_SHIFT; | 3168 | offset = area->vm_pgoff << PAGE_SHIFT; |