From nobody Thu Oct 2 10:18:33 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1545773086915714.0064178369003; Tue, 25 Dec 2018 13:24:46 -0800 (PST) Received: from localhost ([127.0.0.1]:43287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gbuBx-0006gQ-L4 for importer@patchew.org; Tue, 25 Dec 2018 16:24:45 -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) 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) 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-Google-Smtp-Source: ALg8bN76JRH7k+MXEabFUFUZnHyXVU2G5dR5l8JGL3eHVAcOCyJS8E6Ux+1FzKCBTImbwOuu9HmpSQ== X-Received: by 2002:a17:902:9047:: with SMTP id w7mr17593782plz.270.1545771522623; Tue, 25 Dec 2018 12:58:42 -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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 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 locatio= n of the previous definition # define REG_SP 2 Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Richard Henderson --- disas/microblaze.c | 1 - 1 file changed, 1 deletion(-) 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 */ =20 /* 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 */ =20 --=20 2.17.2