Files
linux-apfs/arch/arm64/kernel
Mark Rutland 876e7a38e8 arm64: traps: simplify die() and __die()
In arm64's die and __die routines we pass around a thread_info, and
subsequently use this to determine the relevant task_struct, and the end
of the thread's stack. Subsequent patches will decouple thread_info from
the stack, and this approach will no longer work.

To figure out the end of the stack, we can use the new generic
end_of_stack() helper. As we only call __die() from die(), and die()
always deals with the current task, we can remove the parameter and have
both acquire current directly, which also makes it clear that __die
can't be called for arbitrary tasks.

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>
2016-11-11 18:25:43 +00:00
..
2016-09-28 17:46:57 +02:00
2016-06-27 16:31:25 +01:00
2016-06-27 16:31:25 +01:00
2016-09-12 10:46:07 +01:00
2016-06-27 16:31:25 +01:00
2016-02-24 14:57:27 +00:00
2016-02-24 14:57:24 +00:00
2016-08-01 12:23:44 -05:00
2016-08-31 12:31:38 +01:00
2016-11-07 18:15:21 +00:00
2016-04-20 12:22:42 +01:00