ANDROID: fix crc of cpuset_cpus_allowed()

In commit 96226fbed5 ("cgroup/cpuset: Prevent UAF in
proc_cpuset_show()"), a new .h file is added to cpuset.c, which messes
with the crc generation of cpuset_cpus_allowed(), so only include that
when NOT generating the crcs.

Fixes: 96226fbed5 ("cgroup/cpuset: Prevent UAF in proc_cpuset_show()")
Change-Id: I9764d5bf86b0afa53dabc76eae07b0b4f2dae799
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2024-08-12 16:08:56 +00:00
parent 0559754407
commit e84a7dc5be

View File

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