Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754961AbcDDKYO (ORCPT ); Mon, 4 Apr 2016 06:24:14 -0400 Received: from mail-ig0-f175.google.com ([209.85.213.175]:32809 "EHLO mail-ig0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751947AbcDDKYJ (ORCPT ); Mon, 4 Apr 2016 06:24:09 -0400 MIME-Version: 1.0 In-Reply-To: <1459760800-13477-1-git-send-email-mhocko@kernel.org> References: <20160404090335.GB10272@dhcp22.suse.cz> <1459760800-13477-1-git-send-email-mhocko@kernel.org> Date: Mon, 4 Apr 2016 13:23:56 +0300 Message-ID: Subject: Re: [PATCH 1/2] xtensa, rwsem: drop superfluous arch specific implementation From: Max Filippov To: Michal Hocko Cc: LKML , Peter Zijlstra , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , "David S. Miller" , Tony Luck , Andrew Morton , Chris Zankel , "maintainer:X86 ARCHITECTURE..." , "open list:ALPHA PORT" , "open list:IA64 (Itanium) PL..." , linux-s390 , "open list:SUPERH" , "open list:SPARC + UltraSPAR..." , "linux-xtensa@linux-xtensa.org" , Linux-Arch , Michal Hocko Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 20 On Mon, Apr 4, 2016 at 12:06 PM, Michal Hocko wrote: > From: Michal Hocko > > since "locking, rwsem: drop explicit memory barriers" the arch specific > code is basically same as the the generic one so we can drop the > superfluous code. > > Suggested-by: Davidlohr Bueso > Signed-off-by: Michal Hocko > --- > arch/xtensa/include/asm/Kbuild | 1 + > arch/xtensa/include/asm/rwsem.h | 134 ---------------------------------------- > 2 files changed, 1 insertion(+), 134 deletions(-) > delete mode 100644 arch/xtensa/include/asm/rwsem.h Acked-by: Max Filippov -- Thanks. -- Max