XFS does some 64 bit divide and mod operations, we had added library
support for the i386 compiler intrinsics gcc generates to do this.
This mod removes reliance on those intrinsics, and either changes
XFS to no longer use the 64 bit math where possible, or to use the
do_div function - which does 64 bit / 32 bit unsigned divide which
is all we require.
Date: Mon Aug 7 08:12:24 PDT 2000
Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4.0-test5
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs
Modid: 2.4.0-test1-xfs:slinx:71481a
linux/arch/i386/lib/Makefile - 1.11
- Remove 64 bit divide support functions
linux/arch/i386/kernel/i386_ksyms.c - 1.29
- Do not export the 64 divide library functions - they are gone again
linux/fs/xfs/xfs_ag.h - 1.36
- move XFS_DADDR_TO_AGNO and XFS_DADDR_TO_AGBNO to xfs_mount.h, they are
inline functions and need the contents of mount_t to compile now.
linux/fs/xfs/xfs_rw.c - 1.323
- Fix an assert to be 64 bit friendly
linux/fs/xfs/xfs_buf_item.c - 1.108
- Fix an argument in a kprint call
linux/fs/xfs/xfs_vnodeops.c - 1.470
- Make 64 bit divide and modulus operations explicit
linux/fs/xfs/xfs_mount.h - 1.115
- move XFS_DADDR_TO_AGNO and XFS_DADDR_TO_AGBNO here as they need the
definition
of xfs_mount_t.
linux/fs/xfs/xfs_mount.c - 1.231
- Make 64 bit divide and modulus operations explicit
linux/fs/xfs/xfs_inode.h - 1.140
- Change inode hash functions to not require 64 bit math
linux/fs/xfs/xfs_fsops.c - 1.53
linux/fs/xfs/xfs_bmap.c - 1.257
- Make 64 bit divide and modulus operations explicit
linux/fs/xfs/xfs_dir2_node.c - 1.15
- Fix an assert to not require 64 bit divide.
linux/fs/xfs/pseudo-inc/sys/param.h - 1.9
- Add roundup_64 with an explicit call to do_div()
linux/fs/xfs/linux/xfs_lrw.c - 1.48
- Make 64 bit divide and modulus operations explicit
linux/fs/xfs/xfs_os_defs.h - 1.10
- Include asm/div64.h for 64 bit math interface, defined do_mod as a
side
effect free version of do_div, define user space versions.
|