x86, bts: exclude ds.c from build when disabled
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 25 Nov 2008 07:45:13 +0000 (08:45 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 25 Nov 2008 16:28:50 +0000 (17:28 +0100)
commit292c669cd7087a090d6420e223eb1072f3e3c50b
tree631cd5e54c77e2a249c7bc88a7eb87ce776b720b
parenteff79aee91dd07e944df65fa448c8baeee7709d8
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>
arch/x86/kernel/Makefile
arch/x86/kernel/ds.c