Date: Thu, 1 Feb 2007 16:17:44 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 113843 for review Message-ID: <200702011617.l11GHiMT058424@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113843 Change 113843 by rwatson@rwatson_cinnamon on 2007/02/01 16:17:41 Volatile. Affected files ... .. //depot/projects/zcopybpf/src/sys/net/bpf.h#6 edit Differences ... ==== //depot/projects/zcopybpf/src/sys/net/bpf.h#6 (text+ko) ==== @@ -183,9 +183,9 @@ * fit in a single page on all architectures. */ struct bpf_zbuf_header { - u_int bzh_kernel_gen; /* Kernel generation number. */ - u_int bzh_kernel_len; /* Length of buffer. */ - u_int bzh_user_gen; /* User generation number. */ + volatile u_int bzh_kernel_gen; /* Kernel generation number. */ + volatile u_int bzh_kernel_len; /* Length of buffer. */ + volatile u_int bzh_user_gen; /* User generation number. */ u_int _bzh_pad[5]; /* Padding out to 32-byte boundary. */ };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702011617.l11GHiMT058424>