[PATCH] Fix implicit declaration of inb/outb
Jamey Sharp
jamey at thetovacompany.com
Mon Jun 2 21:43:23 EDT 2008
On Mon, Jun 2, 2008 at 4:20 PM, Bernhard Walle <bwalle at suse.de> wrote:
> --- a/purgatory/arch/i386/console-x86.c
> +++ b/purgatory/arch/i386/console-x86.c
> @@ -1,5 +1,5 @@
> #include <stdint.h>
> -#include <arch/io.h>
> +#include <sys/io.h>
> #include <purgatory.h>
Oh, dear--that doesn't work. I just submitted the opposite patch a few
weeks ago, because readw and writew are in arch/io.h but not sys/io.h.
Undoing that would break i386 again; details are in the commit
message.
Jamey
More information about the kexec
mailing list