56b27c4b36
__ppc_get_timebase() reads and returns the current value of the Time Base Register. It's more efficient as it uses the processor’s time base facility directly. DPDK on FreeBSD currently is not supported on Powerpc64, it should be safe to include the sys/platform/ppc.h. Signed-off-by: Thinh Tran <thinhtr@linux.vnet.ibm.com> Reviewed-by: David Christensen <drc@linux.vnet.ibm.com>