From 0038e1f40c41f628d6b9e95b6f4e68c0d62c8b92 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 19 Apr 2022 15:27:31 +0200 Subject: [PATCH] ANDROID: GKI: fix crc issue with commit ce1927b8cfed ("block: don't merge across cgroup boundaries if blkcg is enabled") Commit ce1927b8cfed ("block: don't merge across cgroup boundaries if blkcg is enabled") added some new #include lines, which messes with the crc signatures of over 1400 different functions. Fix this up by marking this off with a __GENKSYMS__ entry. The abi has not changed, only the crc generation, and this change preserves it. Bug: 161946584 Fixes: ce1927b8cfed ("block: don't merge across cgroup boundaries if blkcg is enabled") Signed-off-by: Greg Kroah-Hartman Change-Id: Id4e79ea9f4edbf41b0ada4df964490ab336dd8f4 --- block/blk-merge.c | 2 ++ include/linux/blk-cgroup.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/block/blk-merge.c b/block/blk-merge.c index 006b1f0a59bc..087e422a65a8 100644 --- a/block/blk-merge.c +++ b/block/blk-merge.c @@ -7,7 +7,9 @@ #include #include #include +#ifndef __GENKSYMS__ #include +#endif #include diff --git a/include/linux/blk-cgroup.h b/include/linux/blk-cgroup.h index 0e6e84db06f6..7c86f5c73a4c 100644 --- a/include/linux/blk-cgroup.h +++ b/include/linux/blk-cgroup.h @@ -24,7 +24,9 @@ #include #include #include +#ifndef __GENKSYMS__ #include +#endif /* percpu_counter batch for blkg_[rw]stats, per-cpu drift doesn't matter */ #define BLKG_STAT_CPU_BATCH (INT_MAX / 2)