From: David Woodhouse <dwmw2@infradead.org>
To: eauth@infradead.org
Cc: cvs-notify@infradead.org
Subject: Re: MTD CVS update: 'mtd/include/linux sysdep-2.1.h sysdep-2.2.h'
Date: Fri, 19 May 2000 10:47:42 +0100 [thread overview]
Message-ID: <19253.958729662@devel2.axiom.internal> (raw)
In-Reply-To: <E12sTDL-0008GA-00@infradead.org>
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
prev parent reply other threads:[~2000-05-19 9:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19253.958729662@devel2.axiom.internal \
--to=dwmw2@infradead.org \
--cc=cvs-notify@infradead.org \
--cc=eauth@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox