forked from luck/tmp_suning_uos_patched
xen: drivers/xen/balloon.c: make a function static
Make the needlessly global balloon_set_new_target() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
38bb5ab417
commit
955d6f1778
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user