Util-Linux package development
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: Josiah Worcester <josiahw@gmail.com>, util-linux@vger.kernel.org
Subject: Re: [PATCH 6/6] hwclock: Don't use asm/io.h if sys/io.h can't be found
Date: Tue, 14 Jun 2011 14:26:04 +0200	[thread overview]
Message-ID: <20110614122604.GI14293@nb.net.home> (raw)
In-Reply-To: <201106082058.26670.vapier@gentoo.org>

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@redhat.com>
 http://karelzak.blogspot.com

  reply	other threads:[~2011-06-14 12:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-08 22:52 [PATCH 0/6] Build with musl libc Josiah Worcester
2011-06-08 22:52 ` [PATCH 1/6] fdisk, display, hexdump.h: Use standard C types instead of u_int, u_char, u_long, etc Josiah Worcester
2011-06-08 22:52 ` [PATCH 2/6] fsck, checktty, flock: Use more portable includes Josiah Worcester
2011-06-08 22:52 ` [PATCH 3/6] checktty: Use NGROUPS_MAX instead of NGROUPS Josiah Worcester
2011-06-09 19:31   ` Sami Kerola
2011-06-08 22:52 ` [PATCH 4/6] lib/tt.c: Fix mbs_width macro for systems without WIDECHAR Josiah Worcester
2011-06-08 22:52 ` [PATCH 5/6] test_sysinfo: Use CHAR_BIT*sizeof(void*) instead of __WORDSIZE Josiah Worcester
2011-06-08 22:52 ` [PATCH 6/6] hwclock: Don't use asm/io.h if sys/io.h can't be found Josiah Worcester
2011-06-09  0:58   ` Mike Frysinger
2011-06-14 12:26     ` Karel Zak [this message]
2011-06-14 12:24 ` [PATCH 0/6] Build with musl libc Karel Zak

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=20110614122604.GI14293@nb.net.home \
    --to=kzak@redhat.com \
    --cc=josiahw@gmail.com \
    --cc=util-linux@vger.kernel.org \
    --cc=vapier@gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox