From d66b2863226cdbfe93f2965097ea40a6c16720e7 Mon Sep 17 00:00:00 2001 From: Hugh Dickins Date: Tue, 21 Jun 2005 17:15:09 -0700 Subject: [PATCH] --- yaml --- r: 2466 b: refs/heads/master c: 7c2f3fda5666c280bcd00ac3b86963270b23e796 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/oss/rme96xx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 68a38bd7578f..e2b9ca3430f2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 334795eca421287c41c257992027d29659dc0f97 +refs/heads/master: 7c2f3fda5666c280bcd00ac3b86963270b23e796 diff --git a/trunk/sound/oss/rme96xx.c b/trunk/sound/oss/rme96xx.c index 76774bbc1436..b4278eecc917 100644 --- a/trunk/sound/oss/rme96xx.c +++ b/trunk/sound/oss/rme96xx.c @@ -807,7 +807,7 @@ static void* busmaster_malloc(int size) { struct page* page, *last_page; page = virt_to_page(buf); - last_page = virt_to_page(buf + (1 << pg)); + last_page = page + (1 << pg); DBG(printk("setting reserved bit\n")); while (page < last_page) { SetPageReserved(page);