commit | b3cbceb36bd413ce11ba2132418b3b35a085a1c5 | [log] [tgz] |
---|---|---|
author | Jes Sorensen <Jes.Sorensen@redhat.com> | Tue May 05 18:36:32 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 08 15:26:04 2015 +0200 |
tree | dd604fd6d6a6cf5eb2a1cf4f9025300d2e6a5ec5 | |
parent | 81c7492db05ec452599907ce69e42071e0c5ec03 [diff] |
staging: unisys: memregion: Embed memregion in struct channel This changes the API for visor_memregion_create() to require a pre-allocated struct memregion. Embedding this in struct channel avoids a layer of additional kmalloc()'s and error checks. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>