summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.h
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2017-04-11 10:45:17 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2017-04-12 08:42:51 -0700
commit5146d0b7627900ccbb30049246cdca232a79abf5 (patch)
treec351bfcb2e51e965c8733460c597ff03f7464fef /fs/xfs/xfs_inode.h
parentd956f813b6e731ef82699a18e468e37d59a1366d (diff)
downloadop-kernel-dev-5146d0b7627900ccbb30049246cdca232a79abf5.zip
op-kernel-dev-5146d0b7627900ccbb30049246cdca232a79abf5.tar.gz
xfs: remove custom do_div implementations
Long ago, all this gunk was added with a lament about problems with gcc's do_div, and a fun recommendation in the changelog: egcs-2.91.66 is the recommended compiler version for building XFS. All this special stuff was needed to work around an old gcc bug, apparently, and it's been there ever since. There should be no need for this anymore, so remove it. Remove the special 32-bit xfs_do_mod as well; just let the kernel's do_div() handle all this. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud