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
2914f53c
Commit
2914f53c
authored
Sep 20, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge mandrakesoft.com:/home/jgarzik/repo/linus-2.5
into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
parents
8900dac7
2bb4954f
Changes
1
Show 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 @
2914f53c
...
...
@@ -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