From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756268Ab2HNOyf (ORCPT ); Tue, 14 Aug 2012 10:54:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56218 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753191Ab2HNOyc (ORCPT ); Tue, 14 Aug 2012 10:54:32 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <15981.1344955883@warthog.procyon.org.uk> References: <15981.1344955883@warthog.procyon.org.uk> <502A613F.1090600@nod.at> <87a9xys53h.fsf@rustcorp.com.au> <20120726150419.0de645e8750e3a15fa0f1aaa@canb.auug.org.au> <50115FCF.4060708@xenotime.net> <502932A0.3060001@xenotime.net> <15532.1344954413@warthog.procyon.org.uk> To: Richard Weinberger Cc: dhowells@redhat.com, Rusty Russell , Randy Dunlap , Stephen Rothwell , linux-next@vger.kernel.org, LKML , user-mode-linux-devel@lists.sourceforge.net Subject: Re: linux-next: Tree for July 26 (uml) Date: Tue, 14 Aug 2012 15:54:11 +0100 Message-ID: <18600.1344956051@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org David Howells wrote: > I can certainly try pasting the lines from x86/Kconfig to uml/Kconfig.common > to switch the REL/RELA bits, but it would be nice to get this from the actual > arch if possible to reduce redundancy. The attached patch works. David --- diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common index cb837c2..0463e48 100644 --- a/arch/um/Kconfig.common +++ b/arch/um/Kconfig.common @@ -11,6 +11,8 @@ config UML select GENERIC_CPU_DEVICES select GENERIC_IO select GENERIC_CLOCKEVENTS + select MODULES_USE_ELF_REL if X86_32 + select MODULES_USE_ELF_RELA if X86_64 config MMU bool