diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-12-13 03:34:05 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 12:05:47 -0500 |
commit | 3dfcaf16135150d0f025047a7525664a41bb2adf (patch) | |
tree | 9397099e21503db8b89bd6d5d253bc0979f1445c /drivers/char/vt_ioctl.c | |
parent | 5f8442edfb214908e9c6ca1142bf882c9bc364e5 (diff) |
[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: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/vt_ioctl.c')
-rw-r--r-- | drivers/char/vt_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/vt_ioctl.c b/drivers/char/vt_ioctl.c index ac5d60edbafa..311493e7b409 100644 --- a/drivers/char/vt_ioctl.c +++ b/drivers/char/vt_ioctl.c | |||
@@ -1087,7 +1087,7 @@ static void complete_change_console(struct vc_data *vc) | |||
1087 | switch_screen(vc); | 1087 | switch_screen(vc); |
1088 | 1088 | ||
1089 | /* | 1089 | /* |
1090 | * This can't appear below a successful kill_proc(). If it did, | 1090 | * This can't appear below a successful kill_pid(). If it did, |
1091 | * then the *blank_screen operation could occur while X, having | 1091 | * then the *blank_screen operation could occur while X, having |
1092 | * received acqsig, is waking up on another processor. This | 1092 | * received acqsig, is waking up on another processor. This |
1093 | * condition can lead to overlapping accesses to the VGA range | 1093 | * condition can lead to overlapping accesses to the VGA range |
@@ -1110,7 +1110,7 @@ static void complete_change_console(struct vc_data *vc) | |||
1110 | */ | 1110 | */ |
1111 | if (vc->vt_mode.mode == VT_PROCESS) { | 1111 | if (vc->vt_mode.mode == VT_PROCESS) { |
1112 | /* | 1112 | /* |
1113 | * Send the signal as privileged - kill_proc() will | 1113 | * Send the signal as privileged - kill_pid() will |
1114 | * tell us if the process has gone or something else | 1114 | * tell us if the process has gone or something else |
1115 | * is awry | 1115 | * is awry |
1116 | */ | 1116 | */ |
@@ -1170,7 +1170,7 @@ void change_console(struct vc_data *new_vc) | |||
1170 | vc = vc_cons[fg_console].d; | 1170 | vc = vc_cons[fg_console].d; |
1171 | if (vc->vt_mode.mode == VT_PROCESS) { | 1171 | if (vc->vt_mode.mode == VT_PROCESS) { |
1172 | /* | 1172 | /* |
1173 | * Send the signal as privileged - kill_proc() will | 1173 | * Send the signal as privileged - kill_pid() will |
1174 | * tell us if the process has gone or something else | 1174 | * tell us if the process has gone or something else |
1175 | * is awry | 1175 | * is awry |
1176 | */ | 1176 | */ |