diff options
| author | Matthew Wilcox <matthew@wil.cx> | 2004-12-06 02:23:20 -0600 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-12-06 02:23:20 -0600 |
| commit | 97f014fbbe267480e4a0ce2115407c0a777c5f4c (patch) | |
| tree | b1fdc989f79b6dd122d643bc3df63fe08931f61a /include/linux/mca.h | |
| parent | 5a530b5a070ae4f682f51b54848276b6ba715bee (diff) | |
[PATCH] Move MCA_bus to linux/mca.h
- Move MCA_bus declaration from <asm/processor.h> to <linux/mca.h>
- Define it in mca.c, not setup.c
- EXPORT_SYMBOL it at the site of its definition.
- Fix up random files to include <linux/mca.h> for the use of the MCA_bus
symbol
- Delete some unnecessary ifdefs.
- Delete some unneeded comments.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/linux/mca.h')
| -rw-r--r-- | include/linux/mca.h | 14 |
1 files changed, 3 insertions, 11 deletions
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 <linux/device.h> -/* get the platform specific defines */ #ifdef CONFIG_MCA #include <asm/mca.h> -#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 |
