ANDROID: fix up crc issue for cpuset_cpus_allowed()

In commit 688325078a ("cgroup/cpuset: Prevent UAF in
proc_cpuset_show()"), a new .h file is added to kernel/cgroup/cpuset.c
which ends up changing the CRC for cpuset_cpus_allowed().  Fix this up
by only including it in the real build, not when generating the looney
crc values.

Fixes: 688325078a ("cgroup/cpuset: Prevent UAF in proc_cpuset_show()")
Change-Id: I151a87d3bae9f2319d1a965a4bf715cffead702e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2024-09-12 06:20:12 +00:00
parent 4951c68022
commit 52c4910c65

View File

@ -22,7 +22,9 @@
* distribution for more details.
*/
#ifndef __GENKSYMS__
#include "cgroup-internal.h"
#endif
#include <linux/cpu.h>
#include <linux/cpumask.h>
#include <linux/cpuset.h>