tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: apparently missing locking in if_bnx.c
On Tue, Mar 06, 2012 at 08:35:28PM +0100, Manuel Bouyer wrote:
> curcpu()->ci_ilevel is x86-specific, unfortunably ...
Make it something like:
#ifdef CPU_ASSERT_SPL
CPU_ASSERT_SPL(...)
#endif
and have archs (optionally) provide the magic (which is similar or identical
to the x86 one on quite a lot archs, IIRC).
Martin
Home |
Main Index |
Thread Index |
Old Index