From: "Ante Karamatić" <ivoks@grad.hr>
To: drbd-dev@lists.linbit.com
Subject: [Drbd-dev] Another compatibility issue
Date: Fri, 19 Jun 2009 17:25:12 +0200 [thread overview]
Message-ID: <4A3BADD8.8030206@grad.hr> (raw)
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
Hi again
Here's another issue I'm having. linux/drbd_config.h is right saying:
/* 2.6.29 and up no longer have swabb.h */
But, then doesn't do anything about it. So, proposed diff is attached.
[-- Attachment #2: swabb.diff --]
[-- Type: text/x-patch, Size: 476 bytes --]
--- drbd8-8.3.2~/drbd/linux/drbd_config.h 2009-06-19 16:11:44.000000000 +0200
+++ drbd8-8.3.2/drbd/linux/drbd_config.h 2009-06-19 17:19:00.000000000 +0200
@@ -74,7 +74,11 @@
#define HAVE_LINUX_SCATTERLIST_H
/* 2.6.29 and up no longer have swabb.h */
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
#define HAVE_LINUX_BYTEORDER_SWABB_H
+#endif
+
/* Some vendor kernels < 2.6.7 might define msleep in one or
* another way .. */
next reply other threads:[~2009-06-19 15:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-19 15:25 Ante Karamatić [this message]
2009-06-19 16:06 ` [Drbd-dev] Another compatibility issue Lars Ellenberg
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=4A3BADD8.8030206@grad.hr \
--to=ivoks@grad.hr \
--cc=drbd-dev@lists.linbit.com \
/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