[Crash-utility] [PATCHv2 02/11] New convenience function: get_cpumask_buf
Petr Tesarik
ptesarik at suse.cz
Mon Oct 21 19:46:47 UTC 2013
Make a convenience function for allocating a cpumask buffer and
put it into tools.c. Since any caller of make_cpumask() needs
such a buffer, it is better to isolate the code in a function
rather than copy it all over the place.
Signed-off-by: Petr Tesarik <ptesarik at suse.cz>
---
defs.h | 1 +
kernel.c | 5 +----
tools.c | 13 +++++++++++++
3 files changed, 15 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: get_cpumask_buf.patch
Type: text/x-patch
Size: 1885 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20131021/22536184/attachment.bin>
More information about the Crash-utility
mailing list