Don't use a non-zero argument for __builtin_frame_address
Mirror the change made for powerpc64 in r323687. With this change, gcc 6.4.0 can successfully compile and link a kernel that runs on sparc64. MFC after: 2 weeks
This commit is contained in:
parent
7a174c3469
commit
8e4db4e4a1
@ -93,5 +93,5 @@ void
|
||||
stack_save(struct stack *st)
|
||||
{
|
||||
|
||||
stack_capture(st, (struct frame *)__builtin_frame_address(1));
|
||||
stack_capture(st, (struct frame *)__builtin_frame_address(0));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user