mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
sched/core: Make 'sched_domain_topology' declaration static
The 'sched_domain_topology' variable is only used within kernel/sched/core.c. Make it static. Signed-off-by: Juergen Gross <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
1 parent
269b26a5ef
commit
c6e1e7b5b7
2 files changed
+2
-3
No files matched your search
@@ -1127,8 +1127,6 @@ struct sched_domain_topology_level {
|
||||
#endif
|
||||
};
|
||||
|
||||
extern struct sched_domain_topology_level *sched_domain_topology;
|
||||
|
||||
extern void set_sched_topology(struct sched_domain_topology_level *tl);
|
||||
extern void wake_up_if_idle(int cpu);
|
||||
|
||||
|
||||
+2
-1
@@ -6445,7 +6445,8 @@ static struct sched_domain_topology_level default_topology[] = {
|
||||
{ NULL, },
|
||||
};
|
||||
|
||||
struct sched_domain_topology_level *sched_domain_topology = default_topology;
|
||||
static struct sched_domain_topology_level *sched_domain_topology =
|
||||
default_topology;
|
||||
|
||||
#define for_each_sd_topology(tl) \
|
||||
for (tl = sched_domain_topology; tl->mask; tl++)
|
||||
|
||||
Reference in new issue
Block a user