]> git.baikalelectronics.ru Git - kernel.git/commit
x86, cleanups: Simplify sync_core() in the case of no CPUID
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 28 Nov 2012 19:50:30 +0000 (11:50 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 29 Nov 2012 21:25:39 +0000 (13:25 -0800)
commit03ff6f752197ad744a059087aab9e299fc1f2192
tree9ec9db8c7b9fa46d383b0c7dd4fe5339b577dfe6
parentf3d860fa5d0b24c8137ffe5f43493cb254cc8dea
x86, cleanups: Simplify sync_core() in the case of no CPUID

Simplify the implementation of sync_core() for the case where we may
not have the CPUID instruction available.

[ v2: stylistic cleanup of the #else clause per suggestion by Borislav
  Petkov. ]

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1354132230-21854-9-git-send-email-hpa@linux.intel.com
Cc: Borislav Petkov <bp@alien8.de>
arch/x86/include/asm/processor.h