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
f1ff1711
Commit
f1ff1711
authored
Sep 19, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://ppc.bkbits.net/for-linus-ppc64
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
6a4ac28f
2bb4954f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
kernel/pid.c
kernel/pid.c
+2
-2
No files found.
kernel/pid.c
View file @
f1ff1711
...
...
@@ -161,8 +161,8 @@ int attach_pid(task_t *task, enum pid_type type, int nr)
pid
->
nr
=
nr
;
atomic_set
(
&
pid
->
count
,
1
);
INIT_LIST_HEAD
(
&
pid
->
task_list
);
pid
->
task
=
current
;
get_task_struct
(
current
);
pid
->
task
=
task
;
get_task_struct
(
task
);
list_add
(
&
pid
->
hash_chain
,
&
pid_hash
[
type
][
pid_hashfn
(
nr
)]);
}
list_add
(
&
task
->
pids
[
type
].
pid_chain
,
&
pid
->
task_list
);
...
...
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