Commit 3e879d7b authored by Takashi Iwai's avatar Takashi Iwai

ALSA: pcm - Remove unneeded ifdef pgprot_noncached

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 408bffd0
...@@ -3162,9 +3162,7 @@ int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, ...@@ -3162,9 +3162,7 @@ int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream,
long size; long size;
unsigned long offset; unsigned long offset;
#ifdef pgprot_noncached
area->vm_page_prot = pgprot_noncached(area->vm_page_prot); area->vm_page_prot = pgprot_noncached(area->vm_page_prot);
#endif
area->vm_flags |= VM_IO; area->vm_flags |= VM_IO;
size = area->vm_end - area->vm_start; size = area->vm_end - area->vm_start;
offset = area->vm_pgoff << PAGE_SHIFT; offset = area->vm_pgoff << PAGE_SHIFT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment