Page MenuHomeFreeBSD

fix ppc build without COMPAT_FREEBSD6
AbandonedPublic

Authored by emaste on Mar 14 2016, 1:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 15, 5:37 AM
Unknown Object (File)
Apr 24 2024, 2:26 AM
Unknown Object (File)
Mar 14 2024, 1:43 PM
Unknown Object (File)
Dec 20 2023, 12:47 AM
Unknown Object (File)
Sep 15 2023, 11:59 AM
Unknown Object (File)
Sep 7 2023, 9:03 AM
Unknown Object (File)
Aug 28 2023, 2:22 AM
Unknown Object (File)
Aug 8 2023, 12:22 PM
Subscribers

Details

Reviewers
jhibbits
jhb
Summary

Use SYS_freebsd6_lseek only if COMPAT_FREEBSD6 is enabled.

Tinderbox had failed with

/scratch/tmp/emaste/freebsd/sys/powerpc/powerpc/exec_machdep.c: In function 'cpu_set_syscall_retval':
/scratch/tmp/emaste/freebsd/sys/powerpc/powerpc/exec_machdep.c:882: error: 'SYS_freebsd6_lseek' undeclared (first use in this function)
/scratch/tmp/emaste/freebsd/sys/powerpc/powerpc/exec_machdep.c:882: error: (Each undeclared identifier is reported only once
/scratch/tmp/emaste/freebsd/sys/powerpc/powerpc/exec_machdep.c:882: error: for each function it appears in.)
*** [exec_machdep.o] Error code 1

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to fix ppc build without COMPAT_FREEBSD6.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: jhibbits.
sys/powerpc/powerpc/exec_machdep.c
882–889

It looks like you're reversing the check.

emaste edited edge metadata.

Correct sense of test

jhibbits edited edge metadata.
This revision is now accepted and ready to land.Mar 14 2016, 2:57 AM
emaste added a subscriber: jhb.

Adding @jhb as it seems this is fallout from D5597

emaste added a subscriber: bz.

@bz committed a similar change in rS296861