Page MenuHomeFreeBSD

linuxkpi: Add _RET_IP_ macro in kernel.h
ClosedPublic

Authored by nc on Wed, Jun 9, 6:20 PM.

Details

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

nc requested review of this revision.Wed, Jun 9, 6:20 PM

Please explain what it does and why it's needed.

This is used for the addresses in mutexes and log messages.

Source (OpenBSD): https://github.com/openbsd/src/search?q=_RET_IP_

This revision is now accepted and ready to land.Wed, Jun 9, 8:37 PM
In D30707#690139, @nc wrote:

This is used for the addresses in mutexes and log messages.

Source (OpenBSD): https://github.com/openbsd/src/search?q=_RET_IP_

This is not an explanation, I don't understand why it was accepted.

This revision was automatically updated to reflect the committed changes.