sched/debug: Move the print_rt_rq() and print_dl_rq() declarations to kernel/sched...
authorMathieu Malaterre <[email protected]>
Wed, 16 May 2018 19:53:47 +0000 (21:53 +0200)
committerIngo Molnar <[email protected]>
Fri, 18 May 2018 07:05:14 +0000 (09:05 +0200)
commitf6a3463063f42d9fb2c78f386437a822e0ad1792
tree284a5c7d817cf6d75b6c11fb7391663f997fa856
parent3acf4e395260e3bd30a6fa29ba7eada4bf7566ca
sched/debug: Move the print_rt_rq() and print_dl_rq() declarations to kernel/sched/sched.h

In the following commit:

  6b55c9654fcc ("sched/debug: Move print_cfs_rq() declaration to kernel/sched/sched.h")

the print_cfs_rq() prototype was added to <kernel/sched/sched.h>,
right next to the prototypes for print_cfs_stats(), print_rt_stats()
and print_dl_stats().

Finish this previous commit and also move related prototypes for
print_rt_rq() and print_dl_rq().

Remove existing extern declarations now that they not needed anymore.

Silences the following GCC warning, triggered by W=1:

  kernel/sched/debug.c:573:6: warning: no previous prototype for ‘print_rt_rq’ [-Wmissing-prototypes]
  kernel/sched/debug.c:603:6: warning: no previous prototype for ‘print_dl_rq’ [-Wmissing-prototypes]

Signed-off-by: Mathieu Malaterre <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched/deadline.c
kernel/sched/rt.c
kernel/sched/sched.h