[PATCH] Fix implicit declaration of inb/outb

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

 



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




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux