Date: Mon, 8 Jun 2009 15:02:30 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r193718 - head/sys/sys Message-ID: <200906081502.n58F2UVk032754@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Mon Jun 8 15:02:30 2009 New Revision: 193718 URL: http://svn.freebsd.org/changeset/base/193718 Log: Update vimage size guard values but do not yet re-enable them. Now that rt_tables does no longer change depending on kernel option we do no longer need any special values for LINT. The updated values will be used to make sure that an upcoming opt_route.h cleanup will not again show any side effects. Modified: head/sys/sys/vimage.h Modified: head/sys/sys/vimage.h ============================================================================== --- head/sys/sys/vimage.h Mon Jun 8 14:52:17 2009 (r193717) +++ head/sys/sys/vimage.h Mon Jun 8 15:02:30 2009 (r193718) @@ -358,60 +358,48 @@ extern struct vprocg_list_head vprocg_he * See description further down to see how to get the new values. */ #ifdef __amd64__ -#define SIZEOF_vnet_net 464 -#define SIZEOF_vnet_net_LINT 5144 -#define SIZEOF_vnet_inet 4352 -#define SIZEOF_vnet_inet6 8800 +#define SIZEOF_vnet_net 176 +#define SIZEOF_vnet_inet 4424 +#define SIZEOF_vnet_inet6 8808 #define SIZEOF_vnet_ipsec 31160 #endif #ifdef __arm__ -#define SIZEOF_vnet_net 236 -#define SIZEOF_vnet_net_LINT 1 /* No LINT kernel yet. */ -#define SIZEOF_vnet_inet 2580 -#define SIZEOF_vnet_inet6 8536 +#define SIZEOF_vnet_net 96 +#define SIZEOF_vnet_inet 2616 +#define SIZEOF_vnet_inet6 8524 #define SIZEOF_vnet_ipsec 1 #endif #ifdef __i386__ /* incl. pc98 */ -#define SIZEOF_vnet_net 236 -#define SIZEOF_vnet_net_LINT 2576 -#define SIZEOF_vnet_inet 2576 -#define SIZEOF_vnet_inet6 8528 -#define SIZEOF_vnet_ipsec 31016 +#define SIZEOF_vnet_net 96 +#define SIZEOF_vnet_inet 2612 +#define SIZEOF_vnet_inet6 8512 +#define SIZEOF_vnet_ipsec 31024 #endif #ifdef __ia64__ -#define SIZEOF_vnet_net 464 -#define SIZEOF_vnet_net_LINT 5144 -#define SIZEOF_vnet_inet 4352 -#define SIZEOF_vnet_inet6 8800 +#define SIZEOF_vnet_net 176 +#define SIZEOF_vnet_inet 4424 +#define SIZEOF_vnet_inet6 8808 #define SIZEOF_vnet_ipsec 31160 #endif #ifdef __mips__ -#define SIZEOF_vnet_net 236 -#define SIZEOF_vnet_net_LINT 1 /* No LINT kernel yet. */ -#define SIZEOF_vnet_inet 2624 -#define SIZEOF_vnet_inet6 8552 +#define SIZEOF_vnet_net 96 +#define SIZEOF_vnet_inet 2648 +#define SIZEOF_vnet_inet6 8544 #define SIZEOF_vnet_ipsec 1 #endif #ifdef __powerpc__ -#define SIZEOF_vnet_net 236 -#define SIZEOF_vnet_net_LINT 2576 -#define SIZEOF_vnet_inet 2616 -#define SIZEOF_vnet_inet6 8536 +#define SIZEOF_vnet_net 96 +#define SIZEOF_vnet_inet 2640 +#define SIZEOF_vnet_inet6 8520 #define SIZEOF_vnet_ipsec 31048 #endif #ifdef __sparc64__ /* incl. sun4v */ -#define SIZEOF_vnet_net 464 -#define SIZEOF_vnet_net_LINT 5144 -#define SIZEOF_vnet_inet 4352 -#define SIZEOF_vnet_inet6 8800 +#define SIZEOF_vnet_net 176 +#define SIZEOF_vnet_inet 4424 +#define SIZEOF_vnet_inet6 8808 #define SIZEOF_vnet_ipsec 31160 #endif -#ifdef COMPILING_LINT -#undef SIZEOF_vnet_net -#define SIZEOF_vnet_net SIZEOF_vnet_net_LINT -#endif - #ifndef SIZEOF_vnet_net #error "SIZEOF_vnet_net no defined for this architecture." #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906081502.n58F2UVk032754>