Skip to contentSkip to conversation

Video For Linux on ppc32 in kernel 2.6

DISCUSSION Olaf Hering 3 participants 4 messages Feb 4, 2004 – Feb 13, 2004

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw

Hi,

Quoted 4 lines

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.

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/

#2 lore raw
Quoted 11 lines · Colin Leroy

Hi,

Quoted 4 lines

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.

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/

#3 lore raw
Quoted 9 lines · Benjamin Herrenschmidt
Quoted 8 lines · Colin Leroy

Hi,

Quoted 4 lines

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.

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/