Преглед изворни кода

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
Linus Torvalds пре 16 година
родитељ
комит
7110879cf2
2 измењених фајлова са 6 додато и 1 уклоњено
  1. 1 0
      arch/m32r/kernel/smpboot.c
  2. 5 1
      arch/powerpc/include/asm/page.h

+ 1 - 0
arch/m32r/kernel/smpboot.c

@@ -40,6 +40,7 @@
  */
  */
 
 
 #include <linux/module.h>
 #include <linux/module.h>
+#include <linux/cpu.h>
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/mm.h>

+ 5 - 1
arch/powerpc/include/asm/page.h

@@ -10,9 +10,13 @@
  * 2 of the License, or (at your option) any later version.
  * 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/asm-compat.h>
 #include <asm/kdump.h>
 #include <asm/kdump.h>
-#include <asm/types.h>
 
 
 /*
 /*
  * On PPC32 page size is 4K. For PPC64 we support either 4K or 64K software
  * On PPC32 page size is 4K. For PPC64 we support either 4K or 64K software