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)
 --- Zwane Mwaikambo <zwane@linux.realnet.co.sz>
wrote: > 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;
> }
>
> --

It doesn't work, I attached the oop log here...



=====
Steve Kieu

http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Save your important files online for easy access![unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.050 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site