mcctrl: convert perf ctrl ioctls to mcctrl_ihk_send_wait

While we are here, also optimize code a bit: perf_desc does not need
to be allocated for every cpu; and fix coding style.

Change-Id: Iad19fed08205d38594fd3f1b7ddf2b19a9cf0d9d
This commit is contained in:
Dominique Martinet
2018-06-29 10:57:44 +09:00
parent b87c06cbcb
commit ab8fe0bbbf
5 changed files with 135 additions and 149 deletions

View File

@ -251,7 +251,6 @@ enum perf_ctrl_type {
struct perf_ctrl_desc {
enum perf_ctrl_type ctrl_type;
int status;
union {
/* for SET, GET */
struct {