summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/genapic_flat_64.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-09-04 20:57:11 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-16 16:53:05 +0200
commit02c1df199c990cd21c09a4dffaa06d4e0b7bf2bf (patch)
tree3c6af307149fe635d8b6333bab760b3fb561a555 /arch/x86/kernel/genapic_flat_64.c
parente8fc96ed3603924e7aa09fd5e4dbd289b7e69907 (diff)
downloadtalos-op-linux-02c1df199c990cd21c09a4dffaa06d4e0b7bf2bf.tar.gz
talos-op-linux-02c1df199c990cd21c09a4dffaa06d4e0b7bf2bf.zip
x86: print out if acpi want physical flat of all
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/genapic_flat_64.c')
-rw-r--r--arch/x86/kernel/genapic_flat_64.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/genapic_flat_64.c b/arch/x86/kernel/genapic_flat_64.c
index 9eca5ba7a6b1..2ec2de8d8c46 100644
--- a/arch/x86/kernel/genapic_flat_64.c
+++ b/arch/x86/kernel/genapic_flat_64.c
@@ -179,8 +179,10 @@ static int __init physflat_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
* is an example).
*/
if (acpi_gbl_FADT.header.revision > FADT2_REVISION_ID &&
- (acpi_gbl_FADT.flags & ACPI_FADT_APIC_PHYSICAL))
+ (acpi_gbl_FADT.flags & ACPI_FADT_APIC_PHYSICAL)) {
+ printk(KERN_DEBUG "system APIC only can use physical flat");
return 1;
+ }
#endif
return 0;
OpenPOWER on IntegriCloud