Commit c7ed880c authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by sanglipeng
Browse files

perf build: Define YYNOMEM as YYNOABORT for bison < 3.81

stable inclusion
from stable-v5.10.198
commit ef3c728ca0d4d25776cb0c6c656a3e6e078c1194
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I987V5

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ef3c728ca0d4d25776cb0c6c656a3e6e078c1194



--------------------------------

[ Upstream commit 88cc47e2 ]

YYNOMEM was introduced in bison 3.81, so define it as YYABORT for older
versions, which should provide the previous perf behaviour.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 63637ce3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment