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)