Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 14 Feb 2003 06:16:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 14 Feb 2003 06:16:08 -0500 Received: from kim.it.uu.se ([130.238.12.178]:54152 "EHLO kim.it.uu.se") by vger.kernel.org with ESMTP id ; Fri, 14 Feb 2003 06:16:07 -0500 From: Mikael Pettersson MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15948.53826.813484.291297@kim.it.uu.se> Date: Fri, 14 Feb 2003 12:25:54 +0100 To: "Maciej W. Rozycki" Cc: Pavel Machek , John Levon , linux-kernel@vger.kernel.org Subject: Re: Switch APIC (+nmi, +oprofile) to driver model In-Reply-To: References: <15948.50644.705291.922086@kim.it.uu.se> X-Mailer: VM 6.90 under Emacs 20.7.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 805 Lines: 24 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/