diff mbox

[v4:,2/4] Kill the confusing tsc_ref_khz and ref_freq variables.

Message ID 4ACFA5B3.502@web.de (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka Oct. 9, 2009, 9:05 p.m. UTC
None
diff mbox

Patch

diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h
index 47fdc86..de8ab23 100644
--- a/external-module-compat-comm.h
+++ b/external-module-compat-comm.h
@@ -993,3 +993,10 @@  unsigned long kvm_vma_kernel_pagesize(struct vm_area_struct *vma)
 	}					\
 })
 #endif
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33) && !defined(CONFIG_CPU_FREQ)
+static inline unsigned int cpufreq_get(unsigned int cpu)
+{
+	return 0;
+}
+#endif