public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6/6]: SN Hotplug Driver - PREEMPT/pcibus_info fix
@ 2005-05-02 12:50 Prarit Bhargava
  0 siblings, 0 replies; only message in thread
From: Prarit Bhargava @ 2005-05-02 12:50 UTC (permalink / raw)
  To: linux-ia64

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: pcibus_info.patch-6 --]
[-- Type: text/plain, Size: 876 bytes --]

This patch fixes an issue with the PROM and a kernel running with
CONFIG_PREEMPT enabled.  When CONFIG_PREEMPT is enabled, the size of a
spinlock_t changes -- resulting in the PROM writing to an incorrect location.

Signed-off-by: Prarit Bhargava <prarit@sgi.com>

 pcibr_provider.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -urNp hp/include/asm-ia64/sn/pcibr_provider.h final/include/asm-ia64/sn/pcibr_provider.h
--- hp/include/asm-ia64/sn/pcibr_provider.h	2027-04-28 13:30:25.000000000 -0400
+++ final/include/asm-ia64/sn/pcibr_provider.h	2027-04-28 13:31:08.000000000 -0400
@@ -108,10 +108,11 @@ struct pcibus_info {
 	char                    pbi_hub_xid;
 
 	uint64_t                pbi_devreg[8];
-	spinlock_t              pbi_lock;
 
 	uint32_t		pbi_valid_devices;
 	uint32_t		pbi_enabled_devices;
+
+	spinlock_t              pbi_lock;
 };
 
 /*

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-02 12:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-02 12:50 [PATCH 6/6]: SN Hotplug Driver - PREEMPT/pcibus_info fix Prarit Bhargava

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox