]> git.baikalelectronics.ru Git - kernel.git/commit
percpu_ref: Replace kernel.h with the necessary inclusions
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 9 Dec 2021 12:30:33 +0000 (14:30 +0200)
committerDennis Zhou <dennis@kernel.org>
Thu, 9 Dec 2021 20:41:09 +0000 (15:41 -0500)
commita4f1192cb53758a7210ed5a9ee695aeba22f75fb
tree3a30292f6a8a371c4bb552a011e40871506704c9
parent3583521aabac76e58675297cead02f9ecac518b6
percpu_ref: Replace kernel.h with the necessary inclusions

When kernel.h is used in the headers it adds a lot into dependency hell,
especially when there are circular dependencies are involved.

Replace kernel.h inclusion with the list of what is really being used.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
include/linux/percpu-refcount.h