summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2004-06-25 19:06:27 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-25 19:06:27 -0700
commitf6a7507c1714f5cb4faaebc76a1d02260830be01 (patch)
treeba4b7adede9b552919abf413e981f5ac7c13788c /include
parent0747e35eaaa57bbc285cfc0f28b13c00d3232fc9 (diff)
[PATCH] ppc32: fix compilation
PPC has an out of line and exported abs() that gives lots of nice and wierd compilation erorrs. Also kill the duplicate cpu_online() in asm-ppc/smp.h.
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/smp.h2
-rw-r--r--include/asm-ppc/system.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-ppc/smp.h b/include/asm-ppc/smp.h
index 803fdb583348..4bd15cbdcfaf 100644
--- a/include/asm-ppc/smp.h
+++ b/include/asm-ppc/smp.h
@@ -47,8 +47,6 @@ extern void smp_local_timer_interrupt(struct pt_regs *);
#define smp_processor_id() (current_thread_info()->cpu)
-#define cpu_online(cpu) cpu_isset(cpu, cpu_online_map)
-
extern int __cpu_up(unsigned int cpu);
extern int smp_hw_index[];
diff --git a/include/asm-ppc/system.h b/include/asm-ppc/system.h
index fdccd739c2d7..e49964652b50 100644
--- a/include/asm-ppc/system.h
+++ b/include/asm-ppc/system.h
@@ -82,7 +82,6 @@ extern int fix_alignment(struct pt_regs *);
extern void cvt_fd(float *from, double *to, unsigned long *fpscr);
extern void cvt_df(double *from, float *to, unsigned long *fpscr);
extern int call_rtas(const char *, int, int, unsigned long *, ...);
-extern int abs(int);
extern void cacheable_memzero(void *p, unsigned int nb);
extern int do_page_fault(struct pt_regs *, unsigned long, unsigned long);
extern void bad_page_fault(struct pt_regs *, unsigned long, int);