elcr: Initialize variable before calling TUNABLE_INT_FETCH()
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 13 Apr 2011 13:28:14 +0000 (21:28 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 13 Apr 2011 13:28:14 +0000 (21:28 +0800)
commit0c04660046223681ae1e6dfb7cab4f73e84c66a6
treef9b2a3951b5703defce95b7550c285e20514d709
parent2425388892168e6fb13c0e8190adea0ecf15af56
elcr: Initialize variable before calling TUNABLE_INT_FETCH()

If the tunable is not defined, the variable will not be initailized at all,
which causes random ELCR probing failure.
sys/platform/pc32/icu/elcr.c
sys/platform/pc64/icu/elcr.c