After refactoring the power library, power management operations are now consistently supported regardless of the operating environment, making function pointer checks unnecessary and thus removed from applications. Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com> --- app/test/test_power.c | 95 ----------------------------------- app/test/test_power_cpufreq.c | 52 ------------------- app/test/test_power_kvm_vm.c | 36 ------------- 3 files changed, 183 deletions(-)
Hi Sivaprasad,
Nice work on the patch-set.
There's just four function pointer checks remaining that my
compiler is complaining about. They are in
examples/l3fwd-power/main.c (lines 443, 452, 1350, 1353). It would
be nice to have these removed as well, seeing as the functions are
now inlines and don't need these checks.
I'm running the patch set through some tests here, will keep you posted on progress.
Rgds,
Dave.