[PATCH] Fix the imlicit declaration of mtrr_centaur_report_mcr in arch/i386/kernel...
authorJesper Juhl <jesper.juhl@gmail.com>
Thu, 23 Mar 2006 10:59:50 +0000 (02:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:06 +0000 (07:38 -0800)
arch/i386/kernel/cpu/centaur.c: In function `centaur_mcr_insert':
arch/i386/kernel/cpu/centaur.c:33: warning: implicit declaration of function `mtrr_centaur_report_mcr'

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/centaur.c
include/asm-i386/mtrr.h

index f52669ecb93fd549f40878971f0c16c860a43ed2..bd75629dd262b319d975567cc426b727e447eaaa 100644 (file)
@@ -4,6 +4,7 @@
 #include <asm/processor.h>
 #include <asm/msr.h>
 #include <asm/e820.h>
+#include <asm/mtrr.h>
 #include "cpu.h"
 
 #ifdef CONFIG_X86_OOSTORE
index 5b6ceda68c5f1419737d324205f9e70bda8fdaa9..64cf937c7e33d46b80ad4f0369b67a196bca9db9 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <linux/config.h>
 #include <linux/ioctl.h>
+#include <linux/errno.h>
 
 #define        MTRR_IOCTL_BASE 'M'