aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/ds.c
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2008-11-25 02:45:13 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-25 11:28:50 -0500
commit292c669cd7087a090d6420e223eb1072f3e3c50b (patch)
tree631cd5e54c77e2a249c7bc88a7eb87ce776b720b /arch/x86/kernel/ds.c
parenteff79aee91dd07e944df65fa448c8baeee7709d8 (diff)
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 'arch/x86/kernel/ds.c')
-rw-r--r--arch/x86/kernel/ds.c3
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 @@
21 */ 21 */
22 22
23 23
24#ifdef CONFIG_X86_DS
25
26#include <asm/ds.h> 24#include <asm/ds.h>
27 25
28#include <linux/errno.h> 26#include <linux/errno.h>
@@ -878,4 +876,3 @@ void ds_free(struct ds_context *context)
878 while (leftovers--) 876 while (leftovers--)
879 ds_put_context(context); 877 ds_put_context(context);
880} 878}
881#endif /* CONFIG_X86_DS */