HomeFreeBSD

linux(4): Retire linux_kplatform.

Description

linux(4): Retire linux_kplatform.

Assuming we can't run on i486, i586 class cpu, retire linux_kplatform var
and use hardcoded 'machine' value in linux_newuname().

I have added linux_kplatform for consistency with linux_platform which is
placed in to vdso to avoid excess copyout it on stack for AT_PLATFORM at
exec time.

This is the first stage of Linuxulator's vdso revision.

Reviewed by: trasz, imp
Differential Revision: https://reviews.freebsd.org/D30774
MFC after: 2 weeks

Details

Provenance
dchaginAuthored on Jun 22 2021, 5:36 AM
Reviewer
trasz
Differential Revision
D30774: linux(4): Retire linux_kplatform.
Parents
rGe013e36939ac: linux(4): Get rid of Linuxulator kernel build options.
Branches
Unknown
Tags
Unknown