lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-d31c710a3f3ea69b017002a109a1e2a1750054f5@git.kernel.org>
Date:   Fri, 24 Feb 2017 01:19:38 -0800
From:   tip-bot for Mark Brown <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     broonie@...nel.org, linux-kernel@...r.kernel.org, efault@....de,
        peterz@...radead.org, hpa@...or.com, torvalds@...ux-foundation.org,
        mingo@...nel.org, tglx@...utronix.de
Subject: [tip:sched/urgent] sched/core: Fix build paravirt build on arm and
 arm64

Commit-ID:  d31c710a3f3ea69b017002a109a1e2a1750054f5
Gitweb:     http://git.kernel.org/tip/d31c710a3f3ea69b017002a109a1e2a1750054f5
Author:     Mark Brown <broonie@...nel.org>
AuthorDate: Fri, 17 Feb 2017 11:06:07 +0000
Committer:  Ingo Molnar <mingo@...nel.org>
CommitDate: Fri, 24 Feb 2017 09:30:54 +0100

sched/core: Fix build paravirt build on arm and arm64

Commit:

  004172bdad64432: ("sched/core: Remove unnecessary #include headers")

... in current -next removed the inclusion of asm/paravirt.h which
is used to get declarations of paravirt_steal_rq_enabled and
paravirt_steal_clock.

It is implicitly included on but not on arm and arm64 breaking the build
if paravirtualization is used.  Since things from that header are used
directly fix the build by putting the direct inclusion back.

Signed-off-by: Mark Brown <broonie@...nel.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Mike Galbraith <efault@....de>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Link: http://lkml.kernel.org/r/20170217110607.31264-1-broonie@kernel.org
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
 kernel/sched/core.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index e01bd80..b692d6c 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -23,6 +23,9 @@
 
 #include <asm/switch_to.h>
 #include <asm/tlb.h>
+#ifdef CONFIG_PARAVIRT
+#include <asm/paravirt.h>
+#endif
 
 #include "sched.h"
 #include "../workqueue_internal.h"

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ