From 97f014fbbe267480e4a0ce2115407c0a777c5f4c Mon Sep 17 00:00:00 2001 From: Matthew Wilcox Date: Mon, 6 Dec 2004 02:23:20 -0600 Subject: [PATCH] Move MCA_bus to linux/mca.h - Move MCA_bus declaration from to - Define it in mca.c, not setup.c - EXPORT_SYMBOL it at the site of its definition. - Fix up random files to include for the use of the MCA_bus symbol - Delete some unnecessary ifdefs. - Delete some unneeded comments. Signed-off-by: James Bottomley --- include/linux/mca.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'include/linux') diff --git a/include/linux/mca.h b/include/linux/mca.h index a80124c4a05d..5cff2923092b 100644 --- a/include/linux/mca.h +++ b/include/linux/mca.h @@ -6,22 +6,14 @@ #ifndef _LINUX_MCA_H #define _LINUX_MCA_H -/* FIXME: This shouldn't happen, but we need everything that previously - * included mca.h to compile. Take it out later when the MCA #includes - * are sorted out */ #include -/* get the platform specific defines */ #ifdef CONFIG_MCA #include -#endif -/* The detection of MCA bus is done in the real mode (using BIOS). - * The information is exported to the protected code, where this - * variable is set to one in case MCA bus was detected. - */ -#ifndef MCA_bus__is_a_macro -extern int MCA_bus; +extern int MCA_bus; +#else +#define MCA_bus 0 #endif /* This sets up an information callback for /proc/mca/slot?. The -- cgit v1.2.3