Commit a596a7e9 authored by Cyril Bur's avatar Cyril Bur Committed by Michael Ellerman

powerpc/tm: Update function prototype comment

In commit eb5c3f1c ("powerpc: Always save/restore checkpointed regs
during treclaim/trecheckpoint") __tm_recheckpoint was modified to no
longer take the second parameter 'unsigned long orig_msr' as part of a
TM rewrite to simplify the reclaiming/recheckpointing process.

There is a comment in the asm file where the function is delcared which
has an incorrect prototype with the 'orig_msr' parameter.

This patch corrects the comment.
Signed-off-by: default avatarCyril Bur <cyrilbur@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent c827ac45
...@@ -312,8 +312,8 @@ _GLOBAL(tm_reclaim) ...@@ -312,8 +312,8 @@ _GLOBAL(tm_reclaim)
blr blr
/* void __tm_recheckpoint(struct thread_struct *thread, /*
* unsigned long orig_msr) * void __tm_recheckpoint(struct thread_struct *thread)
* - Restore the checkpointed register state saved by tm_reclaim * - Restore the checkpointed register state saved by tm_reclaim
* when we switch_to a process. * when we switch_to a process.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment