Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144566126
D41195.1775488737.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
966 B
Referenced Files
None
Subscribers
None
D41195.1775488737.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D41195: i386: Don't use static DPCPU and VNET defines in i386 modules
Attached
Detach File
Event Timeline
Log In to Comment