From 25b9f84de6f215e99a6ba3f0052618adb2d071b8 Mon Sep 17 00:00:00 2001 From: Lingfeng Yang Date: Mon, 20 Feb 2017 22:17:13 -0800 Subject: [PATCH 1/1] Also take into account arm64 and mips64 for goldfish_dma_context aligment. bug: 35618215 Change-Id: I147aeca391f97b0bccaed0b572b2fe13e627ad00 --- system/OpenglSystemCommon/goldfish_dma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/OpenglSystemCommon/goldfish_dma.h b/system/OpenglSystemCommon/goldfish_dma.h index 5baa510..f6a2874 100644 --- 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 -- 2.11.0