+ fix-build-breakage-with-config_ppc32.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Fix build breakage with CONFIG_PPC32

has been added to the -mm tree.  Its filename is

     fix-build-breakage-with-config_ppc32.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Fix build breakage with CONFIG_PPC32
From: Srinivasa Ds <srinivasa@xxxxxxxxxx>

arch/powerpc/platforms/built-in.o: In function `flush_disable_caches':
(.text+0x96d4): undefined reference to `low_cpu_die'

Signed-off-by: Srinivasa DS <srinivasa@xxxxxxxxxx>
Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/powerpc/platforms/powermac/smp.c |    7 +++++++
 1 files changed, 7 insertions(+)

diff -puN arch/powerpc/platforms/powermac/smp.c~fix-build-breakage-with-config_ppc32 arch/powerpc/platforms/powermac/smp.c
--- a/arch/powerpc/platforms/powermac/smp.c~fix-build-breakage-with-config_ppc32
+++ a/arch/powerpc/platforms/powermac/smp.c
@@ -872,7 +872,14 @@ int smp_core99_cpu_disable(void)
 	return 0;
 }
 
+#if defined(CONFIG_PM) || defined(CONFIG_CPU_FREQ_PMAC)
 extern void low_cpu_die(void) __attribute__((noreturn)); /* in sleep.S */
+#else
+void low_cpu_die(void)
+{
+}
+#endif
+
 static int cpu_dead[NR_CPUS];
 
 void cpu_die(void)
_

Patches currently in -mm which might be from srinivasa@xxxxxxxxxx are

fix-build-breakage-with-config_ppc32.patch
fix-build-breakage-with-config_ppc32-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux