linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: io.h doesn't get installed by target "headers_install" for mips
       [not found] <806810.23677.qm@web59313.mail.re1.yahoo.com>
@ 2009-09-09 18:17 ` David Daney
  0 siblings, 0 replies; only message in thread
From: David Daney @ 2009-09-09 18:17 UTC (permalink / raw)
  To: Dok Sander; +Cc: linux-kernel, linux-mips

Dok Sander wrote:
> Hi,
> 
>  I noticed the absence of the header io.h while trying to build(cross-compile, host i686-pc-linux-gnu) a software(lm-sensors-3.1.1, wants io.h in /sys) for mips. I can find io.h for mips in arch/mips/asm/include/{,sn/} However, io.h doesn't get installed when i do "make ARCH=mips headers_install" on linux 2.6.30.6
> 
>  According to someone on the eglibc mailing list, linux should provide io.h for mips. Is this true?
> 

I don't think so (for two reasons):

1) The things in /usr/include/sys are provided by libc not the kernel.

2) MIPS doesn't have I/O ports, so all the functions in sys/io.h on an 
x86 are undefined for MIPS.

David Daney

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-09 18:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <806810.23677.qm@web59313.mail.re1.yahoo.com>
2009-09-09 18:17 ` io.h doesn't get installed by target "headers_install" for mips David Daney

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).