All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/acpi/bgrt.c:undefined reference to `bgrt_tab' (defined in arch/x86/platform/efi/efi-bgrt.c)
@ 2013-03-27  0:55 Fengguang Wu
  2013-03-29 21:50 ` drivers/acpi/bgrt.c:undefined reference to `bgrt_tab' (defined in arch/x86/platform/efi/efi-bgrt H. Peter Anvin
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2013-03-27  0:55 UTC (permalink / raw)
  To: linux-ia64


Hi,

The error is bisected down to below commit, however I don't see
obvious correlations.

The problem is, drivers/acpi/bgrt.c references bgrt_tab etc. variables
defined in arch/x86/platform/efi/efi-bgrt.c which is obviously not
available in ia64.

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master
head:   c4052ba9dad9cc86cb3a1f0f8cb032514fa414be
commit: 18a44a7ff1075ce5157ac07cde573aca6b5e9973 Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
date:   4 weeks ago
config: make ARCH=ia64 allmodconfig

All error/warnings:

   drivers/built-in.o: In function `show_yoffset':
>> bgrt.c:(.text+0xe5a71): undefined reference to `bgrt_tab'
>> bgrt.c:(.text+0xe5a91): undefined reference to `bgrt_tab'
   drivers/built-in.o: In function `show_xoffset':
>> bgrt.c:(.text+0xe5b51): undefined reference to `bgrt_tab'
>> bgrt.c:(.text+0xe5b71): undefined reference to `bgrt_tab'
   drivers/built-in.o: In function `show_type':
>> bgrt.c:(.text+0xe5c31): undefined reference to `bgrt_tab'
   drivers/built-in.o:bgrt.c:(.text+0xe5c51): more undefined references to `bgrt_tab' follow
   drivers/built-in.o: In function `bgrt_init':
   bgrt.c:(.init.text+0x8931): undefined reference to `bgrt_image'
   bgrt.c:(.init.text+0x8932): undefined reference to `bgrt_image_size'
   bgrt.c:(.init.text+0x8950): undefined reference to `bgrt_image'
   bgrt.c:(.init.text+0x8960): undefined reference to `bgrt_image_size'

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: drivers/acpi/bgrt.c:undefined reference to `bgrt_tab' (defined in arch/x86/platform/efi/efi-bgrt
  2013-03-27  0:55 drivers/acpi/bgrt.c:undefined reference to `bgrt_tab' (defined in arch/x86/platform/efi/efi-bgrt.c) Fengguang Wu
@ 2013-03-29 21:50 ` H. Peter Anvin
  0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2013-03-29 21:50 UTC (permalink / raw)
  To: linux-ia64

On 03/29/2013 02:50 PM, Tony Luck wrote:
> 
> 
> 
> On Tue, Mar 26, 2013 at 5:55 PM, Fengguang Wu <fengguang.wu@intel.com
> <mailto:fengguang.wu@intel.com>> wrote:
> 
> 
>     The problem is, drivers/acpi/bgrt.c references bgrt_tab etc. variables
>     defined in arch/x86/platform/efi/efi-bgrt.c which is obviously not
>     available in ia64.
> 
> 
> So perhaps the solution is to not let the user configure
> this on IA64.  I don't think we have platforms with
> boot graphics support (many ia64 machines are headless
> so have *no* graphics at all!).
> 
> gmail will whitespace destroy this patch - but easier to type
> in the half dozen extra characters anyway:
> 
>  diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
> index 4fc0ffc..8fcae6d 100644
> --- a/drivers/acpi/Kconfig
> +++ b/drivers/acpi/Kconfig
> @@ -395,7 +395,7 @@ config ACPI_CUSTOM_METHOD
>  
>  config ACPI_BGRT
>         bool "Boottime Graphics Resource Table support"
> -       depends on EFI
> +       depends on EFI && X86
>          help
>           This driver adds support for exposing the ACPI Boottime Graphics
>           Resource Table, which allows the operating system to obtain
> 

Makes sense to me.

Acked-by: H. Peter Anvin <hpa@zytor.com>

	-hpa


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-29 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-27  0:55 drivers/acpi/bgrt.c:undefined reference to `bgrt_tab' (defined in arch/x86/platform/efi/efi-bgrt.c) Fengguang Wu
2013-03-29 21:50 ` drivers/acpi/bgrt.c:undefined reference to `bgrt_tab' (defined in arch/x86/platform/efi/efi-bgrt H. Peter Anvin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.