[PATCH 70/82] remove linux/version.h from fs/xfs/
From: Olaf Hering (olh_at_suse.de)
Date: 07/10/05
- Previous message: Micheal Marineau: "Re: ALPS psmouse_reset on reconnect confusing Tecra M2"
- In reply to: Olaf Hering: "[PATCH 0/82] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason."
- Next in thread: Olaf Hering: "[PATCH 57/82] remove linux/version.h from drivers/telephony/ixj.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 10 Jul 2005 19:36:18 +0000 To: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason.
remove code for obsolete kernels
Signed-off-by: Olaf Hering <olh@suse.de>
fs/xfs/linux-2.6/xfs_linux.h | 1 -
fs/xfs/xfs_dmapi.h | 16 ----------------
2 files changed, 17 deletions(-)
Index: linux-2.6.13-rc2-mm1/fs/xfs/linux-2.6/xfs_linux.h
===================================================================
--- linux-2.6.13-rc2-mm1.orig/fs/xfs/linux-2.6/xfs_linux.h
+++ linux-2.6.13-rc2-mm1/fs/xfs/linux-2.6/xfs_linux.h
@@ -87,7 +87,6 @@
#include <linux/init.h>
#include <linux/list.h>
#include <linux/proc_fs.h>
-#include <linux/version.h>
#include <linux/sort.h>
#include <asm/page.h>
Index: linux-2.6.13-rc2-mm1/fs/xfs/xfs_dmapi.h
===================================================================
--- linux-2.6.13-rc2-mm1.orig/fs/xfs/xfs_dmapi.h
+++ linux-2.6.13-rc2-mm1/fs/xfs/xfs_dmapi.h
@@ -172,25 +172,9 @@ typedef enum {
/*
* Based on IO_ISDIRECT, decide which i_ flag is set.
*/
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0)
#define DM_SEM_FLAG_RD(ioflags) (((ioflags) & IO_ISDIRECT) ? DM_FLAGS_ISEM : 0)
#define DM_SEM_FLAG_WR (DM_FLAGS_IALLOCSEM_WR | DM_FLAGS_ISEM)
-#endif
-
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)) && - (LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,22))
-#define DM_SEM_FLAG_RD(ioflags) (((ioflags) & IO_ISDIRECT) ? - DM_FLAGS_IALLOCSEM_RD : DM_FLAGS_ISEM)
-#define DM_SEM_FLAG_WR (DM_FLAGS_IALLOCSEM_WR | DM_FLAGS_ISEM)
-#endif
-
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,21)
-#define DM_SEM_FLAG_RD(ioflags) (((ioflags) & IO_ISDIRECT) ? - 0 : DM_FLAGS_ISEM)
-#define DM_SEM_FLAG_WR (DM_FLAGS_ISEM)
-#endif
-
/*
* Macros to turn caller specified delay/block flags into
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Micheal Marineau: "Re: ALPS psmouse_reset on reconnect confusing Tecra M2"
- In reply to: Olaf Hering: "[PATCH 0/82] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason."
- Next in thread: Olaf Hering: "[PATCH 57/82] remove linux/version.h from drivers/telephony/ixj.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|