linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Video For Linux on ppc32 in kernel 2.6
@ 2004-02-04 10:12 Olaf Hering
  2004-02-04 10:24 ` Colin Leroy
  0 siblings, 1 reply; 5+ messages in thread
From: Olaf Hering @ 2004-02-04 10:12 UTC (permalink / raw)
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Video For Linux on ppc32 in kernel 2.6
  2004-02-04 10:12 Video For Linux on ppc32 in kernel 2.6 Olaf Hering
@ 2004-02-04 10:24 ` Colin Leroy
  2004-02-04 11:04   ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 5+ messages in thread
From: Colin Leroy @ 2004-02-04 10:24 UTC (permalink / raw)
  To: Olaf Hering, linuxppc-dev


Hi,

> 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/ppc_ksyms.c@1.72 )
--
Colin
Ne disez pas disez, mais disez dites


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Video For Linux on ppc32 in kernel 2.6
  2004-02-04 10:24 ` Colin Leroy
@ 2004-02-04 11:04   ` Benjamin Herrenschmidt
  2004-02-13 20:30     ` Olaf Hering
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2004-02-04 11:04 UTC (permalink / raw)
  To: Colin Leroy; +Cc: Olaf Hering, linuxppc-dev list


On Wed, 2004-02-04 at 21:24, Colin Leroy wrote:
> Hi,
>
> > 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/ppc_ksyms.c@1.72 )

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Video For Linux on ppc32 in kernel 2.6
@ 2004-02-04 20:29 Mich Lanners
  0 siblings, 0 replies; 5+ messages in thread
From: Mich Lanners @ 2004-02-04 20:29 UTC (permalink / raw)
  To: olh; +Cc: linuxppc-dev


Olaf,

On   4 Feb, this message from Olaf Hering echoed through cyberspace:
> 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.
[snip]

Thanks for pointing this out; one less problem for me to worry about
should I ever get to update planb :-)

Cheers

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Video For Linux on ppc32 in kernel 2.6
  2004-02-04 11:04   ` Benjamin Herrenschmidt
@ 2004-02-13 20:30     ` Olaf Hering
  0 siblings, 0 replies; 5+ messages in thread
From: Olaf Hering @ 2004-02-13 20:30 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list


 On Wed, Feb 04, Benjamin Herrenschmidt wrote:

> On Wed, 2004-02-04 at 21:24, Colin Leroy wrote:
> > Hi,
> >
> > > 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/ppc_ksyms.c@1.72 )
>
> 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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-13 20:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-04 10:12 Video For Linux on ppc32 in kernel 2.6 Olaf Hering
2004-02-04 10:24 ` Colin Leroy
2004-02-04 11:04   ` Benjamin Herrenschmidt
2004-02-13 20:30     ` Olaf Hering
  -- strict thread matches above, loose matches on Subject: below --
2004-02-04 20:29 Mich Lanners

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).