Re: [Announce] BKL shifting into drivers and filesystems - beware

From: David Woodhouse (dwmw2@infradead.org)
Date: Fri Jul 14 2000 - 03:48:53 EST


torvalds@transmeta.com said:
> The thing I hate, though, is code like
> #if LINUX_VERSION_CODE >= VERSION(2,5,10)
> lock_kernel();
> #endif
> in drivers. _Particularly_ in drivers.

Hmmm. Just as well I resisted the temptation to include a handful of...

 #if LINUX_VERSION_CODE < 0x20400
        MOD_INC_USE_COUNT
 #endif

... in the last patch I sent you then :)

But that's for 2.2 / 2.4 compatibility, and to be fair, that really has to
be considered Someone Else's Problem (mine in this case - bollocks).

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:19 EST