ANDROID: GKI: Fix block/genhd.c exports from having their CRC changed
Commitaa07e56c6a("block: fix blktrace debugfs entries leakage") added a new #include line, which ends up dragging in more structures which changes the CRC abi for all functions exported in bloc/genhd.c Fix this up by only including that file if the CRC checker is not being run at the moment, preserving the CRC properly Bug: 161946584 Fixes:aa07e56c6a("block: fix blktrace debugfs entries leakage") Change-Id: I46aa843c28f36c9ac1d83fc28e80b25ba757ff4c Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
c0e5631df8
commit
bd041b5977
1 changed files with 2 additions and 0 deletions
|
|
@ -25,7 +25,9 @@
|
|||
#include <linux/pm_runtime.h>
|
||||
#include <linux/badblocks.h>
|
||||
#include <linux/part_stat.h>
|
||||
#ifndef __GENKSYMS__
|
||||
#include <linux/blktrace_api.h>
|
||||
#endif
|
||||
|
||||
#include "blk-throttle.h"
|
||||
#include "blk.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue