Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754093AbbHCQF4 (ORCPT ); Mon, 3 Aug 2015 12:05:56 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:41753 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752231AbbHCQFz (ORCPT ); Mon, 3 Aug 2015 12:05:55 -0400 Date: Mon, 3 Aug 2015 18:05:49 +0200 From: Ralf Baechle To: Paul Burton Cc: linux-mips@linux-mips.org, Leonid Yegoshin , "Maciej W. Rozycki" , linux-kernel@vger.kernel.org, James Hogan , Markos Chandras , Manuel Lauss Subject: Re: [PATCH v3] MIPS: tidy up FPU context switching Message-ID: <20150803160548.GF2843@linux-mips.org> References: <1438616970-24652-1-git-send-email-paul.burton@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438616970-24652-1-git-send-email-paul.burton@imgtec.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 784 Lines: 19 On Mon, Aug 03, 2015 at 08:49:30AM -0700, Paul Burton wrote: > Rather than saving the scalar FP or vector context in the assembly > resume function, reuse the existing C code we have in fpu.h to do > exactly that. This reduces duplication, results in a much easier to read > resume function & should allow the compiler to optimise out more MSA > code due to is_msa_enabled()/cpu_has_msa being known-zero at compile > time for kernels without MSA support. > > Signed-off-by: Paul Burton Thanks, applied. Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/