Video For Linux on ppc32 in kernel 2.6
CONFIG_VIDEO_DEV triggers CONFIG_VIDEO_BUF. If compiled as module, video-buf.c wants clear_user_page(). This is a define on most archs (maps to clear_page()), on ppc32 it is an unexported function. This leads to unresolved symbols.
Should clear_user_page() be exported or should drivers/media/video/video-buf.c:videobuf_vm_nopage() do something else to achive similar results?
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Hi,
Quoted 4 lines
CONFIG_VIDEO_DEVtriggersCONFIG_VIDEO_BUF. If compiled as module,video-buf.cwantsclear_user_page(). This is a define on most archs (maps toclear_page()), on ppc32 it is an unexported function. This leads to unresolved symbols.
It's been fixed in BenH's tree since a few weeks.
(
http://ppc.bkbits.net:8080/linuxppc-2.5-benh/diffs/arch/ppc/kernel/[email protected] ) --
Colin
Ne disez pas disez, mais disez dites
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 11 lines · Colin Leroy
Hi,
Quoted 4 lines
CONFIG_VIDEO_DEVtriggersCONFIG_VIDEO_BUF. If compiled as module,video-buf.cwantsclear_user_page(). This is a define on most archs (maps toclear_page()), on ppc32 it is an unexported function. This leads to unresolved symbols.It's been fixed in BenH's tree since a few weeks.
(
http://ppc.bkbits.net:8080/linuxppc-2.5-benh/diffs/arch/ppc/kernel/[email protected] )
Yup, hopefully, if I don't forget, I'll get that in 2.6.3
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 9 lines · Benjamin Herrenschmidt
Quoted 8 lines · Colin Leroy
Hi,
Quoted 4 lines
CONFIG_VIDEO_DEVtriggersCONFIG_VIDEO_BUF. If compiled as module,video-buf.cwantsclear_user_page(). This is a define on most archs (maps toclear_page()), on ppc32 it is an unexported function. This leads to unresolved symbols.
Quoted 5 lines
Quoted 3 lines
It's been fixed in BenH's tree since a few weeks.
(
http://ppc.bkbits.net:8080/linuxppc-2.5-benh/diffs/arch/ppc/kernel/[email protected] )Yup, hopefully, if I don't forget, I'll get that in 2.6.3
its also required on ppc64.
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/