diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2015-11-09 17:58:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-09 18:11:24 -0500 |
commit | 79211c8ed19c055ca105502c8733800d442a0ae6 (patch) | |
tree | b4adbbf8ca6fde9838a71432f452737883541346 /fs/gfs2 | |
parent | c8299cb605b27dd5a49f7a69e48fd23e5a206298 (diff) |
remove abs64()
Switch everything to the new and more capable implementation of abs().
Mainly to give the new abs() a bit of a workout.
Cc: Michal Nazarewicz <mina86@mina86.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/lock_dlm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/lock_dlm.c b/fs/gfs2/lock_dlm.c index 284c1542783e..8b907c5cc913 100644 --- a/fs/gfs2/lock_dlm.c +++ b/fs/gfs2/lock_dlm.c | |||
@@ -50,7 +50,7 @@ static inline void gfs2_update_stats(struct gfs2_lkstats *s, unsigned index, | |||
50 | s64 delta = sample - s->stats[index]; | 50 | s64 delta = sample - s->stats[index]; |
51 | s->stats[index] += (delta >> 3); | 51 | s->stats[index] += (delta >> 3); |
52 | index++; | 52 | index++; |
53 | s->stats[index] += ((abs64(delta) - s->stats[index]) >> 2); | 53 | s->stats[index] += ((abs(delta) - s->stats[index]) >> 2); |
54 | } | 54 | } |
55 | 55 | ||
56 | /** | 56 | /** |