summaryrefslogtreecommitdiff
path: root/kexec/arch/i386/x86-linux-setup.c
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2007-05-09 18:56:09 +0900
committerSimon Horman <horms@verge.net.au>2007-05-10 10:28:39 +0900
commitf7129ad11f75ef27416784c39c29b0e8906d8844 (patch)
tree3cc6c6f862bf40281ebd3d415ed168538e3b9e5b /kexec/arch/i386/x86-linux-setup.c
parentc58ed3b1b4f538bbd784ee3087e4d5e467637fcf (diff)
Handle maloc() failure in xen_get_nr_phys_cpus()
Currently xen_get_nr_phys_cpus() doesn't write to xen_phys_notes if allocation fails, but it doesn't return an error either, leaving xen_phys_notes wide open to be accessed by other functions later. Acked-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/i386/x86-linux-setup.c')
0 files changed, 0 insertions, 0 deletions