mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] drivers/xen/balloon.c: make a function static
@ 2008-04-28 15:39 Adrian Bunk
  2008-04-28 18:03 ` Chris Wright
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-04-28 15:39 UTC (permalink / raw)
  To: Jeremy Fitzhardinge, chrisw; +Cc: xen-devel, linux-kernel, Andrew Morton

This patch makes the needlessly global balloon_set_new_target() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
58bea00a0c55ed7e3252bc5f13e8c755f4bc9fe4 diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c
index ab25ba6..d109639 100644
--- a/drivers/xen/balloon.c
+++ b/drivers/xen/balloon.c
@@ -368,7 +368,7 @@ static void balloon_process(struct work_struct *work)
 }
 
 /* Resets the Xen limit, sets new target, and kicks off processing. */
-void balloon_set_new_target(unsigned long target)
+static void balloon_set_new_target(unsigned long target)
 {
 	/* No need for lock. Not read-modify-write updates. */
 	balloon_stats.hard_limit   = ~0UL;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] drivers/xen/balloon.c: make a function static
  2008-04-28 15:39 [2.6 patch] drivers/xen/balloon.c: make a function static Adrian Bunk
@ 2008-04-28 18:03 ` Chris Wright
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Wright @ 2008-04-28 18:03 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Jeremy Fitzhardinge, chrisw, xen-devel, linux-kernel, Andrew Morton

* Adrian Bunk (bunk@kernel.org) wrote:
> This patch makes the needlessly global balloon_set_new_target() static.

Right, this is fine.  Cruft left from merge.

> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Acked-by: Chris Wright <chrisw@sous-sol.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-28 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-28 15:39 [2.6 patch] drivers/xen/balloon.c: make a function static Adrian Bunk
2008-04-28 18:03 ` Chris Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®