From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: [PATCH 0/8] xen/x86: Fix build with Clang 3.5 Date: Tue, 9 Feb 2016 20:01:40 +0000 Message-ID: <1455048108-5045-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: Jun Nakajima , Kevin Tian , Ian Campbell , George Dunlap , Andrew Cooper , Tim Deegan , Jan Beulich List-Id: xen-devel@lists.xenproject.org This is a misc assortment of patches to fix the build with Clang 3.5. The result also appears to function. Andrew Cooper (8): xen/lib: Fix ASSERT() to build with clang xen/misc: Remove or annotate possibly-unused functions xen/x86: Remove %z modifier from inline assembly xen/x86: Fix section type mismatch in mm.c xen/x86: Improve annotation of autogen_entrypoints[] xen/x86: Avoid overriding initialisers in arrays xen/x86: Fix get_cpu_info() when built with clang x86/efi: Generate uefi_call_wrapper() when compiling with clang xen/arch/x86/cpu/mtrr/generic.c | 3 +-- xen/arch/x86/mm.c | 2 +- xen/arch/x86/mm/p2m-ept.c | 27 ++++++++++++++++----------- xen/arch/x86/mm/shadow/multi.c | 2 ++ xen/arch/x86/traps.c | 2 +- xen/arch/x86/xen.lds.S | 2 +- xen/arch/x86/xstate.c | 3 ++- xen/common/rcupdate.c | 6 ------ xen/include/asm-x86/current.h | 6 ++++++ xen/include/asm-x86/spinlock.h | 3 ++- xen/include/asm-x86/x86_64/efibind.h | 2 +- xen/include/xen/compat.h | 14 ++++++++------ xen/include/xen/lib.h | 2 +- 13 files changed, 42 insertions(+), 32 deletions(-) -- 2.1.4