6d6e420005
This patch separates the sn_flush_device_list struct into kernel and common (both kernel and PROM accessible) structures. As it was, if the size of a spinlock_t changed (due to additional CONFIG options, etc.) the sal call which populated the sn_flush_device_list structs would erroneously write data (and cause memory corruption and/or a panic). This patch does the following: 1. Removes sn_flush_device_list and adds sn_flush_device_common and sn_flush_device_kernel. 2. Adds a new SAL call to populate a sn_flush_device_common struct per device, not per widget as previously done. 3. Correctly initializes each device's sn_flush_device_kernel spinlock_t struct (before it was only doing each widget's first device). Signed-off-by: Prarit Bhargava <prarit@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com> |
||
---|---|---|
.. | ||
sn2 | ||
addrs.h | ||
arch.h | ||
bte.h | ||
clksupport.h | ||
geo.h | ||
intr.h | ||
io.h | ||
klconfig.h | ||
l1.h | ||
leds.h | ||
module.h | ||
mspec.h | ||
nodepda.h | ||
pcibr_provider.h | ||
pcibus_provider_defs.h | ||
pcidev.h | ||
pda.h | ||
pic.h | ||
rw_mmr.h | ||
shub_mmr.h | ||
shubio.h | ||
simulator.h | ||
sn_cpuid.h | ||
sn_feature_sets.h | ||
sn_sal.h | ||
tioca.h | ||
tioca_provider.h | ||
tioce.h | ||
tioce_provider.h | ||
tiocp.h | ||
tiocx.h | ||
types.h | ||
xp.h | ||
xpc.h |