mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-08-09 06:14:34 +02:00
Remove the s390 specific idle_time_us and idle_count per cpu sysfs files. They do not provide any additional value. The risk that there are existing applications which rely on these architecture specific files should be very low. However if it turns out such applications exist, this can be easily reverted. Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Acked-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
28 lines
560 B
C
28 lines
560 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright IBM Corp. 2014
|
|
*
|
|
* Author: Martin Schwidefsky <schwidefsky@de.ibm.com>
|
|
*/
|
|
|
|
#ifndef _S390_IDLE_H
|
|
#define _S390_IDLE_H
|
|
|
|
#include <linux/percpu-defs.h>
|
|
#include <linux/types.h>
|
|
#include <asm/tod_types.h>
|
|
|
|
struct s390_idle_data {
|
|
#ifdef CONFIG_NO_HZ_COMMON
|
|
bool in_idle;
|
|
#endif
|
|
unsigned long timer_idle_enter;
|
|
unsigned long mt_cycles_enter[8];
|
|
union tod_clock clock_idle_enter;
|
|
union tod_clock clock_idle_exit;
|
|
};
|
|
|
|
DECLARE_PER_CPU(struct s390_idle_data, s390_idle);
|
|
|
|
#endif /* _S390_IDLE_H */
|