Skip to content

Commit

Permalink
Fix a build error.
Browse files Browse the repository at this point in the history
- patches.taobao/loadavg-bug-fix-003.patch:
  • Loading branch information
taoma-tm committed Jun 5, 2012
1 parent 762d37f commit b060aec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions kernel-source.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jun 6 06:41:27 CST 2012 - [email protected]

Fix a build error.

- patches.taobao/loadavg-bug-fix-003.patch:

-------------------------------------------------------------------
Tue Jun 5 07:08:19 CST 2012 - [email protected]

Expand Down
4 changes: 2 additions & 2 deletions patches.taobao/loadavg-bug-fix-003.patch
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Index: linux-2.6.32-220.13.1.el5/kernel/sched.c
* weights adjusted to the number of cycles missed.
*/
-static void calc_global_nohz(unsigned long ticks)
+static void calc_global_nohz()
+static void calc_global_nohz(void)
{
long delta, active, n;

Expand Down Expand Up @@ -93,7 +93,7 @@ Index: linux-2.6.32-220.13.1.el5/kernel/sched.c
}

-static void calc_global_nohz(unsigned long ticks)
+static void calc_global_nohz()
+static void calc_global_nohz(void)
{
}
#endif
Expand Down

0 comments on commit b060aec

Please sign in to comment.