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)
Fri, Jan 17, 3:21 PM
Unknown Object (File)
Thu, Jan 16, 5:57 PM
Unknown Object (File)
Fri, Jan 10, 6:53 PM
Unknown Object (File)
Fri, Jan 3, 6:04 AM
Unknown Object (File)
Nov 23 2024, 4:15 AM
Unknown Object (File)
Nov 21 2024, 3:25 PM
Unknown Object (File)
Nov 18 2024, 6:54 PM
Unknown Object (File)
Nov 18 2024, 6:56 AM

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46020
Build 42908: arc lint + arc unit

Event Timeline

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

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

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

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
37

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
40

NEON not FPU_API

This revision was automatically updated to reflect the committed changes.