[dpdk-dev] [PATCH 6/7] Move EAL common functions

2015-01-05 Thread Thomas Monjalon
2014-12-25 10:33, Ravi Kerur: > +#ifdef RTE_EXEC_ENV_BSDAPP > + if (set_tsc_freq_from_sysctl() < 0) > +#else /* RTE_EXEC_ENV_BSDAPP */ > + if (set_tsc_freq_from_clock() < 0) > +#endif /* RTE_EXEC_ENV_BSDAPP */ In case there is only 1 line in ifdef, it's clearer to not comment #else and #en

[dpdk-dev] [PATCH 6/7] Move EAL common functions

2014-12-25 Thread Ravi Kerur
Move common functions in eal_timer.c to librte_eal/common directory. Use RTE_EXEC_ENV_BSDAPP to differentiate minor differences in common functions. Makefile changes to reflect new file. Fix checkpatch warnings and errors. Signed-off-by: Ravi Kerur --- lib/librte_eal/bsdapp/eal/Makefile |