All of lore.kernel.org
 help / color / mirror / Atom feed
From: Prarit Bhargava <prarit@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH 6/6]: hotplug/ia64: SN Hotplug Driver - PREEMPT/pcibus_info
Date: Thu, 12 May 2005 13:48:48 +0000	[thread overview]
Message-ID: <42835EC0.5030409@sgi.com> (raw)

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>

---
commit 504a8031fc066492285640128780f152e91a05ff
tree 0b3875eb291c83888838c40fe54869d58d0f9f61
parent b37f84886e06a5892a02a0906e8b3f2d51daf1d2
author Prarit Bhargava <prarit@sgi.com> 1810126687 -0400
committer Prarit Bhargava <prarit@sgi.com> 1810126687 -0400

Index: include/asm-ia64/sn/pcibr_provider.h
=================================---
d42322aa13214a5d099019ff0406dfb328960b98/include/asm-ia64/sn/pcibr_provider.h
(mode:100644 sha1:c1bf22505ff339ea7a5255ec9a8a60031397e9a8)
+++
0b3875eb291c83888838c40fe54869d58d0f9f61/include/asm-ia64/sn/pcibr_provider.h
(mode:100644 sha1:e6430a26fcfae1ceefd447d1b30e3e453a6b93d4)
@@ -108,10 +108,11 @@
  	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;
  };

  /*




             reply	other threads:[~2005-05-12 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12 13:48 Prarit Bhargava [this message]
2005-05-13  0:46 ` [PATCH 6/6]: hotplug/ia64: SN Hotplug Driver - PREEMPT/pcibus_info fix Prarit Bhargava

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42835EC0.5030409@sgi.com \
    --to=prarit@sgi.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.