Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146195149
D41163.id125088.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
554 B
Referenced Files
None
Subscribers
None
D41163.id125088.diff
View Options
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -395,6 +395,15 @@
print_caddr_t, diag_warn);
#endif
+#if __SIZEOF_LONG__ == 4
+static char ilp32_warn[] =
+ "WARNING: 32-bit kernels are deprecated and may be removed in 15.0.\n";
+SYSINIT(ilp32warn, SI_SUB_COPYRIGHT, SI_ORDER_FIFTH,
+ print_caddr_t, ilp32_warn);
+SYSINIT(ilp32warn2, SI_SUB_LAST, SI_ORDER_FIFTH,
+ print_caddr_t, ilp32_warn);
+#endif
+
static int
null_fetch_syscall_args(struct thread *td __unused)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 1, 3:47 PM (5 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29118633
Default Alt Text
D41163.id125088.diff (554 B)
Attached To
Mode
D41163: sys: Add a deprecation warning for 32-bit kernels.
Attached
Detach File
Event Timeline
Log In to Comment