partrt: New test case, bug fix, skipped newline in calls to info(), debug() and fail()

cpumask_list() has now a new test case to test for a bug that happens when
called with a cpu containing the last available cpu. The test case was
verified to detect the bug, the bug was then fixed and the test case was
verified to pass after this.

Newline should no longer be given in calls to info(), debug() and fail(). This
will make it behave the same as for calls to tracef(), which does not expect
newlines.

Signed-off-by: Mats Liljegren <mats.liljegren@enea.com>
partrt: Implemented cpumask_cpu_count() and cpumask_alloc_from_u32_list()

Signed-off-by: Mats Liljegren <mats.liljegren@enea.com>
partrt: Removed obsolete config.h from build files

Signed-off-by: Mats Liljegren <mats.liljegren@enea.com>
partrt: Create partrt_file.c plus some bug fixes

Generic file operations are split into partrt_file.c.

Fixed bug with non-NUL terminated strings from file_fd_to_path_alloc().
Fixed bug that only value was logged, not the file name.

Signed-off-by: Mats Liljegren <mats.liljegren@enea.com>
partrt: Added partrt_file.c as a versioned file

Signed-off-by: Mats Liljegren <mats.liljegren@enea.com>
partrt: create can now read numa CPU mask

Signed-off-by: Mats Liljegren <mats.liljegren@enea.com>
partrt: Implemented undo sub-function

Signed-off-by: Mats Liljegren <mats.liljegren@enea.com>