Go to the documentation of this file.
27 #include <linux/sched.h>
29 #include <linux/module.h>
30 #include <linux/ptrace.h>
40 #define get_current_vpe() \
41 ((read_c0_tcbind() >> TCBIND_CURVPE_SHIFT) & TCBIND_CURVPE)
44 static int tim_installed;
49 unsigned long cpu_rate = 0;
54 if (endp !=
NULL && *endp != 0) {
56 "Clock rate in Hz parse error: %s\n", s);
64 if (endp !=
NULL && *endp != 0) {
66 "Clock rate in MHz parse error: %s\n", s);
72 #if defined(CONFIG_PMC_MSP7120_EVAL) \
73 || defined(CONFIG_PMC_MSP7120_GW)
75 #elif defined(CONFIG_PMC_MSP7120_FPGA)
81 "Failed to determine CPU clock rate, "
82 "assuming %ld hz ...\n", cpu_rate);