Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp820830oof; Tue, 25 Sep 2018 05:13:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV60MQq74u30Ux8Mqaqy4wy+XQRabo5ijjZJb6Y5Xh85SUeDjJGg9ZzWbGOHoWxcjoSzwWJTJ X-Received: by 2002:a62:2d4:: with SMTP id 203-v6mr920387pfc.100.1537877625986; Tue, 25 Sep 2018 05:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537877625; cv=none; d=google.com; s=arc-20160816; b=Wk9XdV8V9U9RUpFoWZ2h5DZ4qfFlL06HHJLvfvV4KLNFsXWN4X1/Df8sgN5P/kQ3lI H5xLeC+EHQU18o2YtN7W1qAHZVfF2tiES6qqq70N8c/OLRwAYrP4GfrIdNi3ruzWTivC Ajdx/pptRCuH9js9FiTUqJI3YE4mfJD9L/AvXOGKF0baxBE1Jr/sUeevyFt9OEsmV8Ep kbWYkaHmMiI9DVVXLecSk4OQ0NG2uT3XmVeAkUmHJCun+PGgq9KInHuRUBuPbMQAyPL5 TI1cECvhJSzEGtEKjj7Db5VzzdO/DhL+xD8AI4gBUXBzYsE3oSROntq97Z3L2w9mhsMr 6M6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=2m92S3b88nnBwqQ1wfTMpyZvQhB+d+NfSNFR716x/D4=; b=GSgiQmw7Veb67GEJzWidhknTd9b8U6frQtuwhMbzfhjVqs+Ckfu1JjRfnS3QxMcPW9 DEYZbroYZ1+H30mJxnEt6j/ziasNEyLN2S6WPO+HurYDEDr908ZnHDdSc9G0ReFSl/Gn K5SQ/oyj/3Q0FKI/h5gVylzz0h3lneQvonKsh0wKA6gb49TDB2qDgm7GDTL+G83LtC/C ysl6q35LX9lo3f8lLMnuM2Q+Pn7YBQGOKqQmAtRdmMgJLI33/PI8KVgBasLP+D5/3hrV nMMGJuGbP922U54vqanAle99pG11R69IfSJgkqfyFIktpmfBcLZ5JzuBvDHApHZR1Y+p RCVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=l6Ukytcq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1-v6si2259227pgh.160.2018.09.25.05.13.28; Tue, 25 Sep 2018 05:13:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=l6Ukytcq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729089AbeIYSUU (ORCPT + 99 others); Tue, 25 Sep 2018 14:20:20 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:44392 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727531AbeIYSUT (ORCPT ); Tue, 25 Sep 2018 14:20:19 -0400 Received: by mail-ed1-f67.google.com with SMTP id t11-v6so3532783edq.11 for ; Tue, 25 Sep 2018 05:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2m92S3b88nnBwqQ1wfTMpyZvQhB+d+NfSNFR716x/D4=; b=l6UkytcqE3uswZr51nb5PDoAm503ScJYIHR4wM8YGMapY86ATjYVldX0otz8XPV0hx QHUVdBmUSvvGSom26vY7ncBO15CDFoMz5Tye7Fab3OpbhgKyoxZPYThxCfEJh/1XbUwu ZNjdwzHhk2/eLG8GffYaRREV6VD8L2eoUSlKU= 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; bh=2m92S3b88nnBwqQ1wfTMpyZvQhB+d+NfSNFR716x/D4=; b=ntM2RO6a9GgJfhgUGHSe6AKXIYgV1KmtQCSkzsvclXqYTPcAl2sQ2HnIbGW8iva2dW y6kD07Fpmn9i58QB7+DtKfg0LkMASQwF9Nx7FPfXlteF5Jopn9eWYb4OlU6GjpZKgQ4P ReSqg563s1AGbvqPNlxQJGXIXo9H+XXIK29dfXruuSEq6U1ydOvnpozZuTslbRuMTwjJ Z3WSSbLzqhEXkb1wUsM6MSmE43W+SKvT51WCoogPk53OZbS34XqMzBaAI4iB5B/DwXce Rxm+2HgF7VE2QJMmvY2cVM44a6YX5pViMMMHlUywZmoErsVJpnqmTeN1yx5j4p9FEqlC PqzQ== X-Gm-Message-State: ABuFfohq0j2UsjRVFvcgJ9xHjsr6STlX7uENCkI7n+8P4jDfuFtIqDZi c3Rx/c926Lc6yYAaf7wG8S9y/ijPci9uSg== X-Received: by 2002:a50:b410:: with SMTP id b16-v6mr680402edh.190.1537877582572; Tue, 25 Sep 2018 05:13:02 -0700 (PDT) Received: from andrea.amarulasolutions.com (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id a11-v6sm6739522edn.95.2018.09.25.05.13.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Sep 2018 05:13:02 -0700 (PDT) From: Andrea Parri To: linux-kernel@vger.kernel.org Cc: Andrea Parri , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Subject: [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit() Date: Tue, 25 Sep 2018 14:12:24 +0200 Message-Id: <20180925121225.9917-2-andrea.parri@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180925121225.9917-1-andrea.parri@amarulasolutions.com> References: <20180925121225.9917-1-andrea.parri@amarulasolutions.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The barriers are unused; remove their definition. Signed-off-by: Andrea Parri Cc: Palmer Dabbelt Cc: Albert Ou Cc: --- arch/riscv/include/asm/bitops.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h index f30daf26f08f4..01db98dfd0435 100644 --- a/arch/riscv/include/asm/bitops.h +++ b/arch/riscv/include/asm/bitops.h @@ -23,11 +23,6 @@ #include #include -#ifndef smp_mb__before_clear_bit -#define smp_mb__before_clear_bit() smp_mb() -#define smp_mb__after_clear_bit() smp_mb() -#endif /* smp_mb__before_clear_bit */ - #include #include #include -- 2.17.1