]> git.baikalelectronics.ru Git - kernel.git/commit
kselftest/arm64: Allow signal tests to trigger from a function
authorMark Brown <broonie@kernel.org>
Fri, 10 Dec 2021 18:41:01 +0000 (18:41 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 14 Dec 2021 18:35:10 +0000 (18:35 +0000)
commit7bd234b35da88080d6c905f9b6f8417db6275e5d
tree841a742e7c4c89d0a0f93146ddf195fcff2d2d47
parentc0cf770cfdacc4dde4d5e16361b8a9bb9f99f34f
kselftest/arm64: Allow signal tests to trigger from a function

Currently we have the facility to specify custom code to trigger a signal
but none of the tests use it and for some reason the framework requires us
to also specify a signal to send as a trigger in order to make use of a
custom trigger. This doesn't seem to make much sense, instead allow the
use of a custom trigger function without specifying a signal to inject.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211210184133.320748-6-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/signal/test_signals_utils.c