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:
02cf3e8
)
Also take into account arm64 and mips64 for goldfish_dma_context aligment.
author
Lingfeng Yang
<lfy@google.com>
Tue, 21 Feb 2017 06:17:13 +0000
(22:17 -0800)
committer
Lingfeng Yang
<lfy@google.com>
Wed, 22 Feb 2017 08:58:31 +0000
(08:58 +0000)
bug:
35618215
Change-Id: I147aeca391f97b0bccaed0b572b2fe13e627ad00
system/OpenglSystemCommon/goldfish_dma.h
patch
|
blob
|
history
diff --git
a/system/OpenglSystemCommon/goldfish_dma.h
b/system/OpenglSystemCommon/goldfish_dma.h
index
5baa510
..
f6a2874
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__)
+#if !defined(__x86_64__)
|| !defined(__aarch64__) || !defined(__mips64__)
int mapped_padding;
#endif
uint64_t sz; // size of reservation