alarm: remove direct access to interrupt handle
authorHarman Kalra <hkalra@marvell.com>
Fri, 22 Oct 2021 20:49:32 +0000 (02:19 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 25 Oct 2021 19:20:12 +0000 (21:20 +0200)
commit90b13ab8d4f7dc2564dc9ae30f7b45e47c527e3c
tree8a9894c39f2d89d93771179dbdcb748ba12593be
parentdb86bf263de8462345eaae7a5ab0d1c78c2be06c
alarm: remove direct access to interrupt handle

Removing direct access to interrupt handle structure fields,
rather use respective get set APIs for the same.
Making changes to all the libraries access the interrupt handle fields.

Implementing alarm cleanup routine, where the memory allocated
for interrupt instance can be freed.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Raslan Darawsheh <rasland@nvidia.com>
lib/eal/common/eal_private.h
lib/eal/freebsd/eal.c
lib/eal/freebsd/eal_alarm.c
lib/eal/linux/eal.c
lib/eal/linux/eal_alarm.c