]> 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)
commit25a49638f48ef5a1c18a036c55682212ddebcf7e
tree3a30292f6a8a371c4bb552a011e40871506704c9
parent926cce7ea22612ccee8b04ad28450de729ecb470
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