Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140434
b: refs/heads/master
c: d1dedb5
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Mar 13, 2009
1 parent 35a2450 commit 98bb9e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: ffd71da4e3f323b7673b061e6f7e0d0c12dc2b49
refs/heads/master: d1dedb52acd98bd5e13e1ff4c4d045d58bbd16fe
4 changes: 3 additions & 1 deletion trunk/include/linux/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ int smp_call_function_single(int cpuid, void (*func) (void *info), void *info,
/*
* main cross-CPU interfaces, handles INIT, TLB flush, STOP, etc.
* (defined in asm header):
*/
*/

/*
* stops all CPUs but the current one:
Expand Down Expand Up @@ -122,6 +122,8 @@ extern unsigned int setup_max_cpus;

#else /* !SMP */

static inline void smp_send_stop(void) { }

/*
* These macros fold the SMP functionality into a single CPU system
*/
Expand Down
2 changes: 0 additions & 2 deletions trunk/kernel/panic.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,12 @@ NORET_TYPE void panic(const char * fmt, ...)
*/
crash_kexec(NULL);

#ifdef CONFIG_SMP
/*
* Note smp_send_stop is the usual smp shutdown function, which
* unfortunately means it may not be hardened to work in a panic
* situation.
*/
smp_send_stop();
#endif

atomic_notifier_call_chain(&panic_notifier_list, 0, buf);

Expand Down

0 comments on commit 98bb9e2

Please sign in to comment.