summaryrefslogtreecommitdiff
path: root/sysctl.h
blob: 332380b102dd7dc976097e76bf059b332f8febb2 (plain)
1
2
3
4
5
6
7
8
9
#ifndef SYSCTL_H
#define SYSCTL_H

#define SYSCTL_PROC_PATH "/proc/sys/"

int sysctl_set_int(const char *file, int value);
int sysctl_get_int(const char *file, int *value);

#endif
td class='label'>mode:
authorGrazvydas Ignotas <notasas@gmail.com>2016-10-23 21:31:45 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-10-24 17:00:51 -0400
commit2d7c17be00e0dce3bc1a092a2c277a9f86c69ca9 (patch)
tree8eda2105b6427bb3b718a210b6b3ae9288cb3245
parenta053fb7e512c77f0742bceb578b10025256e1911 (diff)
drm/amdgpu: fix a vm_flush fence leak
Looks like .last_flush reference is left at teardown. Leak reported by CONFIG_SLUB_DEBUG. Fixes: 41d9eb2c5a2a ("drm/amdgpu: add a fence after the VM flush") Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat