HomeFreeBSD

MFC 350013: Don't pass error from syscallenter() to syscallret().

Description

MFC 350013: Don't pass error from syscallenter() to syscallret().

syscallret() doesn't use error anymore. Fix a few other places to permit
removing the return value from syscallenter() entirely.

  • Remove a duplicated assertion from arm's syscall().
  • Use td_errno for amd64_syscall_ret_flush_l1d.

Details

Provenance
jhbAuthored on
Parents
rS360391: MFC r359702, r359774: enforce -fno-common for userland/kernel src builds
Branches
Unknown
Tags
Unknown