mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 01:34:00 +08:00
tracing: Add missing forward declaration
Without this forward declaration compile may fail if this header is included only for registering other probe event without struct pool_workqueue. Link: http://lkml.kernel.org/r/20180416023626.139915-1-cwahbong@google.com Reviewed-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: Ahbong Chang <cwahbong@google.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
This commit is contained in:
parent
60cc43fc88
commit
1cdae042fc
@ -25,6 +25,8 @@ DECLARE_EVENT_CLASS(workqueue_work,
|
||||
TP_printk("work struct %p", __entry->work)
|
||||
);
|
||||
|
||||
struct pool_workqueue;
|
||||
|
||||
/**
|
||||
* workqueue_queue_work - called when a work gets queued
|
||||
* @req_cpu: the requested cpu
|
||||
|
Loading…
Reference in New Issue
Block a user