summaryrefslogtreecommitdiff
path: root/include/linux/sched/stat.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2021-04-22 23:02:27 +0300
committerIngo Molnar <mingo@kernel.org>2021-05-12 22:34:16 +0300
commit8fc2858e572ce761bffcade81a42ac72005e76f9 (patch)
treea143a82d5c428b4e64000b8c4307cebf08b020d2 /include/linux/sched/stat.h
parent9745516841a55c77163a5d549bce1374d776df54 (diff)
downloadlinux-8fc2858e572ce761bffcade81a42ac72005e76f9.tar.xz
sched: Make nr_iowait_cpu() return 32-bit value
Runqueue ->nr_iowait counters are 32-bit anyway. Propagate 32-bitness into other code, but don't try too hard. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210422200228.1423391-3-adobriyan@gmail.com
Diffstat (limited to 'include/linux/sched/stat.h')
-rw-r--r--include/linux/sched/stat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched/stat.h b/include/linux/sched/stat.h
index 81d9b539e3b7..0108a38bb64d 100644
--- a/include/linux/sched/stat.h
+++ b/include/linux/sched/stat.h
@@ -20,7 +20,7 @@ extern int nr_processes(void);
extern unsigned int nr_running(void);
extern bool single_task_running(void);
extern unsigned int nr_iowait(void);
-extern unsigned long nr_iowait_cpu(int cpu);
+extern unsigned int nr_iowait_cpu(int cpu);
static inline int sched_info_on(void)
{