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-next>] [day] [month] [year] [list]
Message-Id: <1372160780-26172-1-git-send-email-sachin.kamat@linaro.org>
Date:	Tue, 25 Jun 2013 17:16:20 +0530
From:	Sachin Kamat <sachin.kamat@...aro.org>
To:	linux-kernel@...r.kernel.org
Cc:	john.stultz@...aro.org, tglx@...utronix.de,
	sachin.kamat@...aro.org, Jingchang Lu <b35083@...escale.com>,
	Daniel Lezcano <daniel.lezcano@...aro.org>,
	Shawn Guo <shawn.guo@...aro.org>
Subject: [PATCH 1/1] clocksource: vf_pit_timer: Fix build breakage

asm/sched_clock.h does not exist. Use linux/sched_clock.h instead.
Without this patch we get the following build error (introduced by commit
c1967249 ("clocksource: Add Freescale Vybrid pit timer support")):

drivers/clocksource/vf_pit_timer.c:15:29: fatal error: asm/sched_clock.h:
No such file or directory

Signed-off-by: Sachin Kamat <sachin.kamat@...aro.org>
Cc: Jingchang Lu <b35083@...escale.com>
Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: Shawn Guo <shawn.guo@...aro.org>
---
Compile tested only.
---
 drivers/clocksource/vf_pit_timer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/vf_pit_timer.c b/drivers/clocksource/vf_pit_timer.c
index 598399d..587e020 100644
--- a/drivers/clocksource/vf_pit_timer.c
+++ b/drivers/clocksource/vf_pit_timer.c
@@ -12,7 +12,7 @@
 #include <linux/clk.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
-#include <asm/sched_clock.h>
+#include <linux/sched_clock.h>
 
 /*
  * Each pit takes 0x10 Bytes register space
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ