On Thursday, September 12, 2019 11:43:40 AM CEST Abhishek wrote:
Hi Shuah,...
Thanks for the review. Few comments below.
Since these two options are not being used by any other architectureNo, I expected you to add something meaningful for Power case...
except x86, I suggest these options should not even be shown for
other architecture. So we can do something like this in cpupower.c :
static struct cmd_struct commands[] = {
.............
+#if defined (__x86_64__) || defined (__i386__)
{ "set", cmd_set, 1 },
{ "info", cmd_info, 0 },
+#endif
..............
Is this Okay?
Just kidding. If this works without any side-effects in not x86 case, this
approach seem to be the best solution for now.
Thanks.
Thomas