Re: [PATCH v16] high_freq_hwp_cap_cppc.c: new test for testing acpi_cppc/highest_perf

Cyril Hrubis <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
Hi!
> Oh, I was under impression that the whole test should be ifdefed. After
> all, there's just no possibility it will ever run on another
> architecture.

If we do that the tst_test structure with the real metadata will be
hidden inside these ifdefs as well (along with the supported
architectures field) so the better way to do this is to ifdef only what
needs to be ifdefed. We could as well ifdef out all the
setup/cleanup/run functions and define dummy functions for non-x86
targets however in this case it was easier just to ifdef the cpuid code.

-- 
Cyril Hrubis
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.