summaryrefslogtreecommitdiffstats
path: root/include/linux/hfs_fs.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-01-04 16:03:48 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-01-04 16:03:48 +0000
commit78c388aed2b7184182c08428db1de6c872d815f5 (patch)
tree4b2003b1b4ceb241a17faa995da8dd1004bb8e45 /include/linux/hfs_fs.h
parenteb7a5bf93aaa4be1d7c6181100ab7639e74d67f7 (diff)
Merge with Linux 2.1.131 and more MIPS goodies.
(Did I mention that CVS is buggy ...)
Diffstat (limited to 'include/linux/hfs_fs.h')
-rw-r--r--include/linux/hfs_fs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/hfs_fs.h b/include/linux/hfs_fs.h
index 9b43579c0..eaae0ecc5 100644
--- a/include/linux/hfs_fs.h
+++ b/include/linux/hfs_fs.h
@@ -104,10 +104,10 @@
*/
#define hfs_h_to_mtime(ARG) htonl((hfs_s32)ntohl(ARG)+3029529600U)
#define hfs_m_to_htime(ARG) ((hfs_s32)htonl(ntohl(ARG)-3029529600U))
-#define hfs_h_to_utime(ARG) ((hfs_s32)ntohl(ARG)+946684800U)
-#define hfs_u_to_htime(ARG) ((hfs_s32)htonl((ARG)-946684800U))
-#define hfs_u_to_mtime(ARG) htonl((ARG)+2082844800U)
-#define hfs_m_to_utime(ARG) (ntohl(ARG)-2082844800U)
+#define hfs_h_to_utime(ARG) ((hfs_s32)hfs_to_utc(ntohl(ARG)+946684800U))
+#define hfs_u_to_htime(ARG) ((hfs_s32)htonl(hfs_from_utc(ARG)-946684800U))
+#define hfs_u_to_mtime(ARG) htonl(hfs_from_utc(ARG)+2082844800U)
+#define hfs_m_to_utime(ARG) (hfs_to_utc(ntohl(ARG)-2082844800U))
/*======== Data structures kept in memory ========*/