aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-01-09 13:03:44 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-09 13:03:44 -0500
commit6150c32589d1976ca8a5c987df951088c05a7542 (patch)
tree94073696576323ff966e365d8c47b8ecd8372f97 /kernel
parent44637a12f80b80157d9c1bc5b7d6ef09c9e05713 (diff)
parentbe42d5fa3772241b8ecebd443f1fb36247959c54 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge
Diffstat (limited to 'kernel')
-rw-r--r--kernel/crash_dump.c3
-rw-r--r--kernel/sys_ni.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/kernel/crash_dump.c b/kernel/crash_dump.c
index 334c37f5218a..fccb27dbc623 100644
--- a/kernel/crash_dump.c
+++ b/kernel/crash_dump.c
@@ -14,10 +14,12 @@
14 14
15#include <asm/io.h> 15#include <asm/io.h>
16#include <asm/uaccess.h> 16#include <asm/uaccess.h>
17#include <asm/kexec.h>
17 18
18/* Stores the physical address of elf header of crash image. */ 19/* Stores the physical address of elf header of crash image. */
19unsigned long long elfcorehdr_addr = ELFCORE_ADDR_MAX; 20unsigned long long elfcorehdr_addr = ELFCORE_ADDR_MAX;
20 21
22#ifndef HAVE_ARCH_COPY_OLDMEM_PAGE
21/** 23/**
22 * copy_oldmem_page - copy one page from "oldmem" 24 * copy_oldmem_page - copy one page from "oldmem"
23 * @pfn: page frame number to be copied 25 * @pfn: page frame number to be copied
@@ -59,3 +61,4 @@ ssize_t copy_oldmem_page(unsigned long pfn, char *buf,
59 kfree(page); 61 kfree(page);
60 return csize; 62 return csize;
61} 63}
64#endif
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c
index bd3b9bfcfcec..17313b99e53d 100644
--- a/kernel/sys_ni.c
+++ b/kernel/sys_ni.c
@@ -112,3 +112,5 @@ cond_syscall(sys_pciconfig_iobase);
112cond_syscall(sys32_ipc); 112cond_syscall(sys32_ipc);
113cond_syscall(sys32_sysctl); 113cond_syscall(sys32_sysctl);
114cond_syscall(ppc_rtas); 114cond_syscall(ppc_rtas);
115cond_syscall(sys_spu_run);
116cond_syscall(sys_spu_create);