diff options
Diffstat (limited to 'include/linux/tnum.h')
-rw-r--r-- | include/linux/tnum.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/tnum.h b/include/linux/tnum.h index 0d2d3da46139..c7dc2b5902c0 100644 --- a/include/linux/tnum.h +++ b/include/linux/tnum.h | |||
@@ -23,8 +23,10 @@ struct tnum tnum_range(u64 min, u64 max); | |||
23 | /* Arithmetic and logical ops */ | 23 | /* Arithmetic and logical ops */ |
24 | /* Shift a tnum left (by a fixed shift) */ | 24 | /* Shift a tnum left (by a fixed shift) */ |
25 | struct tnum tnum_lshift(struct tnum a, u8 shift); | 25 | struct tnum tnum_lshift(struct tnum a, u8 shift); |
26 | /* Shift a tnum right (by a fixed shift) */ | 26 | /* Shift (rsh) a tnum right (by a fixed shift) */ |
27 | struct tnum tnum_rshift(struct tnum a, u8 shift); | 27 | struct tnum tnum_rshift(struct tnum a, u8 shift); |
28 | /* Shift (arsh) a tnum right (by a fixed min_shift) */ | ||
29 | struct tnum tnum_arshift(struct tnum a, u8 min_shift); | ||
28 | /* Add two tnums, return @a + @b */ | 30 | /* Add two tnums, return @a + @b */ |
29 | struct tnum tnum_add(struct tnum a, struct tnum b); | 31 | struct tnum tnum_add(struct tnum a, struct tnum b); |
30 | /* Subtract two tnums, return @a - @b */ | 32 | /* Subtract two tnums, return @a - @b */ |