x86/entry/64: Document idtentry
authorAndy Lutomirski <luto@kernel.org>
Mon, 3 Sep 2018 22:59:42 +0000 (15:59 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 8 Sep 2018 09:20:11 +0000 (11:20 +0200)
commitbd7b1f7cbf9cb35dab8e1b99145d07afc5b7a132
tree684b0f84d64a49498a6b0f01d3771f0c4117833a
parentdb44bf4b4768a0664d3c9d9000ecb747de31ded8
x86/entry/64: Document idtentry

The idtentry macro is complicated and magical.  Document what it
does to help future readers and to allow future patches to adjust
the code and docs at the same time.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/6e56c3ad94879e41afe345750bc28ccc0e820ea8.1536015544.git.luto@kernel.org
arch/x86/entry/entry_64.S
arch/x86/kernel/traps.c