Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29635
b: refs/heads/master
c: caad3c2
h: refs/heads/master
i:
  29633: 9842331
  29631: 27b7e3a
v: v3
  • Loading branch information
Chuck Ebbert authored and Linus Torvalds committed Jun 25, 2006
1 parent 3325478 commit f238191
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 186989177e627c2571a3026d39ea1433e4ddc097
refs/heads/master: caad3c2a15dfa2e0da8cf51a57c052372123483c
3 changes: 2 additions & 1 deletion trunk/arch/i386/kernel/crash.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ static int crash_nmi_callback(struct pt_regs *regs, int cpu)
atomic_dec(&waiting_for_crash_ipi);
/* Assume hlt works */
halt();
for(;;);
for (;;)
cpu_relax();

return 1;
}
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/i386/kernel/doublefault.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ static void doublefault_fn(void)
}
}

for (;;) /* nothing */;
for (;;)
cpu_relax();
}

struct tss_struct doublefault_tss __cacheline_aligned = {
Expand Down

0 comments on commit f238191

Please sign in to comment.