aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-xp/xpc_main.c
diff options
context:
space:
mode:
authorDean Nelson <dcn@sgi.com>2008-07-30 01:34:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-30 12:41:50 -0400
commit81fe7883d2c8a80a7145ad22f8cd8514d05412b9 (patch)
tree0e4e1200ad1ff4fb3e31f61c6befc8391c18d1e3 /drivers/misc/sgi-xp/xpc_main.c
parent04de741885bc7565a28150e82c56a56e544440e6 (diff)
sgi-xp: add 'jiffies' to reserved page's timestamp name
Rename XPC's reserved page's timestamp member to reflect the units of time involved. Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/sgi-xp/xpc_main.c')
-rw-r--r--drivers/misc/sgi-xp/xpc_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_main.c
index 36dfccea5247..e7ff9e1670f6 100644
--- a/drivers/misc/sgi-xp/xpc_main.c
+++ b/drivers/misc/sgi-xp/xpc_main.c
@@ -862,8 +862,8 @@ xpc_do_exit(enum xp_retval reason)
862 DBUG_ON(xpc_any_partition_engaged()); 862 DBUG_ON(xpc_any_partition_engaged());
863 DBUG_ON(xpc_any_hbs_allowed() != 0); 863 DBUG_ON(xpc_any_hbs_allowed() != 0);
864 864
865 /* indicate to others that our reserved page is uninitialized */ 865 /* a zero timestamp indicates our rsvd page is not initialized */
866 xpc_rsvd_page->stamp = 0; 866 xpc_rsvd_page->ts_jiffies = 0;
867 867
868 if (reason == xpUnloading) { 868 if (reason == xpUnloading) {
869 (void)unregister_die_notifier(&xpc_die_notifier); 869 (void)unregister_die_notifier(&xpc_die_notifier);
@@ -1152,8 +1152,8 @@ xpc_init(void)
1152 1152
1153 /* initialization was not successful */ 1153 /* initialization was not successful */
1154out_3: 1154out_3:
1155 /* indicate to others that our reserved page is uninitialized */ 1155 /* a zero timestamp indicates our rsvd page is not initialized */
1156 xpc_rsvd_page->stamp = 0; 1156 xpc_rsvd_page->ts_jiffies = 0;
1157 1157
1158 (void)unregister_die_notifier(&xpc_die_notifier); 1158 (void)unregister_die_notifier(&xpc_die_notifier);
1159 (void)unregister_reboot_notifier(&xpc_reboot_notifier); 1159 (void)unregister_reboot_notifier(&xpc_reboot_notifier);