Page MenuHomeFreeBSD

D41163.id125088.diff
No OneTemporary

D41163.id125088.diff

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

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)

Event Timeline