Re: [PATCH 1/5] jump_label: factor out the base part of jump_label.h to a separate file
From: Radim Krčmář <hidden>
Date: 2013-08-30 16:39:04
Also in:
lkml
From: Radim Krčmář <hidden>
Date: 2013-08-30 16:39:04
Also in:
lkml
2013-08-25 15:15+0800, Kevin Hao:
We plan to use the jump label in the cpu/mmu feature check on ppc. This will need to include the jump_label.h in several very basic header files of ppc which seems to be included by most of the other head files implicitly or explicitly. But in the current jump_label.h, it also include the "linux/workqueue.h" and this will cause recursive inclusion. In order to fix this, we choose to factor out the base part of jump_label.h to a separate header file and we can include that file instead of jump_label.h to avoid the recursive inclusion. No functional change.
"linux/workqueue.h" was included because of deferred keys and they are split into "linux/jump_label_ratelimit.h" to solve the same problem in paravirt ticket spinlock series. (still in -next: 851cf6e7 jump_label: Split jumplabel ratelimit)