diff mbox

[04/12] Fix build without CONFIG_MMU_NOTIFIER

Message ID 20091019105924.3988.95640.stgit@mchn012c.ww002.siemens.net (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka Oct. 19, 2009, 10:59 a.m. UTC
None
diff mbox

Patch

diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h
index 8f56f11..fd3aab7 100644
--- a/external-module-compat-comm.h
+++ b/external-module-compat-comm.h
@@ -1004,3 +1004,9 @@  static inline unsigned int cpufreq_get(unsigned int cpu)
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
 int schedule_hrtimeout(ktime_t *expires, const enum hrtimer_mode mode);
 #endif
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
+#ifndef CONFIG_MMU_NOTIFIER
+struct mmu_notifier {};
+#endif
+#endif