diff options
author | Christoph Hellwig <hch@lst.de> | 2015-06-22 02:43:32 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-06-22 02:43:32 +0300 |
commit | db9d67d6b09e5d86da0c33da0d9dcb7998653c4f (patch) | |
tree | 67646b74117d33d8f2fbe4639fed4bdef8219ae5 /fs/xfs/xfs_linux.h | |
parent | 2ac56d3d4bd625450a54d4c3f9292d58f6b88232 (diff) | |
download | linux-db9d67d6b09e5d86da0c33da0d9dcb7998653c4f.tar.xz |
xfs: remove __psint_t and __psunsigned_t
Replace uses of __psint_t with the proper uintptr_t and ptrdiff_t types,
and remove the defintions of __psint_t and __psunsigned_t.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_linux.h')
-rw-r--r-- | fs/xfs/xfs_linux.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/xfs/xfs_linux.h b/fs/xfs/xfs_linux.h index 7c7842c85a08..1637a95c1e0c 100644 --- a/fs/xfs/xfs_linux.h +++ b/fs/xfs/xfs_linux.h @@ -41,17 +41,6 @@ typedef char * xfs_caddr_t; /* <core address> type */ typedef __u32 xfs_dev_t; typedef __u32 xfs_nlink_t; -/* __psint_t is the same size as a pointer */ -#if (BITS_PER_LONG == 32) -typedef __int32_t __psint_t; -typedef __uint32_t __psunsigned_t; -#elif (BITS_PER_LONG == 64) -typedef __int64_t __psint_t; -typedef __uint64_t __psunsigned_t; -#else -#error BITS_PER_LONG must be 32 or 64 -#endif - #include "xfs_types.h" #include "kmem.h" |