summaryrefslogtreecommitdiff
path: root/fuse.py
diff options
context:
space:
mode:
authorGreg Pearson <greg.pearson@hpe.com>2016-02-09 11:58:32 -0700
committerGreg Pearson <greg.pearson@hpe.com>2016-02-09 11:58:32 -0700
commit220ab76b5d1a95ffced0e48023abdea926ae6bfc (patch)
treea5f026a7099a5ab4870fd0bc3f264a40c2511196 /fuse.py
parent27d76e442d96139f9038d83d23275877fa3d3c9b (diff)
downloadfusepy-220ab76b5d1a95ffced0e48023abdea926ae6bfc.tar.gz
Add support for arm64 architecture
Diffstat (limited to 'fuse.py')
-rw-r--r--fuse.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/fuse.py b/fuse.py
index 7a03d61..5150453 100644
--- a/fuse.py
+++ b/fuse.py
@@ -171,6 +171,23 @@ elif _system == 'Linux':
('st_atimespec', c_timespec),
('st_mtimespec', c_timespec),
('st_ctimespec', c_timespec)]
+ elif _machine == 'aarch64':
+ c_stat._fields_ = [
+ ('st_dev', c_dev_t),
+ ('st_ino', c_ulong),
+ ('st_mode', c_mode_t),
+ ('st_nlink', c_uint),
+ ('st_uid', c_uid_t),
+ ('st_gid', c_gid_t),
+ ('st_rdev', c_dev_t),
+ ('__pad1', c_ulong),
+ ('st_size', c_off_t),
+ ('st_blksize', c_int),
+ ('__pad2', c_int),
+ ('st_blocks', c_long),
+ ('st_atimespec', c_timespec),
+ ('st_mtimespec', c_timespec),
+ ('st_ctimespec', c_timespec)]
else:
# i686, use as fallback for everything else
c_stat._fields_ = [