mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] cpuset export symbols gpl
@ 2005-11-16  1:22 Paul Jackson
  2005-11-16  1:39 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Jackson @ 2005-11-16  1:22 UTC (permalink / raw)
  To: akpm, linux-kernel; +Cc: Simon Derr, Jack Steiner, Paul Jackson

Export the more useful cpuset routines for use by gpl modules.

Signed-off-by: Paul Jackson <pj@sgi.com>

---

 kernel/cpuset.c |    5 +++++
 1 files changed, 5 insertions(+)

--- 2.6.14-mm2.orig/kernel/cpuset.c	2005-11-15 16:05:12.717155260 -0800
+++ 2.6.14-mm2/kernel/cpuset.c	2005-11-15 16:14:25.425450732 -0800
@@ -1945,6 +1945,7 @@ cpumask_t cpuset_cpus_allowed(const stru
 
 	return mask;
 }
+EXPORT_SYMBOL_GPL(cpuset_cpus_allowed);
 
 void cpuset_init_current_mems_allowed(void)
 {
@@ -1980,6 +1981,7 @@ done:
 	if (need_to_refresh)
 		refresh_mems();
 }
+EXPORT_SYMBOL_GPL(cpuset_update_current_mems_allowed);
 
 /**
  * cpuset_zonelist_valid_mems_allowed - check zonelist vs. curremt mems_allowed
@@ -1999,6 +2001,7 @@ int cpuset_zonelist_valid_mems_allowed(s
 	}
 	return 0;
 }
+EXPORT_SYMBOL_GPL(cpuset_zonelist_valid_mems_allowed);
 
 /*
  * nearest_exclusive_ancestor() - Returns the nearest mem_exclusive
@@ -2079,6 +2082,7 @@ int cpuset_zone_allowed(struct zone *z, 
 	up(&callback_sem);
 	return allowed;
 }
+EXPORT_SYMBOL_GPL(cpuset_zone_allowed);
 
 /**
  * cpuset_excl_nodes_overlap - Do we overlap @p's mem_exclusive ancestors?
@@ -2121,6 +2125,7 @@ done:
 
 	return overlap;
 }
+EXPORT_SYMBOL_GPL(cpuset_excl_nodes_overlap);
 
 /*
  * Collection of memory_pressure is suppressed unless

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj@sgi.com> 1.650.933.1373

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

end of thread, other threads:[~2005-11-17  1:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-16  1:22 [PATCH] cpuset export symbols gpl Paul Jackson
2005-11-16  1:39 ` Andrew Morton
2005-11-16  2:03   ` Paul Jackson
2005-11-16  8:16     ` Christoph Hellwig
2005-11-16 14:33       ` Robin Holt
2005-11-17  1:04       ` Paul Jackson

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

Powered by JetHome