Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1459734 > unrolled thread

[PATCH v1 03/10] sched/fair: Add static to remove_entity_load_avg()

Started byYuyang Du <yuyang.du@intel.com>
First post2016-08-10 22:00 +0200
Last post2016-08-10 22:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v1 03/10] sched/fair: Add static to remove_entity_load_avg() Yuyang Du <yuyang.du@intel.com> - 2016-08-10 22:00 +0200

#1459734 — [PATCH v1 03/10] sched/fair: Add static to remove_entity_load_avg()

FromYuyang Du <yuyang.du@intel.com>
Date2016-08-10 22:00 +0200
Subject[PATCH v1 03/10] sched/fair: Add static to remove_entity_load_avg()
Message-ID<s4HPs-16w-15@gated-at.bofh.it>
remove_entity_load_avg() is only called in fair.c, so add static to it.

Signed-off-by: Yuyang Du <yuyang.du@intel.com>
---
 kernel/sched/fair.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 997297b..dad1ba5 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -3115,7 +3115,7 @@ static inline u64 cfs_rq_last_update_time(struct cfs_rq *cfs_rq)
  * Task first catches up with cfs_rq, and then subtract
  * itself from the cfs_rq (task must be off the queue now).
  */
-void remove_entity_load_avg(struct sched_entity *se)
+static void remove_entity_load_avg(struct sched_entity *se)
 {
 	struct cfs_rq *cfs_rq = cfs_rq_of(se);
 	u64 last_update_time;
-- 
1.7.9.5

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web