summaryrefslogtreecommitdiffstats
path: root/include/input/Input.h
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-06-03 10:06:55 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-06-03 10:06:55 +0000
commitf1dd859baa114995bcbcfb7119e939d0b4f45ed5 (patch)
tree31c9c26725e3e7e8bedc002c19be47ad409c20b5 /include/input/Input.h
parent1ce5ecbe3286380f5ff7ace289369ed006e9b40a (diff)
parent83e0e425c61c4e03f61114a88f117db1553cd44c (diff)
downloadframeworks_native-f1dd859baa114995bcbcfb7119e939d0b4f45ed5.zip
frameworks_native-f1dd859baa114995bcbcfb7119e939d0b4f45ed5.tar.gz
frameworks_native-f1dd859baa114995bcbcfb7119e939d0b4f45ed5.tar.bz2
Merge "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 e778076..7c662a7 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -170,7 +170,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'.