x86_64: panic: fix incorrect kernel stack traversal
This commit is contained in:
@@ -175,7 +175,7 @@ static bool read_stack_frame(
|
|||||||
struct stack_frame *out)
|
struct stack_frame *out)
|
||||||
{
|
{
|
||||||
if (bp >= VM_PAGEMAP_BASE) {
|
if (bp >= VM_PAGEMAP_BASE) {
|
||||||
*out = *(struct stack_frame *)out;
|
*out = *(struct stack_frame *)bp;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user