]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't use the static CALLOUT_INITIALIZER for __FreeBSD_version >= 600000. It
authormlaier <mlaier@FreeBSD.org>
Mon, 21 Feb 2005 17:11:09 +0000 (17:11 +0000)
committermlaier <mlaier@FreeBSD.org>
Mon, 21 Feb 2005 17:11:09 +0000 (17:11 +0000)
commita448425842938ffbd5c979639b47bb6c303238bc
tree231a8af96e3a167cb952d880214f020566b49f18
parent5003a52a0ce2712f8874cec0648262f4b0a3e3d7
Don't use the static CALLOUT_INITIALIZER for __FreeBSD_version >= 600000. It
was a bad idea, but since it is done like this in the vendor source we keep
it around for older versions. As a safe guard against future misuse we don't
even define CALLOUT_INITIALIZER anymore.

This fixes ALTQ after callout_init_mtx() and takes altq_var.h off the vendor
branch.

Submitted by: Divacky Roman <xdivac02NOstud.fit.vutbrSPAMcz> (w/ changes)
sys/contrib/altq/altq/altq_subr.c
sys/contrib/altq/altq/altq_var.h