x86/cpu: Fix typos and improve the comments in sync_core()
authorIngo Molnar <mingo@kernel.org>
Tue, 18 Aug 2020 05:31:30 +0000 (07:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Aug 2020 07:56:36 +0000 (09:56 +0200)
commit40eb0cb4939e462acfedea8c8064571e886b9773
tree45080eab29dd6c218179b26009d2c9772b8c901b
parent86109813990b5d6d6cfb8072382ee69d11ea9460
x86/cpu: Fix typos and improve the comments in sync_core()

- Fix typos.

- Move the compiler barrier comment to the top, because it's valid for the
  whole function, not just the legacy branch.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200818053130.GA3161093@gmail.com
Reviewed-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
arch/x86/include/asm/sync_core.h