aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/oss/rme96xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/rme96xx.c b/sound/oss/rme96xx.c
index 76774bbc1436..b4278eecc917 100644
--- a/sound/oss/rme96xx.c
+++ b/sound/oss/rme96xx.c
@@ -807,7 +807,7 @@ static void* busmaster_malloc(int size) {
807 struct page* page, *last_page; 807 struct page* page, *last_page;
808 808
809 page = virt_to_page(buf); 809 page = virt_to_page(buf);
810 last_page = virt_to_page(buf + (1 << pg)); 810 last_page = page + (1 << pg);
811 DBG(printk("setting reserved bit\n")); 811 DBG(printk("setting reserved bit\n"));
812 while (page < last_page) { 812 while (page < last_page) {
813 SetPageReserved(page); 813 SetPageReserved(page);