浏览代码

[PATCH] ppc32: remove use of asm/segment.h

Removed ppc32 architecture specific users of asm/segment.h and
asm-ppc/segment.h itself

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Kumar Gala 19 年之前
父节点
当前提交
873d3469db
共有 5 个文件被更改,包括 0 次插入5 次删除
  1. 0 1
      arch/ppc/kernel/temp.c
  2. 0 1
      arch/ppc/kernel/time.c
  3. 0 1
      arch/ppc/platforms/chrp_time.c
  4. 0 1
      arch/ppc/syslib/prep_nvram.c
  5. 0 1
      include/asm-ppc/segment.h

+ 0 - 1
arch/ppc/kernel/temp.c

@@ -21,7 +21,6 @@
 #include <linux/interrupt.h>
 #include <linux/init.h>
 
-#include <asm/segment.h>
 #include <asm/io.h>
 #include <asm/reg.h>
 #include <asm/nvram.h>

+ 0 - 1
arch/ppc/kernel/time.c

@@ -58,7 +58,6 @@
 #include <linux/init.h>
 #include <linux/profile.h>
 
-#include <asm/segment.h>
 #include <asm/io.h>
 #include <asm/nvram.h>
 #include <asm/cache.h>

+ 0 - 1
arch/ppc/platforms/chrp_time.c

@@ -22,7 +22,6 @@
 #include <linux/init.h>
 #include <linux/bcd.h>
 
-#include <asm/segment.h>
 #include <asm/io.h>
 #include <asm/nvram.h>
 #include <asm/prom.h>

+ 0 - 1
arch/ppc/syslib/prep_nvram.c

@@ -15,7 +15,6 @@
 #include <linux/ioport.h>
 
 #include <asm/sections.h>
-#include <asm/segment.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/prep_nvram.h>

+ 0 - 1
include/asm-ppc/segment.h

@@ -1 +0,0 @@
-#include <asm/uaccess.h>