Here is a patch to fix a compilation error when building RBCE as a module.
Applies against 2.6.11-rc5 + patchset CKRM + patchset RBCE posted on
ckrm-tech.

regards,
   Valerie

diff -ruN linux-2.6.11-rc5+ckrm.orig/include/linux/rbce.h 
linux-2.6.11-rc5+ckrm/include/linux/rbce.h
--- linux-2.6.11-rc5+ckrm.orig/include/linux/rbce.h   2005-03-16 
09:25:12.000000000 +0100
+++ linux-2.6.11-rc5+ckrm/include/linux/rbce.h  2005-03-16 10:52:42.000000000 
+0100
@@ -23,7 +23,7 @@
 #define _LINUX_RBCE_H

 struct rbce_class;
-#ifdef CONFIG_CKRM_RBCE
+#if defined(CONFIG_CKRM_RBCE) || defined(CONFIG_CKRM_RBCE_MODULE)

 /****************************************************************************
  *
@@ -55,9 +55,9 @@
 static inline void exit_rbce_ext(void)
 {
 }
-#endif     // CONFIG_CKRM_RBCE
+#endif

-#ifdef CONFIG_CKRM_CRBCE
+#if defined(CONFIG_CKRM_CRBCE) || defined(CONFIG_CKRM_CRBCE_MODULE)

 /***************************************************************************
  *
@@ -75,5 +75,5 @@
      struct task_sample_info sample;
 };

-#endif     // CONFIG_CKRM_CRBCE
+#endif
 #endif     // _LINUX_RBCE_H




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to