diff options
| author | Daniel Rosenberg <drosen@google.com> | 2015-01-13 16:38:10 -0800 |
|---|---|---|
| committer | Daniel Rosenberg <drosen@google.com> | 2015-08-05 15:05:08 -0700 |
| commit | 2667cec9c0de6f5447f7d6a4bc4db910d0af316c (patch) | |
| tree | fc4a705ac691b11791f659d4c65f6c290fdd5b32 /net/unix/af_unix.c | |
| parent | bb2c495ed17eb0be3c20884bbf9172e7fd2a64ee (diff) | |
cpufreq: stats: hold reference on global cpufreq
As in f8ad216f37e6a7b07d5f6982a25c426c72f661f6,
cpufreq stat must grab a reference to the global
cpufreq kobject in order to use it. Otherwise,
the kobj->sd will be NULL, and trigger a BUG in
sysfs_create_file.
Change-Id: If7d1c13c6ebb1678e1cd33d46eba04a41a0a796d
Signed-off-by: Daniel Rosenberg <drosen@google.com>
(cherry picked from commit d7fce6f5f9490e25e0afa77f7d8b0796e719711f)
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
