X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Flinux%2Fcpufreq.h;h=17866d7e2b71ad08e12fc9340d5b77448032da48;hb=83933af4720b282f6f6a0b6c05a2a47b4cf08819;hp=c31650df92412de9c6514e81bc5955e8f8a02dcb;hpb=3fc54d37ab64733448faf0185e19a80f070eb9e3;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index c31650d..17866d7 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -14,6 +14,7 @@ #ifndef _LINUX_CPUFREQ_H #define _LINUX_CPUFREQ_H +#include #include #include #include @@ -82,7 +83,7 @@ struct cpufreq_policy { unsigned int policy; /* see above */ struct cpufreq_governor *governor; /* see below */ - struct semaphore lock; /* CPU ->setpolicy or ->target may + struct mutex lock; /* CPU ->setpolicy or ->target may only be called once a time */ struct work_struct update; /* if update_policy() needs to be