diff options
author | Andy Lutomirski <luto@kernel.org> | 2017-11-02 10:59:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-25 16:26:18 +0300 |
commit | f576136bc88175014ef3f57378d0d982a5c4e786 (patch) | |
tree | 5cb54f478551d621a26f4d7ee1a0eed8779947fc /arch/x86/xen | |
parent | e37558449abadb91ac13b85737d963f230118bdf (diff) | |
download | linux-f576136bc88175014ef3f57378d0d982a5c4e786.tar.xz |
x86/entry: Add task_top_of_stack() to find the top of a task's stack
commit 3500130b84a3cdc5b6796eba1daf178944935efe upstream.
This will let us get rid of a few places that hardcode accesses to
thread.sp0.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bpetkov@suse.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/b49b3f95a8ff858c40c9b0f5b32be0355324327d.1509609304.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/xen')
0 files changed, 0 insertions, 0 deletions