public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Compatibility issues.
@ 2000-05-19 11:59 David Woodhouse
  0 siblings, 0 replies; only message in thread
From: David Woodhouse @ 2000-05-19 11:59 UTC (permalink / raw)
  To: mtd; +Cc: Erwin Authried

I would like to have as few occurrences of #if LINUX_VERSION_CODE ... in 
the actual source code of the MTD stuff as possible.

The 2.2.15 kernel contains a new file linux/compatmac.h which provides a 
handful of useful macros which allow you to write portable code.

This is what I've been using for ensuring compatibility between 2.2 and 2.3 
code, and I'd like to provide a similar linux/compatmac.h file to allow us 
to compile for 2.0 as well.

I've added linux/mtd/compatmac.h which currently contains the definitions 
which are missing from Linus' version - but I'd like my file to become 
obsolete as all the required definitions are accepted into the 'official' 
version of compatmac.h in both the 2.0 and 2.2 kernels.

So I've removed all references to the sysdep-2.[12].h files, and moved some 
of the extra definitions into our own mtd/compatmac.h.

If more are required for fixing the 2.0 build, I'd prefer that they be 
added to mtd/compatmac.h, and we can soon delete the sysdep-2.[12].h files 
from the repository.



--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-19 11:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-19 11:59 Compatibility issues David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox