From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932547Ab0EFUdi (ORCPT ); Thu, 6 May 2010 16:33:38 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:30375 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755819Ab0EFUdg (ORCPT ); Thu, 6 May 2010 16:33:36 -0400 Date: Thu, 6 May 2010 13:32:15 -0700 From: Randy Dunlap To: Len Brown , James Morris Cc: Stephen Rothwell , linux-pm@lists.linux-foundation.org, linux-acpi@vger.kernel.org, linux-next@vger.kernel.org, LKML Subject: Re: [linux-pm] linux-next: Tree for May 6 (acpi: PM=n) Message-Id: <20100506133215.f5dc579a.randy.dunlap@oracle.com> In-Reply-To: References: <20100506151502.f97afe54.sfr@canb.auug.org.au> <20100506080538.b566f50e.randy.dunlap@oracle.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Type: Internal IP X-Source-IP: acsinet15.oracle.com [141.146.126.227] X-CT-RefId: str=0001.0A090206.4BE32758.0030:SCFMA922111,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 06 May 2010 16:26:13 -0400 (EDT) Len Brown wrote: > > When CONFIG_PM is not set: > > > > drivers/built-in.o: In function `acpi_init': > > bus.c:(.init.text+0x2d84): undefined reference to `pm_flags' > > bus.c:(.init.text+0x2d91): undefined reference to `pm_flags' > > CONFIG_ACPI depends on CONFIG_PM, > so acpi/bus.c should not be compiled for CONFIG_PM=n > > Hmm, is is somebody doing something strange, like "select ACPI" > without guaranteeing that all of ACPI's dependencies are satisfied? Oh, thanks for the clue. That would be a patch that I commented on and was ignored, but James Morris merged it anyway. Now it should be dropped. http://lkml.org/lkml/2010/5/4/379 --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***