This patch in addition to "PPC64 atomic function additions" provides udapl support on PPC64 platform.<br>
<br>
/proc/cpuinfo on PPC64 prints different label for processor speed.<br>
<br>
Signed-off-by: Todd Bowman <<a href="mailto:twbowman@gmail.com">twbowman@gmail.com</a>><br>
<br>
Index: userspace/dapl/test/dapltest/mdep/linux/dapl_mdep_user.c<br>
===================================================================<br>
--- userspace/dapl/test/dapltest/mdep/linux/dapl_mdep_user.c (revision 3547)<br>
+++ userspace/dapl/test/dapltest/mdep/linux/dapl_mdep_user.c (working copy)<br>
@@ -186,7 +186,12 @@<br>
void )<br>
{<br>
#define DT_CPU_MHZ_BUFFER_SIZE 128<br>
+<br>
+#if defined (__PPC64__)<br>
+#define DT_CPU_MHZ_MHZ "clock"<br>
+#else<br>
#define
DT_CPU_MHZ_MHZ
"cpu MHz"<br>
+#endif<br>
#define DT_CPU_MHZ_DELIMITER ":"<br>
<br>
FILE *fp;<br>
<br>