From: Paul Jackson <pj@sgi.com>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Does io_remap_page_range() take 5 or 6 args?
Date: Wed, 18 Aug 2004 13:33:48 -0700 [thread overview]
Message-ID: <20040818133348.7e319e0e.pj@sgi.com> (raw)
What is up with io_remap_page_range()? Seems like half of its
mentions take 5 args, and half 6 args (the 6th arg being 'space').
Grep'ing and eyeballing in 2.6.8.1-mm1 just now shows the following
files using 5 args:
arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c
arch/ia64/sn/io/sn2/xbow.c
arch/sh/kernel/cpu/sh4/sq.c
drivers/video/acornfb.c
drivers/video/controlfb.c
drivers/video/fbmem.c
include/asm-alpha/pgtable.h
include/asm-arm/pgtable.h
include/asm-arm26/pgtable.h
sound/core/pcm_native.c
and the following files using 6 args:
arch/sparc/mm/generic.c
arch/sparc64/kernel/pci.c
arch/sparc64/kernel/pci.c
arch/sparc64/kernel/sparc64_ksyms.c
arch/sparc64/mm/generic.c
drivers/char/drm/drm_vm.h
drivers/sbus/char/vfc_dev.c
drivers/video/fbmem.c
drivers/video/sbuslib.c
include/asm-sparc/pgtable.h
include/asm-sparc64/pgtable.h
I'm noticing this trying to build 2.6.8.1-mm1 sparc64, using crosstool
and 'make defconfig'. It errors out with:
$ make sound/core/pcm_native.o
CC [M] sound/core/pcm_native.o
sound/core/pcm_native.c: In function `snd_pcm_mmap_data':
sound/core/pcm_native.c:3088: error: too few arguments to function `io_remap_page_range'
My dimm recollection is that this error has been here a while, but that
I've just been commenting CONFIG_SOUND out, since I really didn't care
about either sound nor about sparc64 (only that I wasn't contributing
further grief to sparc64 with my cpumask and cpuset stuff).
Does anyone know the story behind this odd inconsistency?
Better yet, is anyone signed up to resolve this? No, I'm not
volunteering ;).
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.650.933.1373
next reply other threads:[~2004-08-18 20:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-18 20:33 Paul Jackson [this message]
2004-08-18 20:53 ` Does io_remap_page_range() take 5 or 6 args? William Lee Irwin III
2004-08-18 20:55 ` David S. Miller
2004-08-18 20:56 ` David S. Miller
2004-08-18 21:05 ` William Lee Irwin III
2004-08-18 21:30 ` David S. Miller
2004-08-18 21:40 ` William Lee Irwin III
2004-08-18 22:00 ` William Lee Irwin III
2004-08-18 22:59 ` William Lee Irwin III
2004-08-18 23:16 ` David S. Miller
2004-08-18 23:33 ` William Lee Irwin III
2004-08-19 2:38 ` William Lee Irwin III
2004-08-19 2:43 ` David S. Miller
2004-08-19 2:51 ` William Lee Irwin III
2004-08-18 21:36 ` Richard B. Johnson
2004-08-18 20:54 ` David S. Miller
2004-08-18 21:15 ` Paul Jackson
2004-08-18 21:35 ` William Lee Irwin III
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=20040818133348.7e319e0e.pj@sgi.com \
--to=pj@sgi.com \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.