x86: Drop CONFIG_MCORE2 check around setting of NET_IP_ALIGN
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 1 Jul 2010 13:28:27 +0000 (13:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jul 2010 05:45:54 +0000 (22:45 -0700)
commit7475271004b66e9c22e1bb28f240a38c5d6fe76e
tree780205700baeec41d6ed491cf28737a1491227a8
parentfe62c298e5bcff8b3414205b7b54975918b3b5c4
x86: Drop CONFIG_MCORE2 check around setting of NET_IP_ALIGN

This patch removes the CONFIG_MCORE2 check from around NET_IP_ALIGN.  It is
based on a suggestion from Andi Kleen.  The assumption is that there are
not any x86 cores where unaligned access is really slow, and this change
would allow for a performance improvement to still exist on configurations
that are not necessarily optimized for Core 2.

Cc: Andi Kleen <ak@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/x86/include/asm/system.h