![]() | |||||||||||||
Messages in this thread |
On Sun, Nov 11, 2001 at 09:54:48AM +1100, Keith Owens wrote: > I am still unhappy with that NMI code. The NMI handler can use generic > code including printk, the generic code will use the standard > get_current. Why does nmi.c not do set_current(hard_get_current()); It can in the current version, but that's generally wrong. The current dependancy is that hard_get_current() only really needs to be used during early boot before the TR register is set. Once that's done, the code can use smp_processor_id() anywhere. -ben -- Fish. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 12:13 [from the cache] ©2003-2008 | |||||||||||||