Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Lars Ellenberg <lars.ellenberg@linbit.com>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] [PATCH] Support use of HAVE_LINUX_BYTEORDER_SWABB_H for kernel	versions older than 2.6.29
Date: Thu, 7 May 2009 13:14:14 +0200	[thread overview]
Message-ID: <20090507111414.GB8753@soda.linbit> (raw)
In-Reply-To: <1241687771-28759-1-git-send-email-mika@grml.org>

On Thu, May 07, 2009 at 11:16:11AM +0200, Michael Prokop wrote:
> 
> Signed-off-by: Michael Prokop <mika@grml.org>
> 
> diff --git a/drbd/linux/drbd_config.h b/drbd/linux/drbd_config.h
> index 4d323f7..ac14997 100644
> --- a/drbd/linux/drbd_config.h
> +++ b/drbd/linux/drbd_config.h
> @@ -74,7 +74,10 @@ extern const char *drbd_buildtag(void);
>  #define HAVE_LINUX_SCATTERLIST_H
>  
>  /* 2.6.29 and up no longer have swabb.h */
> -//#define HAVE_LINUX_BYTEORDER_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 .. */

Thanks. But unneccessary.
For the other settings, scripts/adjust_drbd_config_h.sh has to be run
anyways, which also takes care of this setting.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.

           reply	other threads:[~2009-05-07 11:14 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1241687771-28759-1-git-send-email-mika@grml.org>]

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=20090507111414.GB8753@soda.linbit \
    --to=lars.ellenberg@linbit.com \
    --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