OSDN Git Service
(root)
/
android-x86
/
device-generic-goldfish-opengl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dcb05d
)
Have single macro for taking care of goldfish_dma_context alignment.
author
Lingfeng Yang
<lfy@google.com>
Mon, 27 Feb 2017 20:39:51 +0000
(12:39 -0800)
committer
Lingfeng Yang
<lfy@google.com>
Mon, 27 Feb 2017 22:11:39 +0000
(22:11 +0000)
Previously,
!defined(__aarch64__) || !defined(__x86_64__) is always true,
instead of the intended "add this field if not 64 bit."
OOPS
bug:
35711775
Change-Id: I46043c4402325845524d56d8d4f910f16add25cb
system/OpenglSystemCommon/goldfish_dma.h
patch
|
blob
|
history
diff --git
a/system/OpenglSystemCommon/goldfish_dma.h
b/system/OpenglSystemCommon/goldfish_dma.h
index
f6a2874
..
8a09c0e
100644
(file)
--- a/
system/OpenglSystemCommon/goldfish_dma.h
+++ b/
system/OpenglSystemCommon/goldfish_dma.h
@@
-43,7
+43,7
@@
struct goldfish_dma_ioctl_info {
// userspace interface
struct goldfish_dma_context {
void* mapped;
-#if !defined(__
x86_64__) || !defined(__aarch64__) || !defined(__mips
64__)
+#if !defined(__
LP
64__)
int mapped_padding;
#endif
uint64_t sz; // size of reservation