Re: Switch APIC (+nmi, +oprofile) to driver model

From: Mikael Pettersson (mikpe@csd.uu.se)
Date: Fri Feb 14 2003 - 06:25:54 EST


Maciej W. Rozycki writes:
> OK, but then the question is: are the following calls:
>
> + driver_register(&local_apic_driver);
> + return sys_device_register(&device_local_apic);
>
> for suspend/resume exclusively?

Yes.

We could register the device also in other cases (!PM, SMP)
but the methods would then be nullified and we'd have a device
node with a name but no operations. I could do that, I just
think it's pointless.

Getting suspend to work on SMP is a separate project. This
patch is just about upgrading to the new infrastructure.

/Mikael
-
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/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:53 EST