]> xenbits.xensource.com Git - people/gdunlap/xen.git/commit
do_xen_version() cleanup
authorJan Beulich <jbeulich@suse.com>
Fri, 6 Mar 2015 15:54:53 +0000 (16:54 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 6 Mar 2015 15:54:53 +0000 (16:54 +0100)
commita68d1b65bb1bbb9b8db2d82695d32ac09c52a2d7
tree3b063f0589bb434d254a4242f43efc17a2645dae
parentf919dbc0583797d1c5c09da815518084ce77eb81
do_xen_version() cleanup

- use exisiting latched value of current->domain where available
- use __copy_to_guest() instead of copy_to_guest() where possible
- drop redundant inclusion of xen/config.h
- drop pointless braces
- consistenly use typedef names
- formatting

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/kernel.c