Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sched: Clean up and standardize #if/#else/#endif markers in sched/psi.c

- Use the standard #ifdef marker format for larger blocks,
where appropriate:

#if CONFIG_FOO
...
#else /* !CONFIG_FOO: */
...
#endif /* !CONFIG_FOO */

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Shrikanth Hegde <sshegde@linux.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Valentin Schneider <vschneid@redhat.com>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/20250528080924.2273858-14-mingo@kernel.org

+2 -2
+2 -2
kernel/sched/psi.c
··· 1039 1039 psi_schedule_rtpoll_work(group, 1, false); 1040 1040 } while ((group = group->parent)); 1041 1041 } 1042 - #endif 1042 + #endif /* CONFIG_IRQ_TIME_ACCOUNTING */ 1043 1043 1044 1044 /** 1045 1045 * psi_memstall_enter - mark the beginning of a memory stall section ··· 1655 1655 .proc_poll = psi_fop_poll, 1656 1656 .proc_release = psi_fop_release, 1657 1657 }; 1658 - #endif 1658 + #endif /* CONFIG_IRQ_TIME_ACCOUNTING */ 1659 1659 1660 1660 static int __init psi_proc_init(void) 1661 1661 {