patch-2.0.12 linux/drivers/sound/soundcard.c

Next file: linux/fs/binfmt_elf.c
Previous file: linux/drivers/sound/sb_midi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.11/linux/drivers/sound/soundcard.c linux/drivers/sound/soundcard.c
@@ -289,7 +289,7 @@
 	      size, dmap->bytes_in_use);
     }
 
-  if (remap_page_range (vma_get_start (vma), virt_to_phys(dmap->raw_buf),
+  if (remap_page_range (vma_get_start (vma), (unsigned long)dmap->raw_buf,
 			vma_get_end (vma) - vma_get_start (vma),
 			vma_get_page_prot (vma)))
     return -EAGAIN;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov