powerpc: apply recent changes to merged code

Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Paul Mackerras
2005-10-31 13:57:01 +11:00
parent 23fd07750a
commit 734d652480
6 changed files with 6 additions and 12 deletions

View File

@@ -4,6 +4,8 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/slab.h>
#include <asm/errno.h>
#include <asm/of_device.h>

View File

@@ -248,7 +248,7 @@ void ptrace_disable(struct task_struct *child)
clear_single_step(child);
}
int sys_ptrace(long request, long pid, long addr, long data)
long sys_ptrace(long request, long pid, long addr, long data)
{
struct task_struct *child;
int ret = -EPERM;

View File

@@ -40,8 +40,8 @@
* in exit.c or in signal.c.
*/
int compat_sys_ptrace(int request, int pid, unsigned long addr,
unsigned long data)
long compat_sys_ptrace(int request, int pid, unsigned long addr,
unsigned long data)
{
struct task_struct *child;
int ret = -EPERM;

View File

@@ -70,10 +70,6 @@
#include <asm/iSeries/HvCallXm.h>
#endif
u64 jiffies_64 __cacheline_aligned_in_smp = INITIAL_JIFFIES;
EXPORT_SYMBOL(jiffies_64);
/* keep track of when we need to update the rtc */
time_t last_rtc_update;
extern int piranha_simulator;