• Kees Cook's avatar
    alpha: Implement "current_stack_pointer" · bd1912de
    Kees Cook authored
    To follow the existing per-arch conventions replace open-coded use
    of asm "$30" as "current_stack_pointer". This will let it be used in
    non-arch places (like HARDENED_USERCOPY).
    
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
    Cc: Matt Turner <mattst88@gmail.com>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Mike Rapoport <rppt@kernel.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
    Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
    Cc: "Alexander A. Klimov" <grandmaster@al2klimov.de>
    Cc: linux-alpha@vger.kernel.org
    Signed-off-by: default avatarKees Cook <keescook@chromium.org>
    Signed-off-by: default avatarMatt Turner <mattst88@gmail.com>
    bd1912de
stacktrace.c 2.62 KB