Skip to contentSkip to conversation

include/linux/acpi.h:434:28: error: unknown type name 'acpi_physical_address'

PATCH In review Fengguang Wu 1 participant 2 messages Sep 28, 2012 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 include/linux/acpi.h:434:28: error: unknown type name 'acpi_physical_address'

Hi Thomas,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/acpi
head:   4901b402c957d4ebaff123ffc34fafe3cef99542
commit: 9e0a90cdff5b89599d73695b4d9971d1075c0b14 [1/6] X86 ACPI: Introduce x86 arch specific arch_reserve_mem_area() for e820 handling
config: i386-allnoconfig

All error/warnings:

In file included from init/main.c:25:0:
include/linux/acpi.h:434:28: error: unknown type name 'acpi_physical_address'

vim +434 include/linux/acpi.h

9e0a90cd (Thomas Renninger 2012-09-26 433) #if CONFIG_X86
9e0a90cd (Thomas Renninger 2012-09-26 @434) void arch_reserve_mem_area(acpi_physical_address addr, size_t size);

9e0a90cd (Thomas Renninger 2012-09-26  435) #else
9e0a90cd (Thomas Renninger 2012-09-26  436) static inline void arch_reserve_mem_area(acpi_physical_address addr,
9e0a90cd (Thomas Renninger 2012-09-26  437) 					  size_t size)

---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation

#1 lore raw

PATCH 1/6 include/linux/acpi.h:433:5: warning: "CONFIG_X86" is not defined

Hi Thomas,

FYI, there are new compile warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/acpi
head:   4901b402c957d4ebaff123ffc34fafe3cef99542
commit: 9e0a90cdff5b89599d73695b4d9971d1075c0b14 [1/6] X86 ACPI: Introduce x86 arch specific arch_reserve_mem_area() for e820 handling
config: alpha-defconfig

All warnings:

In file included from init/main.c:25:0:
include/linux/acpi.h:433:5: warning: "CONFIG_X86" is not defined [-Wundef] include/linux/acpi.h:436:42: error: unknown type name 'acpi_physical_address'

vim +433 include/linux/acpi.h

9e0a90cd (Thomas Renninger  2012-09-26 @433) #if CONFIG_X86
9e0a90cd (Thomas Renninger  2012-09-26  434) void arch_reserve_mem_area(acpi_physical_address addr, size_t size);
9e0a90cd (Thomas Renninger  2012-09-26  435) #else
9e0a90cd (Thomas Renninger  2012-09-26  436) static inline void arch_reserve_mem_area(acpi_physical_address addr,
9e0a90cd (Thomas Renninger  2012-09-26  437) 					  size_t size)
9e0a90cd (Thomas Renninger  2012-09-26  438) {
9e0a90cd (Thomas Renninger  2012-09-26  439) }
9e0a90cd (Thomas Renninger  2012-09-26  440) #endif /* CONFIG_X86 */

---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation