#ifndef CPUS_H #define CPUS_H #include static inline int get_number_cpus(void) { return sysconf(_SC_NPROCESSORS_CONF); } static inline int get_number_cpus_online(void) { return sysconf(_SC_NPROCESSORS_ONLN); } #endif /* CPUS_H */ tom feed' href='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-06-21 11:35:36 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-07-07 14:54:50 -0400
commit4b7d97ac835ee96e46538a1fea38021988440301 (patch)
treea09c19d2aa3f786272569723fd6f0e01e51cf85d
parentccd73f24ae301798ffd26949d6fbec289d9fc6a6 (diff)
drm/amdgpu: drop wait_for_mc_idle asic callback
Only used in the gmc IP modules so just call the local function directly. Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>