From 347d6f40b8f1340f4a038c15bcce3df71d190c16 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 3f91687e6e5d ("block: don't merge across cgroup boundaries if blkcg is enabled") Commit 3f91687e6e5d ("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. Fixes: 3f91687e6e5d ("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 13b31fb9bcd8..25c9121c7ca8 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 46139c0f510f..052c5a197030 100644 --- a/include/linux/blk-cgroup.h +++ b/include/linux/blk-cgroup.h @@ -22,7 +22,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)