ANDROID: fix up crc problems 6.1.119

In commit 8fad7b004b ("mm: refactor arch_calc_vm_flag_bits() and arm64
MTE handling"), new .h files are included which break the CRC generation
of some symbols.  Fix this up by only including the .h files for when a
real build happens to preserve the ABI.

Fixes: 8fad7b004b ("mm: refactor arch_calc_vm_flag_bits() and arm64 MTE handling")
Change-Id: I1f0990d75a4813c4f2dcb01ead3396cfbc7c452c
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2024-12-12 07:07:36 +00:00
parent b7dd20a030
commit 73b6ba5d32
2 changed files with 4 additions and 0 deletions

View File

@@ -3,8 +3,10 @@
#define __ASM_MMAN_H__
#include <linux/compiler.h>
#ifndef __GENKSYMS__
#include <linux/fs.h>
#include <linux/shmem_fs.h>
#endif
#include <linux/types.h>
#include <uapi/asm/mman.h>

View File

@@ -2,7 +2,9 @@
#ifndef _LINUX_MMAN_H
#define _LINUX_MMAN_H
#ifndef __GENKSYMS__
#include <linux/fs.h>
#endif
#include <linux/mm.h>
#include <linux/percpu_counter.h>