diff options
author | Mark Rutland <mark.rutland@arm.com> | 2016-11-03 20:23:05 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-11-11 18:25:43 +0000 |
commit | a9ea0017ebe8889dfa136cac2aa7ae0ee6915e1f (patch) | |
tree | e47789a36980ca71cdc9c33f9790f73f31d21867 /arch/arm64/kernel/traps.c | |
parent | 3fe12da4c7fa6491e0fb7c5371716ac7f8ea80a5 (diff) | |
download | linux-stable-a9ea0017ebe8889dfa136cac2aa7ae0ee6915e1f.tar.gz linux-stable-a9ea0017ebe8889dfa136cac2aa7ae0ee6915e1f.tar.bz2 linux-stable-a9ea0017ebe8889dfa136cac2aa7ae0ee6915e1f.zip |
arm64: factor out current_stack_pointer
We define current_stack_pointer in <asm/thread_info.h>, though other
files and header relying upon it do not have this necessary include, and
are thus fragile to changes in the header soup.
Subsequent patches will affect the header soup such that directly
including <asm/thread_info.h> may result in a circular header include in
some of these cases, so we can't simply include <asm/thread_info.h>.
Instead, factor current_thread_info into its own header, and have all
existing users include this explicitly.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/traps.c')
-rw-r--r-- | arch/arm64/kernel/traps.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c index c9986b3e0a96..95a545200a52 100644 --- a/arch/arm64/kernel/traps.c +++ b/arch/arm64/kernel/traps.c @@ -38,6 +38,7 @@ #include <asm/esr.h> #include <asm/insn.h> #include <asm/traps.h> +#include <asm/stack_pointer.h> #include <asm/stacktrace.h> #include <asm/exception.h> #include <asm/system_misc.h> |