diff options
author | Bernhard Walle <bwalle@suse.de> | 2008-06-03 09:33:57 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-06-12 12:08:15 +1000 |
commit | 0f0a2228f79106e8d003147cec71a7dd608d4f49 (patch) | |
tree | 7da8c6567344d61c6fcafa3ad6c387e8c98111cc /kexec/kexec.c | |
parent | 1bcd04baaa3091410bf33758d1422ff172254da1 (diff) |
Fix implicit declaration of inb/outb
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.
Signed-off-by: Bernhard Walle <bwalle@suse.de>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.c')
0 files changed, 0 insertions, 0 deletions