summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 13:21:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 13:21:24 -0700
commit7110879cf2afbfb7af79675f5ff109e63d631c25 (patch)
tree2a6c930ae90ad44002d045b91d335df634a26bb4
parent99ebcf8285df28f32fd2d1c19a7166e70f00309c (diff)
parent3baf63a507094992a5bf238ba3bcea71f458b1e8 (diff)
downloadop-kernel-dev-7110879cf2afbfb7af79675f5ff109e63d631c25.zip
op-kernel-dev-7110879cf2afbfb7af79675f5ff109e63d631c25.tar.gz
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: m32r: fix build due to notify_cpu_starting() change powerpc: fix linux-next build failure
-rw-r--r--arch/m32r/kernel/smpboot.c1
-rw-r--r--arch/powerpc/include/asm/page.h6
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/m32r/kernel/smpboot.c b/arch/m32r/kernel/smpboot.c
index fc29948..39cb6da 100644
--- a/arch/m32r/kernel/smpboot.c
+++ b/arch/m32r/kernel/smpboot.c
@@ -40,6 +40,7 @@
*/
#include <linux/module.h>
+#include <linux/cpu.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/mm.h>
diff --git a/arch/powerpc/include/asm/page.h b/arch/powerpc/include/asm/page.h
index 64e1445..5ac51e6 100644
--- a/arch/powerpc/include/asm/page.h
+++ b/arch/powerpc/include/asm/page.h
@@ -10,9 +10,13 @@
* 2 of the License, or (at your option) any later version.
*/
+#ifndef __ASSEMBLY__
+#include <linux/types.h>
+#else
+#include <asm/types.h>
+#endif
#include <asm/asm-compat.h>
#include <asm/kdump.h>
-#include <asm/types.h>
/*
* On PPC32 page size is 4K. For PPC64 we support either 4K or 64K software
OpenPOWER on IntegriCloud