aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/sn/include
diff options
context:
space:
mode:
authorPrarit Bhargava <prarit@sgi.com>2006-01-16 15:31:52 -0500
committerTony Luck <tony.luck@intel.com>2006-01-17 10:08:37 -0800
commit5f7f5b0c99c9c913b649d065a9773e6ed4ed8168 (patch)
tree60ea9e7eba43503d5b1d3d1a3b557a363d34c810 /arch/ia64/sn/include
parentLinux v2.6.16-rc1 (diff)
downloadlinux-dev-5f7f5b0c99c9c913b649d065a9773e6ed4ed8168.tar.xz
linux-dev-5f7f5b0c99c9c913b649d065a9773e6ed4ed8168.zip
[IA64-SGI] Older PROM WAR for device flush code
Work-around to temporarily support older PROMs with new flush device code. This code allows systems running older PROMs to continue to run on the new kernel base until a new official PROM is released. Signed-off-by: Prarit Bhargava <prarit@sgi.com> Acked-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/include')
-rw-r--r--arch/ia64/sn/include/xtalk/hubdev.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/ia64/sn/include/xtalk/hubdev.h b/arch/ia64/sn/include/xtalk/hubdev.h
index 7c88e9a58516..8182583c762c 100644
--- a/arch/ia64/sn/include/xtalk/hubdev.h
+++ b/arch/ia64/sn/include/xtalk/hubdev.h
@@ -51,6 +51,15 @@ struct sn_flush_device_kernel {
struct sn_flush_device_common *common;
};
+/* 01/16/06 This struct is the old PROM/kernel struct and needs to be included
+ * for older official PROMs to function on the new kernel base. This struct
+ * will be removed when the next official PROM release occurs. */
+
+struct sn_flush_device_war {
+ struct sn_flush_device_common common;
+ u32 filler; /* older PROMs expect the default size of a spinlock_t */
+};
+
/*
* **widget_p - Used as an array[wid_num][device] of sn_flush_device_kernel.
*/