projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68070bd
)
[PATCH] ARM: Fix new-ABI layout of struct stat64
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Mon, 4 Jul 2005 12:02:46 +0000
(13:02 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 4 Jul 2005 12:02:46 +0000
(13:02 +0100)
Add __attribute__((packed)) to ensure that the stat64 structure is
correctly laid out no matter which ABI the kernel is compiled for.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/stat.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-arm/stat.h
b/include/asm-arm/stat.h
index ca8e7a8436dac9fb37b1635d22cdde528344fd51..ec4e2c2e3b4754503566b706b2a83e7bf7b5fe00 100644
(file)
--- a/
include/asm-arm/stat.h
+++ b/
include/asm-arm/stat.h
@@
-89,6
+89,6
@@
struct stat64 {
unsigned long st_ctime_nsec;
unsigned long long st_ino;
-};
+}
__attribute__((packed))
;
#endif