Files
erofs-linux/kernel
Jeremy Fitzhardinge f445027e4e stop_machine: make stop_machine safe and efficient to call early
Make stop_machine() safe to call early in boot, before SMP has been set
up, by simply calling the callback function directly if there's only one
CPU online.

[ Fixes from AKPM:
   - add comment
   - local_irq_flags, not save_flags
   - also call hard_irq_disable() for systems which need it

  Tejun suggested using an explicit flag rather than just looking at
  the online cpu count. ]

Cc: Tejun Heo <[email protected]>
Acked-by: Rusty Russell <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Steven Rostedt <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2011-10-31 17:30:53 -07:00
..
2011-07-26 16:49:45 -07:00
…
2011-07-26 16:49:47 -07:00
…
2011-07-26 16:49:47 -07:00
…
2011-09-23 12:05:29 +05:30
…
2011-07-26 16:49:47 -07:00
…
…
2011-10-31 17:30:45 -07:00
…
2011-10-31 17:30:45 -07:00
2011-09-15 15:08:18 +02:00
…
…
2011-10-04 12:43:53 +02:00
…
…
…
…
…
…
…
…
…
2011-07-26 16:49:45 -07:00
…
…
…
…
2011-07-26 16:49:47 -07:00
2011-08-14 12:00:41 +02:00
2011-10-06 12:47:04 +02:00
…
…
…
…
2011-10-31 17:30:44 -07:00
2011-08-12 16:21:35 -05:00
2011-09-19 17:04:37 -07:00
…
…
…
…
…
…