From: "J.R. Mauro" <jrm8005@gmail.com>
To: "Paul Mackerras" <paulus@samba.org>
Cc: "Greg KH" <greg@kroah.com>,
"Stephen Rothwell" <sfr@canb.auug.org.au>,
LKML <linux-kernel@vger.kernel.org>,
"David S. Miller" <davem@davemloft.net>,
"William L. Irwin" <wli@holomorphy.com>,
sparclinux@vger.kernel.org
Subject: Re: sparc/staging compile error
Date: Thu, 6 Nov 2008 09:06:36 -0500 [thread overview]
Message-ID: <3aaafc130811060606p1dfbf12cr8c0dc8cd310d0279@mail.gmail.com> (raw)
In-Reply-To: <18706.51153.342079.586525@cargo.ozlabs.ibm.com>
On Thu, Nov 6, 2008 at 5:32 AM, Paul Mackerras <paulus@samba.org> wrote:
> Greg KH writes:
>
>> On Thu, Nov 06, 2008 at 04:36:26PM +1100, Stephen Rothwell wrote:
>> > Hi Greg,
>> >
>> > Today's tree from Linus gets the following error from a sparc
>> > allmodconfig build:
>> >
>> > ERROR: "___f_flush_cache_range" [drivers/staging/poch/poch.ko] undefined!
>>
>> Odd, is flush_cache_range() not allowed on the sparc platform?
>
> I'm curious, what is a driver doing calling flush_cache_range()?
> What does it expect it to do precisely?
It's part of the driver's ioctl. Relevant lines:
static int poch_ioctl(struct inode *inode, struct file *filp,
unsigned int cmd, unsigned long arg)
{
/* ---snip---*/
case POCH_IOC_SYNC_GROUP_FOR_USER:
case POCH_IOC_SYNC_GROUP_FOR_DEVICE:
vms = find_vma(current->mm, arg);
if (!vms)
/* Address not mapped. */
return -EINVAL;
if (vms->vm_file != filp)
/* Address mapped from different device/file. */
return -EINVAL;
flush_cache_range(vms, arg, arg + channel->group_size);
>
> Paul.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
next prev parent reply other threads:[~2008-11-06 14:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-06 5:36 Stephen Rothwell
2008-11-06 6:37 ` Greg KH
2008-11-06 6:39 ` David Miller
2008-11-06 10:32 ` Paul Mackerras
2008-11-06 14:06 ` J.R. Mauro [this message]
2008-11-06 17:32 ` Christoph Hellwig
2008-11-06 17:36 ` J.R. Mauro
2008-11-07 8:40 ` Vijay Kumar
2008-11-07 23:06 ` Benjamin Herrenschmidt
2008-11-11 6:58 ` Vijay Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3aaafc130811060606p1dfbf12cr8c0dc8cd310d0279@mail.gmail.com \
--to=jrm8005@gmail.com \
--cc=davem@davemloft.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
--cc=sfr@canb.auug.org.au \
--cc=sparclinux@vger.kernel.org \
--cc=wli@holomorphy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®