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 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
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[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