Skip to contentSkip to conversation

vt: Fix comments to not refer to kill_proc

PATCH New Eric W. Biederman 1 participant 1 message Dec 11, 2006 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/char/vt_ioctl.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/char/vt_ioctl.c +3 -3
index ac5d60e..311493e 100644
@@ -1087,7 +1087,7 @@ static void complete_change_console(struct vc_data *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
 	 * received acqsig, is waking up on another processor.  This
 	 * condition can lead to overlapping accesses to the VGA range
@@ -1110,7 +1110,7 @@ static void complete_change_console(struct vc_data *vc)
 	 */
 	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
 		 * is awry
 		 */
@@ -1170,7 +1170,7 @@ void change_console(struct vc_data *new_vc)
 	vc = vc_cons[fg_console].d;
 	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
 		 * is awry
 		 */
Signature · 1 line
1.4.4.1.g278f