x86/asm/entry/64: Improve the THREAD_INFO() macro explanation
authorIngo Molnar <mingo@kernel.org>
Tue, 24 Mar 2015 18:43:11 +0000 (19:43 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 24 Mar 2015 19:57:30 +0000 (20:57 +0100)
commit1ddc6f3c60d75a7577dd33bc441e309febe2fc76
tree28cae85dafae5f8454dac0328bea38cc89a72ba7
parentd56fe4bf5f3cc30d455c80520f7b71da36ae00e6
x86/asm/entry/64: Improve the THREAD_INFO() macro explanation

Explain the background, and add a real example.

Acked-by: Denys Vlasenko <dvlasenk@redhat.com>
Acked-by: Andy Lutomirski <luto@kernel.org>
Acked-by: Borislav Petkov <bp@suse.de>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Will Drewry <wad@chromium.org>
Link: http://lkml.kernel.org/r/20150324184311.GA14760@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/thread_info.h