OSDN Git Service

x86, asm: Use CC_SET()/CC_OUT() in <asm/percpu.h>
authorH. Peter Anvin <hpa@zytor.com>
Wed, 8 Jun 2016 19:38:43 +0000 (12:38 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 8 Jun 2016 19:41:20 +0000 (12:41 -0700)
commit64be6d36f5674f3424d1901772f76e21874f4954
treec339aa9602e675b429dfadd773ac730228584758
parent86b61240d4c233b440cd29daf0baa440daf4a148
x86, asm: Use CC_SET()/CC_OUT() in <asm/percpu.h>

Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() in
<asm/percpu.h>.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Link: http://lkml.kernel.org/r/1465414726-197858-8-git-send-email-hpa@linux.intel.com
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
arch/x86/include/asm/percpu.h