diff options
-rw-r--r-- | tools/perf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index cb2e5868c8e8..d5020aeb5626 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
@@ -25,7 +25,7 @@ unexport MAKEFLAGS | |||
25 | # | 25 | # |
26 | ifeq ($(JOBS),) | 26 | ifeq ($(JOBS),) |
27 | JOBS := $(shell grep -c ^processor /proc/cpuinfo 2>/dev/null) | 27 | JOBS := $(shell grep -c ^processor /proc/cpuinfo 2>/dev/null) |
28 | ifeq ($(JOBS),) | 28 | ifeq ($(JOBS),0) |
29 | JOBS := 1 | 29 | JOBS := 1 |
30 | endif | 30 | endif |
31 | endif | 31 | endif |