Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933954AbdDETY7 (ORCPT ); Wed, 5 Apr 2017 15:24:59 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35559 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754913AbdDETYu (ORCPT ); Wed, 5 Apr 2017 15:24:50 -0400 From: Mathias Krause To: linux-cris-kernel@axis.com Cc: linux-kernel@vger.kernel.org, Mathias Krause , Jesper Nilsson , Mikael Starvik Subject: [PATCH v2] cris: remove unused wp_works_ok macro Date: Wed, 5 Apr 2017 21:24:35 +0200 Message-Id: <1491420275-32259-1-git-send-email-minipli@googlemail.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1138 Lines: 31 It had no use since it's introduction in v2.4.1.2. Get rid of it. Cc: Mikael Starvik Signed-off-by: Mathias Krause Acked-by: Jesper Nilsson --- Same patch as v1 but as the tip folks took only the x86 parts, I think, this one should go through the CRIS tree. Cheers, Mathias 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