summaryrefslogtreecommitdiffstats
path: root/fs/affs/amigaffs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/affs/amigaffs.h')
-rw-r--r--fs/affs/amigaffs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/affs/amigaffs.h b/fs/affs/amigaffs.h
index f9bef9056659..81fb396d4dfa 100644
--- a/fs/affs/amigaffs.h
+++ b/fs/affs/amigaffs.h
@@ -32,6 +32,9 @@
#define AFFS_ROOT_BMAPS 25
+/* Seconds since Amiga epoch of 1978/01/01 to UNIX */
+#define AFFS_EPOCH_DELTA ((8 * 365 + 2) * 86400LL)
+
struct affs_date {
__be32 days;
__be32 mins;