lkml.org 
[lkml]   [2005]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 70/82] remove linux/version.h from fs/xfs/

    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/

    \
     
     \ /
      Last update: 2005-07-10 22:15    [W:0.023 / U:181.260 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site