From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753667AbbK3IjI (ORCPT ); Mon, 30 Nov 2015 03:39:08 -0500 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:39864 "EHLO e06smtp10.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753372AbbK3IjF (ORCPT ); Mon, 30 Nov 2015 03:39:05 -0500 X-IBM-Helo: d06dlp02.portsmouth.uk.ibm.com X-IBM-MailFrom: heiko.carstens@de.ibm.com X-IBM-RcptTo: linux-arch@vger.kernel.org;linux-kernel@vger.kernel.org Date: Mon, 30 Nov 2015 09:38:58 +0100 From: Heiko Carstens To: Arnd Bergmann Cc: will.deacon@arm.com, Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, Michal Simek Subject: Re: [PATCH] ARM64: fix building without CONFIG_UID16 Message-ID: <20151130083858.GB4045@osiris> References: <3891403.6hGat7eHq5@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3891403.6hGat7eHq5@wuerfel> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15113008-0041-0000-0000-000006794D7B Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 20, 2015 at 12:12:21PM +0100, Arnd Bergmann wrote: > As reported by Michal Simek, building an ARM64 kernel with CONFIG_UID16 > disabled currently fails because the system call table still needs to > reference the individual function entry points that are provided by > kernel/sys_ni.c in this case, and the declarations are hidden inside > of #ifdef CONFIG_UID16: Will we ever get rid of UID16? kernel/uid.c contains this nice comment: /* * Wrapper functions for 16bit uid back compatibility. All nicely tied * together in the faint hope we can take the out in five years time. */ Which seems to exist since at least February 2000. ;)