summaryrefslogtreecommitdiffstats
path: root/include/input/Input.h
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-06-03 13:58:40 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-03 13:58:40 +0000
commitdb1972bd8e9b055f2df77d57ac55f1c02ebdd278 (patch)
tree763f55625627c024b6319296ab58a527cb49df5b /include/input/Input.h
parentedcf7f4d3ac452500d68e254d367f559d538695d (diff)
parent26063a9155ddd18d858cea7fac7c1ddf71e1bcb7 (diff)
downloadframeworks_native-db1972bd8e9b055f2df77d57ac55f1c02ebdd278.zip
frameworks_native-db1972bd8e9b055f2df77d57ac55f1c02ebdd278.tar.gz
frameworks_native-db1972bd8e9b055f2df77d57ac55f1c02ebdd278.tar.bz2
am 26063a91: am f1dd859b: Merge "x86_64: Align uint64_t/int64_t structure member to 8 bytes"
* commit '26063a9155ddd18d858cea7fac7c1ddf71e1bcb7': x86_64: Align uint64_t/int64_t structure member to 8 bytes
Diffstat (limited to 'include/input/Input.h')
-rw-r--r--include/input/Input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/input/Input.h b/include/input/Input.h
index a4fa317..bba8f1e 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -189,7 +189,7 @@ struct PointerCoords {
enum { MAX_AXES = 14 }; // 14 so that sizeof(PointerCoords) == 64
// Bitfield of axes that are present in this structure.
- uint64_t bits;
+ uint64_t bits __attribute__((aligned(8)));
// Values of axes that are stored in this structure packed in order by axis id
// for each axis that is present in the structure according to 'bits'.