From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752447AbdARJpS (ORCPT ); Wed, 18 Jan 2017 04:45:18 -0500 Received: from mail-lf0-f48.google.com ([209.85.215.48]:35096 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752329AbdARJnc (ORCPT ); Wed, 18 Jan 2017 04:43:32 -0500 Subject: Re: [PATCH 04/13] MIPS: zboot: fix 'make clean' failure To: Arnd Bergmann , Ralf Baechle References: <20170117151911.4109452-1-arnd@arndb.de> <20170117151911.4109452-4-arnd@arndb.de> Cc: linux-mips@linux-mips.org, Alban Bedel , Paul Bolle , Paul Burton , linux-kernel@vger.kernel.org From: Sergei Shtylyov Message-ID: Date: Wed, 18 Jan 2017 12:43:30 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170117151911.4109452-4-arnd@arndb.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On 1/17/2017 6:18 PM, Arnd Bergmann wrote: > The filter-out macro needs two arguments, passing only one is > clearly the result of a typo that leads to 'make clean' failing > on MIPS: > > arch/mips/boot/compressed/Makefile:21: *** insufficient number of arguments (1) to function 'filter-out'. Stop. > > Fixes: afca036d463c ("MIPS: zboot: Consolidate compiler flag filtering.") > Signed-off-by: Arnd Bergmann [...] > diff --git a/arch/mips/include/asm/uaccess.h b/arch/mips/include/asm/uaccess.h > index 5347cfe15af2..c66db8169af9 100644 > --- a/arch/mips/include/asm/uaccess.h > +++ b/arch/mips/include/asm/uaccess.h > @@ -80,6 +80,9 @@ extern u64 __ua_limit; > > #define segment_eq(a, b) ((a).seg == (b).seg) > > +extern size_t __copy_user_inatomic(void *__to, const void *__from, size_t __n); > +extern size_t __copy_user(void *__to, const void *__from, size_t __n); > + > /* > * eva_kernel_access() - determine whether kernel memory access on an EVA system > * Unrelated change? MBR, Sergei