diff options
author | Andi Kleen <ak@suse.de> | 2008-01-30 07:32:49 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:49 -0500 |
commit | a6b68076fd5d7de04e6847ed9d7d212e7dd6beb5 (patch) | |
tree | 8f9da2347cee05e03414889a2dc701e71b06dd77 /arch/x86/boot/apm.c | |
parent | 37f30e21d6be046e948fce1dfa4a968cf5abcf89 (diff) |
x86: compile apm and voyager module only when selected in Kconfig
Previously the complete files were #ifdef'ed, but now handle that in the
Makefile.
May save a minor bit of compilation time.
[ Stephen Rothwell <sfr@canb.auug.org.au>: build dependency fix ]
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/boot/apm.c')
-rw-r--r-- | arch/x86/boot/apm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/boot/apm.c b/arch/x86/boot/apm.c index eab50c55a3a5..c117c7fb859c 100644 --- a/arch/x86/boot/apm.c +++ b/arch/x86/boot/apm.c | |||
@@ -19,8 +19,6 @@ | |||
19 | 19 | ||
20 | #include "boot.h" | 20 | #include "boot.h" |
21 | 21 | ||
22 | #if defined(CONFIG_APM) || defined(CONFIG_APM_MODULE) | ||
23 | |||
24 | int query_apm_bios(void) | 22 | int query_apm_bios(void) |
25 | { | 23 | { |
26 | u16 ax, bx, cx, dx, di; | 24 | u16 ax, bx, cx, dx, di; |
@@ -95,4 +93,3 @@ int query_apm_bios(void) | |||
95 | return 0; | 93 | return 0; |
96 | } | 94 | } |
97 | 95 | ||
98 | #endif | ||