From patchwork Tue Dec 25 20:55:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 154506 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5224389ljp; Tue, 25 Dec 2018 13:23:51 -0800 (PST) X-Google-Smtp-Source: ALg8bN4aZigwKHlu7z4xckTgI3f0kXw2Tn/YQKhICIG49jBsoKMYr/Ow1HZa+BQcfRd0SFuxqt78 X-Received: by 2002:a37:a604:: with SMTP id p4mr15617152qke.253.1545773031140; Tue, 25 Dec 2018 13:23:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545773031; cv=none; d=google.com; s=arc-20160816; b=x8nohtEHHsgndC7pva4A32w3Ym7x+cWnHOXFSZnmUFbDWnEjOTFF0CCCr2BAkJl/hg UADv8/EfYsa8NKo6I+Q7NbLUye80uQ3qW4G26Mg8S5l30D+RDxiMuSuHR2vKV1Syz3r3 5fyfJhNKqS2mrJ4N/zb8HfLV1KJr5d1XfPrGp84uKs1XBBOGi/6TEqCUsA4mqTLJrStn O72MCmPxVJrX0IwGfJ09eDMEn+h0n/iPbITHOy3+YvByEJaLqh5eRq/f66ZtIFJ1Lj2h ByQICXhVu3wmfUmqM8Ras+LYo02tZVMB5jiV9XRAuQcG4J7k0T0ZPtejShxkVasyV5Ep kt7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=MZqHyhKJdGRBaYF6wjZ4oDoFm9XBAoRaRqZ4AWfkw68=; b=sURnm2p/BGcX+KbV7eg05SyuAu8BNgzuDicjg9BLf7LE0MPmOt+GihjBtlPK75QYSf uY1/7WPPnQ1D2SbEr0pd5BapngLXdRqIEFRi9qzXsNGruOld9Ci99wZEiEOzXNEOG3nV RF1lNe4H9DqTMfLyUJh0Ml0p2XjPxxoivhJxvZt+42pLr7AJzMYvzvlKyPM6K38I+ACc XnCR9gCCiXyaVqnUYv7KTSlBABrdiC1R5eW4v0eGW2tL7jFJ3jtoKSXInqimSX8D3LwS yLpKwmAlFB5acpiVGrrC2rb0u/ft0fxvr7sfxRQTVvgOoHBxZOoj9O4d1BJJsEQ5L+RD Vjmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SQFHemdV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [208.118.235.17]) by mx.google.com with ESMTPS id b13si1846117qtt.350.2018.12.25.13.23.50 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 25 Dec 2018 13:23:51 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SQFHemdV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:43281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gbuB4-0005qQ-Jp for patch@linaro.org; Tue, 25 Dec 2018 16:23:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gbtmo-0006hk-4r for qemu-devel@nongnu.org; Tue, 25 Dec 2018 15:58:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gbtmm-0000be-34 for qemu-devel@nongnu.org; Tue, 25 Dec 2018 15:58:46 -0500 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:43278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gbtml-0000ap-TV for qemu-devel@nongnu.org; Tue, 25 Dec 2018 15:58:44 -0500 Received: by mail-pl1-x62a.google.com with SMTP id gn14so6803970plb.10 for ; Tue, 25 Dec 2018 12:58:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MZqHyhKJdGRBaYF6wjZ4oDoFm9XBAoRaRqZ4AWfkw68=; b=SQFHemdV3NJWe8Dg9G1asiP+5OMi+zk/dFRlQDmTIav0V6wRtQDlPIUj15Y7azvN8i ZkdWidOylPWbdO2XxuP+v9MfAjoat26jiSAtTQvENMM/EF83p3x9A08qjKuruuEWA8UJ t5kprFSUYb2lsLOP7BUr01VZG10622Qp7+pXk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MZqHyhKJdGRBaYF6wjZ4oDoFm9XBAoRaRqZ4AWfkw68=; b=iJEeAGkRa6SxCTpN0yevb/C4FEftUocNK6kHl7MroIeVHwdLAEElhxYw8Pmi3H8lKl d8Yar1PqKoh3ebs9Yo5e2+kROAO0ZFP7C7RSJLHTfX9W/1bQirbZJk3Bz9T7OEwmgEyO osTPu7ZbwOWUhraCYi6cpMMTSRLtWJFuBXCPMbTLtIykPemN6tCzOCOsV/sarpOc7W2T U9SLU52CVPh+w++VlYJp/R6EkP6tcOsQm38/kTx9cOTQS6CJAFawsnrVLqjOLxKliOKW QdmRdpJLtRvCuZ6k7ACGMrg9VU45hNQeijRCwK2sfXFOKbKn+6NQhyp7CBcr9tz3s+dc 6qRw== X-Gm-Message-State: AJcUukeuIQ18ZLGCZyBwQ8U/dCJ3W+xdj9SS2lKeL6Sv6s8BwQO8DvQs 6+GglqQQ9G3fuhtIKnwFuQnKOxvm3sk= X-Received: by 2002:a17:902:9047:: with SMTP id w7mr17593782plz.270.1545771522623; Tue, 25 Dec 2018 12:58:42 -0800 (PST) Received: from cloudburst.home (c211-28-135-144.sunsh3.vic.optusnet.com.au. [211.28.135.144]) by smtp.gmail.com with ESMTPSA id t21sm48501628pgg.24.2018.12.25.12.58.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Dec 2018 12:58:41 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 26 Dec 2018 07:55:11 +1100 Message-Id: <20181225205529.10874-25-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181225205529.10874-1-richard.henderson@linaro.org> References: <20181225205529.10874-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::62a Subject: [Qemu-devel] [PULL 24/42] disas/microblaze: Remove unused REG_SP macro 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: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This causes a build error with debian sid, riscv64 host: disas/microblaze.c:179: error: "REG_SP" redefined [-Werror] #define REG_SP 1 /* stack pointer */ In file included from /usr/include/signal.h:306, from include/qemu/osdep.h:101, from disas/microblaze.c:36: /usr/include/riscv64-linux-gnu/sys/ucontext.h:36: note: this is the location of the previous definition # define REG_SP 2 Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- disas/microblaze.c | 1 - 1 file changed, 1 deletion(-) -- 2.17.2 diff --git a/disas/microblaze.c b/disas/microblaze.c index 598ecbc89d..c23605043a 100644 --- a/disas/microblaze.c +++ b/disas/microblaze.c @@ -176,7 +176,6 @@ enum microblaze_instr_type { #define REG_TLBSX 36869 /* MMU: TLB Search Index reg */ /* alternate names for gen purpose regs */ -#define REG_SP 1 /* stack pointer */ #define REG_ROSDP 2 /* read-only small data pointer */ #define REG_RWSDP 13 /* read-write small data pointer */