itmt.c (ecb41832bd2a7a3f8ac93527cec5e51e3827daed) | itmt.c (eec4844fae7c033a0c1fc1eb3b8517aeb8b6cc49) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * itmt.c: Support Intel Turbo Boost Max Technology 3.0 4 * 5 * (C) Copyright 2016 Intel Corporation 6 * Author: Tim Chen <tim.c.chen@linux.intel.com> 7 * 8 * On platforms supporting Intel Turbo Boost Max Technology 3.0, (ITMT), --- 51 unchanged lines hidden (view full) --- 60 rebuild_sched_domains(); 61 } 62 63 mutex_unlock(&itmt_update_mutex); 64 65 return ret; 66} 67 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * itmt.c: Support Intel Turbo Boost Max Technology 3.0 4 * 5 * (C) Copyright 2016 Intel Corporation 6 * Author: Tim Chen <tim.c.chen@linux.intel.com> 7 * 8 * On platforms supporting Intel Turbo Boost Max Technology 3.0, (ITMT), --- 51 unchanged lines hidden (view full) --- 60 rebuild_sched_domains(); 61 } 62 63 mutex_unlock(&itmt_update_mutex); 64 65 return ret; 66} 67 |
68static unsigned int zero; 69static unsigned int one = 1; | |
70static struct ctl_table itmt_kern_table[] = { 71 { 72 .procname = "sched_itmt_enabled", 73 .data = &sysctl_sched_itmt_enabled, 74 .maxlen = sizeof(unsigned int), 75 .mode = 0644, 76 .proc_handler = sched_itmt_update_handler, | 68static struct ctl_table itmt_kern_table[] = { 69 { 70 .procname = "sched_itmt_enabled", 71 .data = &sysctl_sched_itmt_enabled, 72 .maxlen = sizeof(unsigned int), 73 .mode = 0644, 74 .proc_handler = sched_itmt_update_handler, |
77 .extra1 = &zero, 78 .extra2 = &one, | 75 .extra1 = SYSCTL_ZERO, 76 .extra2 = SYSCTL_ONE, |
79 }, 80 {} 81}; 82 83static struct ctl_table itmt_root_table[] = { 84 { 85 .procname = "kernel", 86 .mode = 0555, --- 122 unchanged lines hidden --- | 77 }, 78 {} 79}; 80 81static struct ctl_table itmt_root_table[] = { 82 { 83 .procname = "kernel", 84 .mode = 0555, --- 122 unchanged lines hidden --- |