diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-01-18 08:49:50 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-01-18 08:49:50 -0500 |
commit | 3e879d7bac705be4813a0ec9560cbe31db4b269f (patch) | |
tree | a3298a8f6758c3c8f99d3a1c01e12c7d3126549f | |
parent | 408bffd01cfcda2907b07fb86b3666e3db86fd82 (diff) |
ALSA: pcm - Remove unneeded ifdef pgprot_noncached
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-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; |