projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'cpumask-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git]
/
tools
/
perf
/
Makefile
diff --git
a/tools/perf/Makefile
b/tools/perf/Makefile
index d5020aeb5626495e160ffaa11e7f13aa91d58f4d..c699dc35eef9cbd1bc96427f453acc23a2e9c103 100644
(file)
--- a/
tools/perf/Makefile
+++ b/
tools/perf/Makefile
@@
-24,7
+24,7
@@
unexport MAKEFLAGS
# (To override it, run 'make JOBS=1' and similar.)
#
ifeq ($(JOBS),)
- JOBS := $(shell
grep -c ^processor
/proc/cpuinfo 2>/dev/null)
+ JOBS := $(shell
egrep -c '^processor|^CPU'
/proc/cpuinfo 2>/dev/null)
ifeq ($(JOBS),0)
JOBS := 1
endif