Kconfig: let it build on 64-bit.
authorMatt Mullins <mmullins@mmlx.us>
Sat, 27 Jun 2015 16:30:39 +0000 (09:30 -0700)
committerMatt Mullins <mmullins@mmlx.us>
Sat, 27 Jun 2015 16:30:39 +0000 (09:30 -0700)
arch/x86/Kconfig
arch/x86/platform/intel-mid/intel_soc_pmu.c

index 8e37ff9..e9e05f6 100644 (file)
@@ -433,7 +433,6 @@ config X86_INTEL_CE
 
 config X86_WANT_INTEL_MID
        bool "Intel MID platform support"
-       depends on X86_32
        depends on X86_EXTENDED_PLATFORM
        ---help---
          Select to build a kernel capable of supporting Intel MID platform
@@ -445,7 +444,6 @@ if X86_WANT_INTEL_MID
 config X86_INTEL_MID
        bool "Intel MID platform"
        depends on PCI
-       depends on PCI_GOANY
        depends on X86_IO_APIC
        select SFI
        select INTEL_SCU_IPC
index 255880c..d3a09b8 100644 (file)
@@ -1067,6 +1067,7 @@ static void print_saved_record(struct saved_nc_power_history *record)
        }
 }
 
+#ifdef CONFIG_X86_32
 int verify_stack_ok(unsigned int *good_ebp, unsigned int *_ebp)
 {
        return ((unsigned int)_ebp & 0xffffe000) ==
@@ -1098,6 +1099,15 @@ size_t backtrace_safe(void **array, size_t max_size)
 
        return i + 1;
 }
+#else
+int verify_stack_ok(unsigned int *a, unsigned int *b) {
+       return 1;
+}
+
+size_t backtrace_safe(void **array, size_t max_size) {
+       return 0;
+}
+#endif
 
 void dump_nc_power_history(void)
 {