From nobody Fri Nov 7 02:00:46 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 15452804723280.19603905389124066; Wed, 19 Dec 2018 20:34:32 -0800 (PST) Received: from localhost ([::1]:35279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZq2T-0002J9-DS for importer@patchew.org; Wed, 19 Dec 2018 23:34:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZq1Z-0001yL-72 for qemu-devel@nongnu.org; Wed, 19 Dec 2018 23:33:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZq1R-00078m-S7 for qemu-devel@nongnu.org; Wed, 19 Dec 2018 23:33:27 -0500 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:37536) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZq1P-00073f-SJ for qemu-devel@nongnu.org; Wed, 19 Dec 2018 23:33:21 -0500 Received: by mail-pg1-x543.google.com with SMTP id c25so265034pgb.4 for ; Wed, 19 Dec 2018 20:33:19 -0800 (PST) Received: from cloudburst.twiddle.net (97-126-115-157.tukw.qwest.net. [97.126.115.157]) by smtp.gmail.com with ESMTPSA id l69sm39282869pfb.75.2018.12.19.20.33.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Dec 2018 20:33:16 -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; bh=a1HL23S6hzRn3I1YTO49+MDeCeOagDncNXQqOrqGM9A=; b=foy/sfFQCZ+1IO4syR2nOV+PqptKwRqiQhvh1/Ltw/Bft+J0fyTcEP8t7iWIFYqKEy TA0feKwuZ0GnogE8HW656PZzZFG8Ogy3lvSOypaFejt9iX4noGtUYd74jVjpPn93Zi2R 9xKV9Eou3b8eMxBrDsUBM1Vk2dFTFsziFxRRE= 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; bh=a1HL23S6hzRn3I1YTO49+MDeCeOagDncNXQqOrqGM9A=; b=oLj+H26kCuwjTjyal4+DTMK3oa+0THzFA21h+d5GOUWlgZ9mNUtloSG/gkvYd9z39s PKsUc5x1ZzCy5E+3B1gcMP84Wr34+8rS1OI/6IULJRKe0IA8OaRmAPledjeF+mN1SrzF +Q4qVEV3zZnBxP2uZPbhS/ihNnZNxQDIM/zWFn2sGI2tIW2J7FtwV8wdESPLa3FYxiXu tNPJqmAA1OhWvqFber7F5XyN+zQ+l2kVptsgDnZpkOmNBQIcSkoJU9bG6KCO7V1qPZym zWhsURPbI4svX1MsMJ3geMz0zi3kwsNdEogAytdhh043qM5LsO8I5BKC7AoUQhipS9sp aumA== X-Gm-Message-State: AA+aEWYjrz0qyOdBt9ZWo921VH80AR7ETSSCPToqfNsMXsLNsowdT2xu n2ZfknI0oIYNLDGReK7MH8rJjMJEhCM= X-Google-Smtp-Source: AFSGD/U5AEnJd20gkVYUF6SMAGmyEIECNJxDo+zY9nD9KQ+Ar0bBgoxX73m07GV/yHAP3H2cnrxtsw== X-Received: by 2002:a62:68c5:: with SMTP id d188mr23753935pfc.194.1545280397727; Wed, 19 Dec 2018 20:33:17 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 19 Dec 2018 20:33:15 -0800 Message-Id: <20181220043315.8848-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::543 Subject: [Qemu-devel] [PATCH] 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: edgar.iglesias@gmail.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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 Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- 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