mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
04de741885
commit
81fe7883d2
4 changed files with 28 additions and 26 deletions
|
@ -862,8 +862,8 @@ xpc_do_exit(enum xp_retval reason)
|
|||
DBUG_ON(xpc_any_partition_engaged());
|
||||
DBUG_ON(xpc_any_hbs_allowed() != 0);
|
||||
|
||||
/* indicate to others that our reserved page is uninitialized */
|
||||
xpc_rsvd_page->stamp = 0;
|
||||
/* a zero timestamp indicates our rsvd page is not initialized */
|
||||
xpc_rsvd_page->ts_jiffies = 0;
|
||||
|
||||
if (reason == xpUnloading) {
|
||||
(void)unregister_die_notifier(&xpc_die_notifier);
|
||||
|
@ -1152,8 +1152,8 @@ xpc_init(void)
|
|||
|
||||
/* initialization was not successful */
|
||||
out_3:
|
||||
/* indicate to others that our reserved page is uninitialized */
|
||||
xpc_rsvd_page->stamp = 0;
|
||||
/* a zero timestamp indicates our rsvd page is not initialized */
|
||||
xpc_rsvd_page->ts_jiffies = 0;
|
||||
|
||||
(void)unregister_die_notifier(&xpc_die_notifier);
|
||||
(void)unregister_reboot_notifier(&xpc_reboot_notifier);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue