mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:20:58 +07:00
[PATCH] cpuset: fix sparse warning
kernel/cpuset.c:644:38: warning: non-ANSI function declaration of function 'cpuset_update_task_memory_state' Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Acked-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
778116920e
commit
fe85a998ca
@ -641,7 +641,7 @@ static void guarantee_online_mems(const struct cpuset *cs, nodemask_t *pmask)
|
||||
* task has been modifying its cpuset.
|
||||
*/
|
||||
|
||||
void cpuset_update_task_memory_state()
|
||||
void cpuset_update_task_memory_state(void)
|
||||
{
|
||||
int my_cpusets_mem_gen;
|
||||
struct task_struct *tsk = current;
|
||||
|
Loading…
Reference in New Issue
Block a user