]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf build: Define YYNOMEM as YYNOABORT for bison < 3.81
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 28 Jul 2023 20:26:54 +0000 (17:26 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 11:18:19 +0000 (13:18 +0200)
commitb1deb155524e2af3f1ed9da3b68ffc1299854e13
tree626cc90f8ef7d40d873773510c73362d84b4885e
parent86e65ffc4d0fe239497b7c214b59629677cec281
perf build: Define YYNOMEM as YYNOABORT for bison < 3.81

[ Upstream commit 88cc47e24597971b05b6e94c28a2fc81d2a8d61a ]

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: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/perf/util/Build