ANDROID: fix up crc issue for cpuset_cpus_allowed()

In commit 29a8d4e02f ("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: 29a8d4e02f ("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 00364d577d
commit 81c0bf47a8

View File

@@ -21,8 +21,9 @@
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/
#ifndef __GENKSYMS__
#include "cgroup-internal.h"
#endif
#include <linux/cpu.h>
#include <linux/cpumask.h>
#include <linux/cpuset.h>