From: Peter Zijlstra Date: Wed, 9 Nov 2011 16:56:37 +0000 (+0100) Subject: perf: Don't use -ENOSPC for out of PMU resources X-Git-Tag: v3.2-rc5~42^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa2bc1ade59003a379ffc485d6da2d92ea3370a6;p=pandora-kernel.git perf: Don't use -ENOSPC for out of PMU resources People (Linus) objected to using -ENOSPC to signal not having enough resources on the PMU to satisfy the request. Use -EINVAL. Requested-by: Linus Torvalds Cc: Stephane Eranian Cc: Will Deacon Cc: Deng-Cheng Zhu Cc: David Daney Cc: Ralf Baechle Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-xv8geaz2zpbjhlx0svmpp28n@git.kernel.org [ merged to newer kernel, fixed up MIPS impact ] Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed