lkml.org 
[lkml]   [2002]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: OOPS 2.4.19-pre7-ac4 (Was: strange things in kernel 2.4.19-pre7-ac4 + preempt patch)
Could you try this patch, Bill came across it in rmap testing.

Regards,
Zwane

--- linux-2.4.19-pre-ac/drivers/char/drm/i810_dma.c.orig Mon May 13 18:27:40 2002
+++ linux-2.4.19-pre-ac/drivers/char/drm/i810_dma.c Mon May 13 18:28:37 2002
@@ -293,8 +293,8 @@
{
if (page) {
struct page *p = virt_to_page(page);
- put_page(p);
UnlockPage(p);
+ put_page(p);
free_page(page);
}
}
--- linux-2.4.19-pre-ac/drivers/char/drm-4.0/i810_dma.c.orig Mon May 13 18:37:37 2002
+++ linux-2.4.19-pre-ac/drivers/char/drm-4.0/i810_dma.c Mon May 13 18:38:03 2002
@@ -291,9 +291,9 @@
struct page * p = virt_to_page(page);
if(page == 0UL)
return;
-
+
+ UnlockPage(p);
put_page(p);
- UnlockPage(p);
free_page(page);
return;
}
--
http://function.linuxpower.ca



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.032 / U:3.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site