1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _S390_VTIME_H 3 #define _S390_VTIME_H 4 5 static inline void update_timer_sys(void) 6 { 7 struct lowcore *lc = get_lowcore(); 8 9 lc->system_timer += lc->last_update_ti 10 lc->user_timer += lc->exit_timer - lc- 11 lc->last_update_timer = lc->sys_enter_ 12 } 13 14 static inline void update_timer_mcck(void) 15 { 16 struct lowcore *lc = get_lowcore(); 17 18 lc->system_timer += lc->last_update_ti 19 lc->user_timer += lc->exit_timer - lc- 20 lc->last_update_timer = lc->mcck_enter 21 } 22 23 #endif /* _S390_VTIME_H */ 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.