All the asm/paravirt.h headers (x86, ia64, arm, arm64) are properly ifdef'ed CONFIG_PARAVIRT inside so they can be safely included.
Signed-off-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com> CC: mi...@redhat.com CC: pet...@infradead.org --- kernel/sched/core.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 58453b8..cd339c5 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -78,9 +78,7 @@ #include <asm/tlb.h> #include <asm/irq_regs.h> #include <asm/mutex.h> -#ifdef CONFIG_PARAVIRT #include <asm/paravirt.h> -#endif #include "sched.h" #include "../workqueue_internal.h" -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/