* clear_user_page in page.h
@ 2005-03-08 13:12 JP Foster
2005-03-08 14:07 ` Ralf Baechle
0 siblings, 1 reply; 4+ messages in thread
From: JP Foster @ 2005-03-08 13:12 UTC (permalink / raw)
To: linux-mips
Hi all,
I'm building the video4linux drivers as modules and the video-buf driver
can't load as it has no reference to shm_align_mask and
flush_data_cache_page.
These are needed by asm-mips/page.h for the inline funcs, pages_do_alias
and clear/copy_user_page.
How should shm_align_mask and flush_data_cache_page. be exported to
modules?
Most other asm-xxx/page.h doesn't need any externs, all is #defined
within page.h or files included by it.
Any ideas how I deal with this? Presumably other modules will be
affected by this.
--
jp.foster@exterity.co.uk
Digital Simplicity
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: clear_user_page in page.h
2005-03-08 13:12 clear_user_page in page.h JP Foster
@ 2005-03-08 14:07 ` Ralf Baechle
2005-03-08 15:11 ` JP Foster
0 siblings, 1 reply; 4+ messages in thread
From: Ralf Baechle @ 2005-03-08 14:07 UTC (permalink / raw)
To: JP Foster; +Cc: linux-mips
On Tue, Mar 08, 2005 at 01:12:52PM +0000, JP Foster wrote:
> Hi all,
> I'm building the video4linux drivers as modules and the video-buf driver
> can't load as it has no reference to shm_align_mask and
> flush_data_cache_page.
>
> These are needed by asm-mips/page.h for the inline funcs, pages_do_alias
> and clear/copy_user_page.
> How should shm_align_mask and flush_data_cache_page. be exported to
> modules?
>
> Most other asm-xxx/page.h doesn't need any externs, all is #defined
> within page.h or files included by it.
>
> Any ideas how I deal with this? Presumably other modules will be
> affected by this.
The code in question should be considered broken anyway but for the
time being until this is actually fixed I'm going to add the two symbol
exports.
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: clear_user_page in page.h
2005-03-08 14:07 ` Ralf Baechle
@ 2005-03-08 15:11 ` JP Foster
2005-03-09 17:45 ` Ralf Baechle
0 siblings, 1 reply; 4+ messages in thread
From: JP Foster @ 2005-03-08 15:11 UTC (permalink / raw)
To: linux-mips
Great, that's what I did here.
When you say the code in question do you mean the v4l stuff or page.h?
--
jp.foster@exterity.co.uk
Digital Simplicity
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: clear_user_page in page.h
2005-03-08 15:11 ` JP Foster
@ 2005-03-09 17:45 ` Ralf Baechle
0 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2005-03-09 17:45 UTC (permalink / raw)
To: JP Foster; +Cc: linux-mips
On Tue, Mar 08, 2005 at 03:11:20PM +0000, JP Foster wrote:
> Great, that's what I did here.
> When you say the code in question do you mean the v4l stuff or page.h?
Linux mm. The (brain-)damage goes beyond page.h.
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-09 17:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-08 13:12 clear_user_page in page.h JP Foster
2005-03-08 14:07 ` Ralf Baechle
2005-03-08 15:11 ` JP Foster
2005-03-09 17:45 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox