[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180524151013.GA175207@sofia>
Date: Thu, 24 May 2018 23:10:14 +0800
From: "Liu, Changcheng" <changcheng.liu@...el.com>
To: jiangshanlai@...il.com, tj@...nel.org
Cc: linux-kernel@...r.kernel.org
Subject: define struct workqueue_struct in C file
Hi all,
I have one confusion about workqueue_struct:
1) Why struct workqueue_struct is defined in C file instead of
header file?
I'm trying to print "workqueue_struct:name" field in one external
build module. "workqueue_struct:name" can't be accessed directly.
2) struct work_struct is defined in "workqueue.h", could struct
workqueue_struct also be defined in it?
--Thanks
Changcheng
Powered by blists - more mailing lists