Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933117Ab3JPEIK (ORCPT ); Wed, 16 Oct 2013 00:08:10 -0400 Received: from mga02.intel.com ([134.134.136.20]:53885 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751206Ab3JPEHu (ORCPT ); Wed, 16 Oct 2013 00:07:50 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,504,1378882800"; d="scan'208";a="419797698" From: David Cohen To: x86@kernel.org, hpa@zytor.com, mingo@redhat.com, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, sathyanarayanan.kuppuswamy@linux.intel.com, David Cohen Subject: [PATCH v5 11/12] x86: intel-mid: add section for sfi device table Date: Tue, 15 Oct 2013 21:11:40 -0700 Message-Id: <1381896701-23476-12-git-send-email-david.a.cohen@linux.intel.com> X-Mailer: git-send-email 1.8.4.rc3 In-Reply-To: <1381896701-23476-1-git-send-email-david.a.cohen@linux.intel.com> References: <1381896701-23476-1-git-send-email-david.a.cohen@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1247 Lines: 39 When Intel mid uses SFI table to enumerate devices, it requires an extra device table with further information about how to probe such devices. This patch creates a section where the device table will stay if CONFIG_X86_INTEL_MID is selected. Signed-off-by: David Cohen --- arch/x86/kernel/vmlinux.lds.S | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 10c4f30..da6b35a 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S @@ -199,6 +199,15 @@ SECTIONS __x86_cpu_dev_end = .; } +#ifdef CONFIG_X86_INTEL_MID + .x86_intel_mid_dev.init : AT(ADDR(.x86_intel_mid_dev.init) - \ + LOAD_OFFSET) { + __x86_intel_mid_dev_start = .; + *(.x86_intel_mid_dev.init) + __x86_intel_mid_dev_end = .; + } +#endif + /* * start address and size of operations which during runtime * can be patched with virtualization friendly instructions or -- 1.8.4.rc3 -- 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/