x86/apic/uv: Remove unnecessary #ifdef
authorAndreas Ruprecht <rupran@einserver.de>
Wed, 20 Aug 2014 08:16:01 +0000 (10:16 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 20 Aug 2014 13:05:30 +0000 (15:05 +0200)
commit8091c1f8ea2374695c105591179b1269fb5f2fbb
tree99ae390bef2d7398bcb4f1a38a148261425a7409
parent98a96f202203fecad65b44449077c695686ad4db
x86/apic/uv: Remove unnecessary #ifdef

In the file x2apic_uv_x.c, some code is compiled conditionally
depending on CONFIG_SMP. However, the file is only built, if
CONFIG_X86_UV is enabled.

CONFIG_X86_UV depends on CONFIG_NUMA, which itself depends on
CONFIG_SMP, so the #ifdef will always evaluate to true, if the
file is compiled. Thus, it is unnecessary and can be removed.

Signed-off-by: Andreas Ruprecht <rupran@einserver.de>
Cc: David Rientjes <rientjes@google.com>
Cc: Dimitri Sivanich <sivanich@sgi.com>
Cc: Hedi Berriche <hedi@sgi.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Travis <travis@sgi.com>
Cc: Russ Anderson <rja@sgi.com>
Link: http://lkml.kernel.org/r/1408522561-23389-1-git-send-email-rupran@einserver.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apic/x2apic_uv_x.c
This page took 0.024614 seconds and 5 git commands to generate.