]> git.karo-electronics.de Git - linux-beck.git/commit
perf/x86/amd: Try to fix some mem allocation failure handling
authorZhouyi Zhou <zhouzhouyi@gmail.com>
Wed, 11 Jun 2014 04:09:03 +0000 (12:09 +0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 16 Jul 2014 11:31:06 +0000 (13:31 +0200)
commit503d3291a937b726757c1f7c45fa02389d2f4324
tree1bd0ff14d7fb370a250c391e7eb7d99cc374fbb2
parent8b5b584daf3b92fc5cdc83919e64231817d2f5a7
perf/x86/amd: Try to fix some mem allocation failure handling

According to Peter's advice, put the failure handling to a goto chain.
Compiled in x86_64, could you check if there is anything that I missed.

Signed-off-by: Zhouyi Zhou <yizhouzhou@ict.ac.cn>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1402459743-20513-1-git-send-email-zhouzhouyi@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_amd_uncore.c