x86/fsgsbase/64: Clean up various details
authorIngo Molnar <mingo@kernel.org>
Mon, 8 Oct 2018 08:41:59 +0000 (10:41 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 8 Oct 2018 08:45:04 +0000 (10:45 +0200)
commitec3a94188df7d28b374868d9a2a0face910e62ab
treefb89d6eecb6d7f4d6c880dfa05866499f1f469b4
parent22245bdf0ad805d6c29f82b6d5e977ee94bb2166
x86/fsgsbase/64: Clean up various details

So:

 - use 'extern' consistently for APIs

 - fix weird header guard

 - clarify code comments

 - reorder APIs by type

Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Chang S. Bae <chang.seok.bae@intel.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Markus T Metzger <markus.t.metzger@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Shankar <ravi.v.shankar@intel.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/1537312139-5580-2-git-send-email-chang.seok.bae@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/vdso/vgetcpu.c
arch/x86/include/asm/fsgsbase.h