Page MenuHomeFreeBSD

LinuxKPI: add asm/neon.h
ClosedPublic

Authored by val_packett.cool on Jun 17 2022, 4:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 4:15 AM
Unknown Object (File)
Thu, Nov 21, 3:25 PM
Unknown Object (File)
Mon, Nov 18, 6:54 PM
Unknown Object (File)
Mon, Nov 18, 6:56 AM
Unknown Object (File)
Mon, Nov 18, 5:35 AM
Unknown Object (File)
Mon, Nov 18, 12:35 AM
Unknown Object (File)
Sun, Nov 17, 8:54 PM
Unknown Object (File)
Sun, Nov 17, 6:31 PM

Details

Summary

This is equivalent to asm/fpu/api.h, but is included by drm on aarch64.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/compat/linuxkpi/common/include/asm/neon.h
38

We try to not follow linux with extern in linuxkpi (at least recently).

sys/compat/linuxkpi/common/include/asm/neon.h
38

hm. the function exists, should I just not declare it as extern? why?

Should the x86 header also be changed in the same patch?

sys/compat/linuxkpi/common/include/asm/neon.h
38

When declaring prototypes for global functions, the extern keyword is optional. Only for variables it is needed.

I'm good with either version.

I'm agnostic about extern, and will leave that detail to others

This revision is now accepted and ready to land.Jun 17 2022, 9:08 PM
bz added a subscriber: bz.

With the nit please fixed in the last line.

Also raises a question on how we are going to deal with per-arch asm headers eventually in the future ...?

sys/compat/linuxkpi/common/include/asm/neon.h
41

NEON not FPU_API

This revision was automatically updated to reflect the committed changes.