[PATCH] cpuset export symbols gpl

From: Paul Jackson
Date: Tue Nov 15 2005 - 20:23:42 EST


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

Signed-off-by: Paul Jackson <pj@xxxxxxx>

---

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@xxxxxxx> 1.650.933.1373
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/