Browse Source

lguest: typos fix

3 points

lguest_asm.S => i386_head.S
LHCALL_BREAK => LHREQ_BREAK
perferred    => preferred

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Atsushi SAKAI 16 years ago
parent
commit
72410af921
2 changed files with 3 additions and 3 deletions
  1. 2 2
      arch/x86/lguest/boot.c
  2. 1 1
      drivers/lguest/core.c

+ 2 - 2
arch/x86/lguest/boot.c

@@ -931,7 +931,7 @@ static void lguest_restart(char *reason)
  * that we can fit comfortably.
  * that we can fit comfortably.
  *
  *
  * First we need assembly templates of each of the patchable Guest operations,
  * First we need assembly templates of each of the patchable Guest operations,
- * and these are in lguest_asm.S. */
+ * and these are in i386_head.S. */
 
 
 /*G:060 We construct a table from the assembler templates: */
 /*G:060 We construct a table from the assembler templates: */
 static const struct lguest_insns
 static const struct lguest_insns
@@ -1093,7 +1093,7 @@ __init void lguest_init(void)
 	acpi_ht = 0;
 	acpi_ht = 0;
 #endif
 #endif
 
 
-	/* We set the perferred console to "hvc".  This is the "hypervisor
+	/* We set the preferred console to "hvc".  This is the "hypervisor
 	 * virtual console" driver written by the PowerPC people, which we also
 	 * virtual console" driver written by the PowerPC people, which we also
 	 * adapted for lguest's use. */
 	 * adapted for lguest's use. */
 	add_preferred_console("hvc", 0, NULL);
 	add_preferred_console("hvc", 0, NULL);

+ 1 - 1
drivers/lguest/core.c

@@ -224,7 +224,7 @@ int run_guest(struct lg_cpu *cpu, unsigned long __user *user)
 			break;
 			break;
 
 
 		/* If the Guest asked to be stopped, we sleep.  The Guest's
 		/* If the Guest asked to be stopped, we sleep.  The Guest's
-		 * clock timer or LHCALL_BREAK from the Waker will wake us. */
+		 * clock timer or LHREQ_BREAK from the Waker will wake us. */
 		if (cpu->halted) {
 		if (cpu->halted) {
 			set_current_state(TASK_INTERRUPTIBLE);
 			set_current_state(TASK_INTERRUPTIBLE);
 			schedule();
 			schedule();