From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753300Ab3FQRU0 (ORCPT ); Mon, 17 Jun 2013 13:20:26 -0400 Received: from mga09.intel.com ([134.134.136.24]:34114 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751216Ab3FQRUZ (ORCPT ); Mon, 17 Jun 2013 13:20:25 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,882,1363158000"; d="scan'208";a="330991613" Message-ID: <51BF46C3.3090900@linux.intel.com> Date: Mon, 17 Jun 2013 10:26:27 -0700 From: Srinivas Pandruvada User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: Randy Dunlap CC: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Platform Driver Subject: Re: linux-next: Tree for Jun 17 (x86_pkg_temp_thermal.c) References: <20130617185106.5950ffbf4b96acd9b2b2c834@canb.auug.org.au> <51BF4159.1000004@infradead.org> In-Reply-To: <51BF4159.1000004@infradead.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/17/2013 10:03 AM, Randy Dunlap wrote: > On 06/17/13 01:51, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20130607: >> > > on i386 and x86_64: > > when built as loadable module: > > ERROR: "platform_thermal_package_rate_control" [drivers/thermal/x86_pkg_temp_thermal.ko] undefined! > ERROR: "platform_thermal_package_notify" [drivers/thermal/x86_pkg_temp_thermal.ko] undefined! > > or when built-in: > > drivers/built-in.o: In function `pkg_temp_thermal_init': > x86_pkg_temp_thermal.c:(.init.text+0x1492b): undefined reference to `platform_thermal_package_notify' > x86_pkg_temp_thermal.c:(.init.text+0x14936): undefined reference to `platform_thermal_package_rate_control' > x86_pkg_temp_thermal.c:(.init.text+0x150fe): undefined reference to `platform_thermal_package_notify' > x86_pkg_temp_thermal.c:(.init.text+0x15109): undefined reference to `platform_thermal_package_rate_control' > drivers/built-in.o: In function `pkg_temp_thermal_exit': > x86_pkg_temp_thermal.c:(.exit.text+0x3a9b): undefined reference to `platform_thermal_package_notify' > x86_pkg_temp_thermal.c:(.exit.text+0x3aa6): undefined reference to `platform_thermal_package_rate_control' > > > Full randconfig file is attached (for loadable module build). > > > This requires CONFIG_X86_MCE, which is by default is set to "y". Thanks, Srinivas