Commit 3dfcaf16 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds

[PATCH] vt: fix comments to not refer to kill_proc

The code has been fixed to use kill_pid instead of kill_proc fix the
comments as well.
Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5f8442ed
...@@ -1087,7 +1087,7 @@ static void complete_change_console(struct vc_data *vc) ...@@ -1087,7 +1087,7 @@ static void complete_change_console(struct vc_data *vc)
switch_screen(vc); switch_screen(vc);
/* /*
* This can't appear below a successful kill_proc(). If it did, * This can't appear below a successful kill_pid(). If it did,
* then the *blank_screen operation could occur while X, having * then the *blank_screen operation could occur while X, having
* received acqsig, is waking up on another processor. This * received acqsig, is waking up on another processor. This
* condition can lead to overlapping accesses to the VGA range * condition can lead to overlapping accesses to the VGA range
...@@ -1110,7 +1110,7 @@ static void complete_change_console(struct vc_data *vc) ...@@ -1110,7 +1110,7 @@ static void complete_change_console(struct vc_data *vc)
*/ */
if (vc->vt_mode.mode == VT_PROCESS) { if (vc->vt_mode.mode == VT_PROCESS) {
/* /*
* Send the signal as privileged - kill_proc() will * Send the signal as privileged - kill_pid() will
* tell us if the process has gone or something else * tell us if the process has gone or something else
* is awry * is awry
*/ */
...@@ -1170,7 +1170,7 @@ void change_console(struct vc_data *new_vc) ...@@ -1170,7 +1170,7 @@ void change_console(struct vc_data *new_vc)
vc = vc_cons[fg_console].d; vc = vc_cons[fg_console].d;
if (vc->vt_mode.mode == VT_PROCESS) { if (vc->vt_mode.mode == VT_PROCESS) {
/* /*
* Send the signal as privileged - kill_proc() will * Send the signal as privileged - kill_pid() will
* tell us if the process has gone or something else * tell us if the process has gone or something else
* is awry * is awry
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment