Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11945
b: refs/heads/master
c: 734d652
h: refs/heads/master
i:
  11943: e3900fb
v: v3
  • Loading branch information
Paul Mackerras committed Oct 31, 2005
1 parent 8bd4648 commit cf3a866
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 23fd07750a789a66fe88cf173d52a18f1a387da4
refs/heads/master: 734d6524800b6a8362666e893a5f3f29b9ef0be9
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/kernel/of_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/kernel/ptrace32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/powerpc/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/powerpc/lib/locks.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/stringify.h>
#include <linux/smp.h>

/* waiting for a spinlock... */
#if defined(CONFIG_PPC_SPLPAR) || defined(CONFIG_PPC_ISERIES)
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/powerpc/mm/imalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,12 +300,7 @@ void im_free(void * addr)
for (p = &imlist ; (tmp = *p) ; p = &tmp->next) {
if (tmp->addr == addr) {
*p = tmp->next;

/* XXX: do we need the lock? */
spin_lock(&init_mm.page_table_lock);
unmap_vm_area(tmp);
spin_unlock(&init_mm.page_table_lock);

kfree(tmp);
up(&imlist_sem);
return;
Expand Down

0 comments on commit cf3a866

Please sign in to comment.