Re: [PATCH 6/6] hwclock: Don't use asm/io.h if sys/io.h can't be found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 08, 2011 at 08:58:25PM -0400, Mike Frysinger wrote:
> On Wednesday, June 08, 2011 18:52:48 Josiah Worcester wrote:
> > -#include <asm/io.h>		/* for inb, outb */
> > +/* Disable cmos access; we can no longer use asm/io.h, since
> > + * the kernel does not export that header.
> > + */
> > +#undef __i386__
> > +void outb(int a, int b){}
> > +int inb(int c){ return 0; }
> 
> probably should be turned into a header check in configure

 I have added asm/io.h check to configure.ac to keep it backwardly
 compatible...

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux