diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2008-11-25 08:45:13 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-25 17:28:50 +0100 |
commit | 292c669cd7087a090d6420e223eb1072f3e3c50b (patch) | |
tree | 631cd5e54c77e2a249c7bc88a7eb87ce776b720b /arch/x86/kernel/ds.c | |
parent | arch/x86/kernel/pci-calgary_64.c: change simple_strtol to simple_strtoul (diff) | |
download | linux-292c669cd7087a090d6420e223eb1072f3e3c50b.tar.xz linux-292c669cd7087a090d6420e223eb1072f3e3c50b.zip |
x86, bts: exclude ds.c from build when disabled
Impact: cleanup
Move the CONFIG guard from the .c file into the makefile.
Reported-by: Andi Kleen <andi-suse@firstfloor.org>
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to '')
-rw-r--r-- | arch/x86/kernel/ds.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/ds.c b/arch/x86/kernel/ds.c index d1a121443bde..4c8d57ec9663 100644 --- a/arch/x86/kernel/ds.c +++ b/arch/x86/kernel/ds.c @@ -21,8 +21,6 @@ */ -#ifdef CONFIG_X86_DS - #include <asm/ds.h> #include <linux/errno.h> @@ -878,4 +876,3 @@ void ds_free(struct ds_context *context) while (leftovers--) ds_put_context(context); } -#endif /* CONFIG_X86_DS */ |