diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2005-12-21 13:24:46 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-02-07 20:56:47 -0500 |
commit | 4fb7d9827e89cc0a4ad2fde32ffa08f77cc0b7fe (patch) | |
tree | d10d90be7cb8fef4d6358f52d6a6fe6b59d2e6af /arch/m32r | |
parent | 164006da316a22eaaa9fbe36f835a01606436c66 (diff) |
[PATCH] drive_info removal outside of arch/i386
drive_info is used only by hd.c and that happens under #ifdef __i386__.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/m32r')
-rw-r--r-- | arch/m32r/kernel/m32r_ksyms.c | 5 | ||||
-rw-r--r-- | arch/m32r/kernel/setup.c | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/arch/m32r/kernel/m32r_ksyms.c b/arch/m32r/kernel/m32r_ksyms.c index dbc8a392105f..be8b711367ec 100644 --- a/arch/m32r/kernel/m32r_ksyms.c +++ b/arch/m32r/kernel/m32r_ksyms.c | |||
@@ -18,11 +18,6 @@ | |||
18 | #include <asm/irq.h> | 18 | #include <asm/irq.h> |
19 | #include <asm/tlbflush.h> | 19 | #include <asm/tlbflush.h> |
20 | 20 | ||
21 | #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE) | ||
22 | extern struct drive_info_struct drive_info; | ||
23 | EXPORT_SYMBOL(drive_info); | ||
24 | #endif | ||
25 | |||
26 | /* platform dependent support */ | 21 | /* platform dependent support */ |
27 | EXPORT_SYMBOL(boot_cpu_data); | 22 | EXPORT_SYMBOL(boot_cpu_data); |
28 | EXPORT_SYMBOL(dump_fpu); | 23 | EXPORT_SYMBOL(dump_fpu); |
diff --git a/arch/m32r/kernel/setup.c b/arch/m32r/kernel/setup.c index c2e4dccf0112..d742037a7ccb 100644 --- a/arch/m32r/kernel/setup.c +++ b/arch/m32r/kernel/setup.c | |||
@@ -37,12 +37,6 @@ | |||
37 | extern void init_mmu(void); | 37 | extern void init_mmu(void); |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) \ | ||
41 | || defined(CONFIG_BLK_DEV_IDE_MODULE) \ | ||
42 | || defined(CONFIG_BLK_DEV_HD_MODULE) | ||
43 | struct drive_info_struct { char dummy[32]; } drive_info; | ||
44 | #endif | ||
45 | |||
46 | extern char _end[]; | 40 | extern char _end[]; |
47 | 41 | ||
48 | /* | 42 | /* |