Jan Kiszka 6d19ad5985 scripts/gdb: fix aarch64 userspace detection in get_current_task
At least recent gdb releases (seen with 14.2) return SP_EL0 as signed long
which lets the right-shift always return 0.

Link: https://lkml.kernel.org/r/dcd2fabc-9131-4b48-8419-6444e2d67454@siemens.com
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Barry Song <baohua@kernel.org>
Cc: Kieran Bingham <kbingham@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-01-11 23:17:31 -08:00
..
2024-09-01 20:34:49 +09:00
2024-10-07 02:12:27 +09:00
\n
2024-11-21 09:50:18 -08:00
2024-11-30 13:41:50 -08:00
2024-11-30 13:41:50 -08:00
2022-10-03 14:03:19 -07:00
2024-11-30 13:41:50 -08:00
2024-11-27 10:20:50 -08:00
2023-12-03 18:51:48 +09:00
2024-11-28 08:11:56 +09:00
2024-11-06 12:59:44 -05:00
2021-05-03 17:23:06 -06:00