Page MenuHomeFreeBSD

linuxkpi: Move `_RET_IP_` to <linux/instruction_pointer.h>
ClosedPublic

Authored by dumbbell on Mar 8 2026, 1:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 20, 9:30 PM
Unknown Object (File)
Thu, Apr 16, 4:02 PM
Unknown Object (File)
Wed, Apr 15, 6:49 PM
Unknown Object (File)
Sat, Apr 11, 4:37 PM
Unknown Object (File)
Mon, Apr 6, 9:55 PM
Unknown Object (File)
Sun, Apr 5, 11:49 AM
Unknown Object (File)
Sun, Apr 5, 1:40 AM
Unknown Object (File)
Wed, Apr 1, 5:53 PM
Subscribers

Details

Summary

This matches the declaration on Linux.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

dumbbell edited the summary of this revision. (Show Details)
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/instruction_pointer.h
8

In theory the definition came from fee0d486ef34c by @nc (https://reviews.freebsd.org/D30707)

emaste added inline comments.
sys/compat/linuxkpi/common/include/linux/instruction_pointer.h
8

It did, although that commit did not add a copyright statement to the file it was added to. I think it doesn't much matter for the trivial content in this file. We can add a @nc copyright, but I think it would be the first one in the tree.

This revision is now accepted and ready to land.Mar 8 2026, 3:19 PM
sys/compat/linuxkpi/common/include/linux/instruction_pointer.h
8

Is nc a big contrubutor? But all the ip in this file is from nc, so the copyright is misleading...

Also, i thought FF contracts were doing spdx exclusively now

sys/compat/linuxkpi/common/include/linux/instruction_pointer.h
8

Yes, for FF-sponsored work we can use SPDX-only.

Fix copyright header and restore copyright of @nc

This revision now requires review to proceed.Mar 8 2026, 8:52 PM
This revision is now accepted and ready to land.Sun, Mar 29, 11:06 PM