Skip to content

Commit

Permalink
[IA64] hotplug/ia64: SN Hotplug Driver - PREEMPT/pcibus_info fix
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Prarit Bhargava authored and Tony Luck committed Jul 6, 2005
1 parent 6f354b0 commit 7fe4c1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/asm-ia64/sn/pcibr_provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

/*
Expand Down

0 comments on commit 7fe4c1b

Please sign in to comment.