From patchwork Thu Dec 12 04:00:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181442 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp399899ile; Wed, 11 Dec 2019 20:19:15 -0800 (PST) X-Google-Smtp-Source: APXvYqxjDu0dhJBgsVDBZcI8bQjO8/LqvgjZ09Ne5pdK9/gggpbfaMpKrUFZJymsBzB0K+3dN1+/ X-Received: by 2002:a05:6830:1d1:: with SMTP id r17mr6147769ota.151.1576124355893; Wed, 11 Dec 2019 20:19:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576124355; cv=none; d=google.com; s=arc-20160816; b=YEgU1qQFclOrQecVqOGjvTFWJM2Qc1PlM3f8aZsAVw6CWoPtatNHUgyccMW1nYJXRY pNVdjO8NrcSc9fTSzGDRBKwHcxYfGIBHXoHyvjFe1H27M4yQVTqhyBTIUdgRAzjrkrzv QWuytr65egatxPr4HnpluQg551KYQYUoiUz+/htNmW/OVoDBbo0peGLGHcjnEUlBOEqK C+Vh5RNdfRkxZwVW4UXEY+HO45Z10ry9Ybig6oLp9/xZ7o5wiktnDcreF8Xu6xZEa+r1 K70OFCCo0NmWHQdL4Xdj+MFdVioQCt7gx3yfGk2oeoHklpuvB0yDXbGDh1KZu4svwgNM dd/g== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=s8SYA9/Rwv4ZxWRA0n9zn8WOO8ULkXoz56NCsZvZKnc=; b=vYHIX/f+iQTK6b/bj4oRvUMtlWe625qx5eTFWPvFxrbN1C+KnNd15ncXABGsZ6BoPu l4r4eAWOMH5Rv5N7MSDmo13lPeFkh97N3EZHlg2PcAcO6o8d5nvzJjZqNJyWa/7ovtUt AsjNSs9AJulJAhGtCzPIf4VOA73F9hYe6jAiAgviAIlfhwUWz7UjOBs5Kth11QaWs8xh bqMe4aL9vJlXQLP31BLNI/fJQXRELjwJloc6iVjPRlO/mqGgVi6Qjy0AVVl8xTZxivCc NiVri5bNAziPcECD2TcsDCEoyBNqJI6oiSIiAZdMlBx2LFv82jv++edr7dV57F41cupx FVsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m+L1V1lP; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id e18si2527575otj.99.2019.12.11.20.19.15 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Dec 2019 20:19:15 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m+L1V1lP; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifFwZ-0007cL-7x for patch@linaro.org; Wed, 11 Dec 2019 23:19:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49523) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifFf0-0000xR-LD for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifFez-0004Fz-52 for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:06 -0500 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:45145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifFex-0004Ct-HD for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:03 -0500 Received: by mail-pf1-x444.google.com with SMTP id 2so20764pfg.12 for ; Wed, 11 Dec 2019 20:01:03 -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=s8SYA9/Rwv4ZxWRA0n9zn8WOO8ULkXoz56NCsZvZKnc=; b=m+L1V1lPPJdVwCUWhqAkxFcLbXkRRDuX0jhJoJurdgs0RXfMeGuKNK1edDmaZDcI2E fcQgHY+nYfRbxA7NljJS2upmr4LJUBbaQa2QQJrZ0tjjputmeprADIFHnFiTa+yclGkc XVd7uQMLoraCjw83lSeoY4rafJ5pLeAGOuQ5tFYU1YmMiabbL/WQ5BmS9+DV5isJFg2Q dvPrLo7KT9TSIIWH5p+vctjqZys3HRfwK+hef2dtlnBohtdHNosIdel31bpIKxOliQhj 156q3FM+jaq4x6DEfCP0NdjLD92dJtuBVEc7+1MO2Wnrh7B92YCUo8CXFrbS8zSiXhsY L4tQ== 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=s8SYA9/Rwv4ZxWRA0n9zn8WOO8ULkXoz56NCsZvZKnc=; b=fWjh9rJz22fR6vg18yDOp0/IcIeRZxZGyBXUSYUpOtKPGvz5QP59I6HBXx/wZsC3Vq c090f1g9UvMfNbvFRTQTDgXYgq534J75yxPA31P0ua6CciXB0QNYjOi7FxbvDM3DDDx0 zMg/g8jpIAaJjpiiqGwfvdCISLt7wMjPzgy8MqGt4FxUC2RA+Slrag63S4In9+lXbjx1 zQHs8D3uIDTfoG76No4CLYve7Mc8+zH6DL+fWdFRsJblqkwln8WQoxQ51bCrZSWG3C1Y ITddSBZzBD6am7yUm9xC1zewHM/k02B1Zq3PAlHoZRE+boclqS6FXTHMHRY2PuQXqyvY c9ug== X-Gm-Message-State: APjAAAUbd70/RMU9n9K8w4gI6M4GMZ/CEDjyvPiZQAlb9T4WK2PYA6zN HK5JhgqvvTzrJF0QxQ2ZK1eKQg3WYRc= X-Received: by 2002:a65:4206:: with SMTP id c6mr6595055pgq.46.1576123262179; Wed, 11 Dec 2019 20:01:02 -0800 (PST) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id z130sm4666391pgz.6.2019.12.11.20.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 20:01:01 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 17/28] target/cris: Remove MMU_MODE{0,1}_SUFFIX Date: Wed, 11 Dec 2019 20:00:28 -0800 Message-Id: <20191212040039.26546-18-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191212040039.26546-1-richard.henderson@linaro.org> References: <20191212040039.26546-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::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E . Iglesias" Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The functions generated by these macros are unused. Cc: Edgar E. Iglesias Signed-off-by: Richard Henderson --- target/cris/cpu.h | 2 -- 1 file changed, 2 deletions(-) -- 2.20.1 diff --git a/target/cris/cpu.h b/target/cris/cpu.h index aba0a66474..bc43bc23a1 100644 --- a/target/cris/cpu.h +++ b/target/cris/cpu.h @@ -252,8 +252,6 @@ enum { #define cpu_signal_handler cpu_cris_signal_handler /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _kernel -#define MMU_MODE1_SUFFIX _user #define MMU_USER_IDX 1 static inline int cpu_mmu_index (CPUCRISState *env, bool ifetch) {