s390 has its own version of IRQ entry accounting because it doesn't account the idle time the same way the other architectures do. Only the actual idle sleep time is accounted as idle time, the rest of the idle task execution is accounted as system time. Make the generic IRQ entry accounting aware of architectures that have their own way of accounting idle time and convert s390 to use it. This prepares s390 to get involved in further consolidations of IRQ time accounting. Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20201202115732.27827-3-frederic@kernel.org
7 lines
149 B
C
7 lines
149 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _S390_VTIME_H
|
|
#define _S390_VTIME_H
|
|
|
|
#define __ARCH_HAS_VTIME_TASK_SWITCH
|
|
|
|
#endif /* _S390_VTIME_H */
|