From patchwork Mon Jun 4 15:20:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 925113 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40zzbl05Xnz9ry1 for ; Tue, 5 Jun 2018 01:38:10 +1000 (AEST) Received: from localhost ([::1]:40431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPrYe-0008Ri-Fl for incoming@patchwork.ozlabs.org; Mon, 04 Jun 2018 11:38:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPrHw-0002Fq-CN for qemu-devel@nongnu.org; Mon, 04 Jun 2018 11:20:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPrHu-00066I-3Z for qemu-devel@nongnu.org; Mon, 04 Jun 2018 11:20:52 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:57449) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPrHt-00064Q-QA for qemu-devel@nongnu.org; Mon, 04 Jun 2018 11:20:50 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.167]) with ESMTPSA (Nemesis) id 0M4gBt-1gD7zQ0lLB-00yvnm; Mon, 04 Jun 2018 17:20:41 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Mon, 4 Jun 2018 17:20:15 +0200 Message-Id: <20180604152015.13359-18-laurent@vivier.eu> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180604152015.13359-1-laurent@vivier.eu> References: <20180604152015.13359-1-laurent@vivier.eu> X-Provags-ID: V03:K1:y4um54qoPKojklkArEzelYL+x3TZNSD782gO/4Ygips+rfAx2xG FNyC6S0G4Isi1Yt1IpJScehXyk00Hmcxy9mNhQ3QD6egnjzZTYEwMOL4p+cCrtO2v0JIaYq IuWCIGxaggWBPre3L+GRWr7rJKM4ALDCMFczGtsVpyHUwY0ThZ/zoo7LakEy3yOBnyEb4/A WXIveErwQKz902sXQcvpg== X-UI-Out-Filterresults: notjunk:1; V01:K0:VSrS/0FcsSQ=:1a5oOuQaWboTMwWO3X5/Ou dvvZK0DbMVhrJYkvFqQdqlv63Ibe4Ie18g4cOvhxF8LxzoI8qPVFl2+3YwVygBlvATHnbYH/G YSQzRY8boCJ9UhQ8IriooTvGMraYm/G1cVnLR/r7qPxndMyQcfywTOcvY22nI5jX2jmE+3tz7 RmDetVRS5SUernnvxy3fKhBU1pB7CJMR1ERBT39K7q0u5EjMuluinr2qJyGPeZ3y6ouFlb+E7 AHiIFedYgFibDB1xpa/T25k9/VRGPU1bnziyhHB3T4d2h+P1UFW5ccNJFm3/9zSjjfziKjexz epcsQ0nrjYD1tHlnxcnCpY8697Vm0gBY/MlPLIlF9egdreb9GsfTSPfttxvogy+GhbAY9AFIP M8yvYwfHJ6oKd/VXFnSqaDSacmZ9LctpT7LaIrygBv/Lsnfi3NqtlF5HYo6IRu4y2E0Sz+P6f HGxtWgoHvXIuLBxQ+Dg3XQ/EPO0T9SG4COq1mEXxgTTMCRMTfz2Nw5MUPmAzkkEoBDsWJU6Yp tTYVQkBiZmH0gXSgWe09i77xhX80SZ5WGwT1fchHEHQgPrw9Xo/rOIFk6BfxE2fhq4nG6jMy/ uIPAXGgKa41EZRftN4NOFxiaPuCJ/6M8S4bSrsKKmozd1DlFM+S+G4gvyqEmsX7AUuqHbxuS9 e2I6VkUK7MaRLQAEQM41kcB/Q4+M9AkPZ27R1jTTrreDWnr3Xvzoj0vH0HFfz0v9ZGT4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PULL 17/17] linux-user: remove useless #if X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Mark Cave-Ayland , Laurent Vivier , Artyom Tarasenko Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Remove a "#if defined(XX) || defined(YY) || ..." with all available targets Signed-off-by: Laurent Vivier Message-Id: <20180529194207.31503-16-laurent@vivier.eu> --- linux-user/syscall_defs.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index e2896ae1b3..40bb60ef4c 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -418,14 +418,6 @@ struct target_sigaction; int do_sigaction(int sig, const struct target_sigaction *act, struct target_sigaction *oact); -#if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_SPARC) \ - || defined(TARGET_PPC) || defined(TARGET_MIPS) || defined(TARGET_SH4) \ - || defined(TARGET_M68K) || defined(TARGET_ALPHA) || defined(TARGET_CRIS) \ - || defined(TARGET_MICROBLAZE) \ - || defined(TARGET_S390X) || defined(TARGET_OPENRISC) \ - || defined(TARGET_TILEGX) || defined(TARGET_HPPA) || defined(TARGET_NIOS2) \ - || defined(TARGET_RISCV) || defined(TARGET_XTENSA) - #include "target_signal.h" #ifdef TARGET_SA_RESTORER @@ -666,8 +658,6 @@ typedef struct target_siginfo { #define TARGET_TRAP_BRANCH (3) /* process taken branch trap */ #define TARGET_TRAP_HWBKPT (4) /* hardware breakpoint/watchpoint */ -#endif /* defined(TARGET_I386) || defined(TARGET_ARM) */ - struct target_rlimit { abi_ulong rlim_cur; abi_ulong rlim_max;