]> git.baikalelectronics.ru Git - kernel.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 12:56:58 +0000 (14:56 +0200)
commit9ebee88a891156fbca33b3642a3c6929f7b3cf63
tree3d306cc4143329d76928b6bd58aa6dfbf0b313bf
parent8e85af2c682e19219044aed99166ab8600275578
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