HomeFreeBSD

Create a new macro for static DPCPU data.

Description

Create a new macro for static DPCPU data.

On arm64 (and possible other architectures) we are unable to use static
DPCPU data in kernel modules. This is because the compiler will generate
PC-relative accesses, however the runtime-linker expects to be able to
relocate these.

In preparation to fix this create two macros depending on if the data is
global or static.

Reviewed by: bz, emaste, markj
Sponsored by: ABT Systems Ltd
Differential Revision: https://reviews.freebsd.org/D16140

Details

Provenance
andrewAuthored on
Reviewer
bz
Differential Revision
D16140: Create a new macro for static DPCPU data
Parents
rS336006: Remove redundant device ar71xx_wdog which is now included from
Branches
Unknown
Tags
Unknown