[PATCH] Fix implicit declaration of inb/outb
Simon Horman
horms at verge.net.au
Wed Jun 11 22:09:58 EDT 2008
On Tue, Jun 03, 2008 at 09:33:57AM +0200, Bernhard Walle wrote:
> This patch fixes following compiler warning:
>
> purgatory/arch/i386/console-x86.c:84: \
> warning: implicit declaration of function `outb'
> purgatory/arch/i386/console-x86.c:89: \
> warning: implicit declaration of function `inb'
>
> Found on x86_64. The problem did not happen with i386.
> Fix tested on x86_64-suse-linux and i586-suse-linux.
>
> I also added __always_inline__ to make sure that the function gets always
> inlined, regardless of optimisation compiler flags.
Thanks, applied.
--
Horms
More information about the kexec
mailing list