From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752044AbdBMJSO (ORCPT ); Mon, 13 Feb 2017 04:18:14 -0500 Received: from bastet.se.axis.com ([195.60.68.11]:54344 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751604AbdBMJSN (ORCPT ); Mon, 13 Feb 2017 04:18:13 -0500 Date: Mon, 13 Feb 2017 10:18:10 +0100 From: Jesper Nilsson To: Mathias Krause Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Morton , Borislav Petkov , "David S. Miller" , Jesper Nilsson , Mikael Starvik , Geert Uytterhoeven , x86@kernel.org, linux-kernel@vger.kernel.org, linux-cris-kernel@axis.com Subject: Re: [PATCH 5/6] cris: remove unused wp_works_ok macro Message-ID: <20170213091810.GQ4681@axis.com> References: <1486933932-585-1-git-send-email-minipli@googlemail.com> <1486933932-585-6-git-send-email-minipli@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1486933932-585-6-git-send-email-minipli@googlemail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-GCONF: 00 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 12, 2017 at 10:12:11PM +0100, Mathias Krause wrote: > It had no use since it's introduction in v2.4.1.2. Get rid of it. Agreed. Acked-by: Jesper Nilsson > Cc: Mikael Starvik > Signed-off-by: Mathias Krause > --- > arch/cris/include/arch-v10/arch/processor.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/cris/include/arch-v10/arch/processor.h b/arch/cris/include/arch-v10/arch/processor.h > index 93feb2a487d8..58f75bee1d6c 100644 > --- a/arch/cris/include/arch-v10/arch/processor.h > +++ b/arch/cris/include/arch-v10/arch/processor.h > @@ -7,9 +7,6 @@ > */ > #define current_text_addr() ({void *pc; __asm__ ("move.d $pc,%0" : "=rm" (pc)); pc; }) > > -/* CRIS has no problems with write protection */ > -#define wp_works_ok 1 > - > /* CRIS thread_struct. this really has nothing to do with the processor itself, since > * CRIS does not do any hardware task-switching, but it's here for legacy reasons. > * The thread_struct here is used when task-switching using _resume defined in entry.S. > -- > 1.7.10.4 /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson@axis.com