2009-01-04 10:34:21

by Trilok Soni

[permalink] [raw]
Subject: videobuf-dma-sg.c: build failure on latest Jan 3,2009 tip

Mauro,

Build failure on latest tip of linux-2.6 mainline kernel while doing
it for n800 tablet.

CC drivers/media/video/videobuf-core.o
CC drivers/media/video/videobuf-dma-sg.o
drivers/media/video/videobuf-dma-sg.c: In function 'videobuf_vm_fault':
drivers/media/video/videobuf-dma-sg.c:391: error: implicit declaration
of function 'clear_user_page'
make[3]: *** [drivers/media/video/videobuf-dma-sg.o] Error 1
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2


tip commit id:
commit 7d3b56ba37a95f1f370f50258ed3954c304c524b

--
---Trilok Soni
http://triloksoni.wordpress.com
http://www.linkedin.com/in/triloksoni


2009-01-04 21:55:35

by Guennadi Liakhovetski

[permalink] [raw]
Subject: Re: videobuf-dma-sg.c: build failure on latest Jan 3,2009 tip

On Sun, 4 Jan 2009, Trilok Soni wrote:

> Mauro,
>
> Build failure on latest tip of linux-2.6 mainline kernel while doing
> it for n800 tablet.
>
> CC drivers/media/video/videobuf-core.o
> CC drivers/media/video/videobuf-dma-sg.o
> drivers/media/video/videobuf-dma-sg.c: In function 'videobuf_vm_fault':
> drivers/media/video/videobuf-dma-sg.c:391: error: implicit declaration
> of function 'clear_user_page'
> make[3]: *** [drivers/media/video/videobuf-dma-sg.o] Error 1
> make[2]: *** [drivers/media/video] Error 2
> make[1]: *** [drivers/media] Error 2
> make: *** [drivers] Error 2
>
>
> tip commit id:
> commit 7d3b56ba37a95f1f370f50258ed3954c304c524b

This

http://marc.info/?l=linux-video&m=123101763514517&w=2

should be the fix for the problem.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer