Page MenuHomeFreeBSD

D41195.1775488737.diff
No OneTemporary

Size
966 B
Referenced Files
None
Subscribers
None

D41195.1775488737.diff

diff --git a/sys/net/vnet.h b/sys/net/vnet.h
--- a/sys/net/vnet.h
+++ b/sys/net/vnet.h
@@ -281,7 +281,7 @@
#define VNET_DEFINE(t, n) \
struct _hack; t VNET_NAME(n) __section(VNET_SETNAME) __used
#if defined(KLD_MODULE) && (defined(__aarch64__) || defined(__riscv) \
- || defined(__powerpc64__))
+ || defined(__powerpc64__) || defined(__i386__))
/*
* As with DPCPU_DEFINE_STATIC we are unable to mark this data as static
* in modules on some architectures.
diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h
--- a/sys/sys/pcpu.h
+++ b/sys/sys/pcpu.h
@@ -86,7 +86,7 @@
#define DPCPU_DEFINE(t, n) \
struct _hack; t DPCPU_NAME(n) __section(DPCPU_SETNAME) __used
#if defined(KLD_MODULE) && (defined(__aarch64__) || defined(__riscv) \
- || defined(__powerpc64__))
+ || defined(__powerpc64__) || defined(__i386__))
/*
* On some architectures the compiler will use PC-relative load to
* find the address of DPCPU data with the static keyword. We then

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 6, 3:18 PM (7 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28278051
Default Alt Text
D41195.1775488737.diff (966 B)

Event Timeline