Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
734d6524
Commit
734d6524
authored
Oct 31, 2005
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerpc: apply recent changes to merged code
Signed-off-by:
Paul Mackerras
<
paulus@samba.org
>
parent
23fd0775
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
12 deletions
+6
-12
arch/powerpc/kernel/of_device.c
arch/powerpc/kernel/of_device.c
+2
-0
arch/powerpc/kernel/ptrace.c
arch/powerpc/kernel/ptrace.c
+1
-1
arch/powerpc/kernel/ptrace32.c
arch/powerpc/kernel/ptrace32.c
+2
-2
arch/powerpc/kernel/time.c
arch/powerpc/kernel/time.c
+0
-4
arch/powerpc/lib/locks.c
arch/powerpc/lib/locks.c
+1
-0
arch/powerpc/mm/imalloc.c
arch/powerpc/mm/imalloc.c
+0
-5
No files found.
arch/powerpc/kernel/of_device.c
View file @
734d6524
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
#include <linux/init.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/mod_devicetable.h>
#include <linux/slab.h>
#include <asm/errno.h>
#include <asm/errno.h>
#include <asm/of_device.h>
#include <asm/of_device.h>
...
...
arch/powerpc/kernel/ptrace.c
View file @
734d6524
...
@@ -248,7 +248,7 @@ void ptrace_disable(struct task_struct *child)
...
@@ -248,7 +248,7 @@ void ptrace_disable(struct task_struct *child)
clear_single_step
(
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
;
struct
task_struct
*
child
;
int
ret
=
-
EPERM
;
int
ret
=
-
EPERM
;
...
...
arch/powerpc/kernel/ptrace32.c
View file @
734d6524
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
* in exit.c or in signal.c.
* in exit.c or in signal.c.
*/
*/
int
compat_sys_ptrace
(
int
request
,
int
pid
,
unsigned
long
addr
,
long
compat_sys_ptrace
(
int
request
,
int
pid
,
unsigned
long
addr
,
unsigned
long
data
)
unsigned
long
data
)
{
{
struct
task_struct
*
child
;
struct
task_struct
*
child
;
...
...
arch/powerpc/kernel/time.c
View file @
734d6524
...
@@ -70,10 +70,6 @@
...
@@ -70,10 +70,6 @@
#include <asm/iSeries/HvCallXm.h>
#include <asm/iSeries/HvCallXm.h>
#endif
#endif
u64
jiffies_64
__cacheline_aligned_in_smp
=
INITIAL_JIFFIES
;
EXPORT_SYMBOL
(
jiffies_64
);
/* keep track of when we need to update the rtc */
/* keep track of when we need to update the rtc */
time_t
last_rtc_update
;
time_t
last_rtc_update
;
extern
int
piranha_simulator
;
extern
int
piranha_simulator
;
...
...
arch/powerpc/lib/locks.c
View file @
734d6524
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/stringify.h>
#include <linux/stringify.h>
#include <linux/smp.h>
/* waiting for a spinlock... */
/* waiting for a spinlock... */
#if defined(CONFIG_PPC_SPLPAR) || defined(CONFIG_PPC_ISERIES)
#if defined(CONFIG_PPC_SPLPAR) || defined(CONFIG_PPC_ISERIES)
...
...
arch/powerpc/mm/imalloc.c
View file @
734d6524
...
@@ -300,12 +300,7 @@ void im_free(void * addr)
...
@@ -300,12 +300,7 @@ void im_free(void * addr)
for
(
p
=
&
imlist
;
(
tmp
=
*
p
)
;
p
=
&
tmp
->
next
)
{
for
(
p
=
&
imlist
;
(
tmp
=
*
p
)
;
p
=
&
tmp
->
next
)
{
if
(
tmp
->
addr
==
addr
)
{
if
(
tmp
->
addr
==
addr
)
{
*
p
=
tmp
->
next
;
*
p
=
tmp
->
next
;
/* XXX: do we need the lock? */
spin_lock
(
&
init_mm
.
page_table_lock
);
unmap_vm_area
(
tmp
);
unmap_vm_area
(
tmp
);
spin_unlock
(
&
init_mm
.
page_table_lock
);
kfree
(
tmp
);
kfree
(
tmp
);
up
(
&
imlist_sem
);
up
(
&
imlist_sem
);
return
;
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment