* MTD CVS update: 'mtd/include/linux sysdep-2.1.h sysdep-2.2.h'
@ 2000-05-18 16:31 eauth
2000-05-19 9:47 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: eauth @ 2000-05-18 16:31 UTC (permalink / raw)
To: cvs-notify
Update of /home/cvs/mtd/include/linux
In directory infradead.org:/tmp/cvs-serv31740/include/linux
Added Files:
sysdep-2.1.h sysdep-2.2.h
Log Message:
An attempt to support 2.0 and 2.1 kernels for uClinux
and other systems where the latest kernel is not used.
Until now, only the MTD core modules, mtdram.c and
ftl.c are converted. The changes are centralized in the
file sysdep-2.2.h.
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MTD CVS update: 'mtd/include/linux sysdep-2.1.h sysdep-2.2.h'
2000-05-18 16:31 MTD CVS update: 'mtd/include/linux sysdep-2.1.h sysdep-2.2.h' eauth
@ 2000-05-19 9:47 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2000-05-19 9:47 UTC (permalink / raw)
To: eauth; +Cc: cvs-notify
eauth@infradead.org said:
> An attempt to support 2.0 and 2.1 kernels for uClinux and other
> systems where the latest kernel is not used. Until now, only the MTD
> core modules, mtdram.c and ftl.c are converted. The changes are
> centralized in the file sysdep-2.2.h.
I'd rather this were done with the file linux/compatmac.h which has been
introduced for this purpose into 2.2.15
I'd also like to do without constructs such as...
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0)
if (mtd->module)
__MOD_DEC_USE_COUNT(mtd->module);
+#endif
In the 2.0 compatmac.h, we can simply define __MOD_DEC_USE_COUNT() to do
nothing, instead of making the check in mtd.h
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-05-19 9:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-18 16:31 MTD CVS update: 'mtd/include/linux sysdep-2.1.h sysdep-2.2.h' eauth
2000-05-19 9:47 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox