OSDN Git Service

ocxl: move event_fd handling to frontend
authorAlastair D'Silva <alastair@d-silva.org>
Wed, 27 Mar 2019 05:31:35 +0000 (16:31 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 16:55:02 +0000 (02:55 +1000)
commit060146614643ddc5978c73ffac0329762b4651c9
treefadce4dba8407fb471b947eb85223f3f000fb4de
parent2ec3b7ed2ab8e07fdb5f800ff420e94dec75435f
ocxl: move event_fd handling to frontend

Event_fd is only used in the driver frontend, so it does not
need to exist in the backend code. Relocate it to the frontend
and provide an opaque mechanism for consumers instead.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/ocxl/afu_irq.c
drivers/misc/ocxl/file.c
drivers/misc/ocxl/ocxl_internal.h
include/misc/ocxl.h