linux-mips
[Top] [All Lists]

Re: clear_user_page in page.h

To: JP Foster <jp.foster@exterity.co.uk>
Subject: Re: clear_user_page in page.h
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 8 Mar 2005 14:07:47 +0000
Cc: linux-mips <linux-mips@linux-mips.org>
In-reply-to: <1110287573.30647.16.camel@localhost.localdomain>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1110287573.30647.16.camel@localhost.localdomain>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
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

<Prev in Thread] Current Thread [Next in Thread>