lkml.org 
[lkml]   [2008]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 7/9] ufs: replace __inline with inline
From
Date
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
fs/ufs/swab.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/ufs/swab.h b/fs/ufs/swab.h
index 1683d2b..9e343e7 100644
--- a/fs/ufs/swab.h
+++ b/fs/ufs/swab.h
@@ -40,7 +40,7 @@ cpu_to_fs64(struct super_block *sbp, u64 n)
return (__force __fs64)cpu_to_be64(n);
}

-static __inline u32
+static inline u32
fs64_add(struct super_block *sbp, u32 *n, int d)
{
if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE)
@@ -49,7 +49,7 @@ fs64_add(struct super_block *sbp, u32 *n, int d)
return *n = cpu_to_be64(be64_to_cpu(*n)+d);
}

-static __inline u32
+static inline u32
fs64_sub(struct super_block *sbp, u32 *n, int d)
{
if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE)
@@ -58,7 +58,7 @@ fs64_sub(struct super_block *sbp, u32 *n, int d)
return *n = cpu_to_be64(be64_to_cpu(*n)-d);
}

-static __inline u32
+static inline u32
fs32_to_cpu(struct super_block *sbp, __fs32 n)
{
if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE)
--
1.5.4.3.500.g83a2c



\
 
 \ /
  Last update: 2008-03-05 02:23    [W:0.050 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site