Files
linux/fs
Greg Kroah-Hartman e827d00a70 ANDROID: GKI: hack up fs/sysfs/file.c to prevent GENKSYMS change
In commit cb1f69d53a ("sysfs: Add sysfs_emit and sysfs_emit_at to
format sysfs output") in 4.19.179, a #include <linux/mm.h> addition is
added to the fs/sysfs/file.c file, before sysfs.h is included in the
build.  This ends up causing a previously "UNKNOWN" symbol type
definition of struct vm_operations_struct to become "known" which
propagates to a CRC change for some sysfs symbol definitions.

To prevent all this mess, add a simple #ifndef to prevent the mm.h file
from being included when running the symbol tool, and all is fine.

Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ibcc22bedc4f39d2ef49a52ebd7962a8dba5b0583
2021-03-08 13:17:33 +00:00
..
2020-11-05 11:08:53 +01:00
2019-08-06 19:06:51 +02:00
2020-10-30 10:38:28 +01:00
2018-08-17 16:20:28 -07:00
2020-11-05 11:08:50 +01:00
2020-06-22 09:05:01 +02:00
2020-03-05 16:42:12 +01:00
2021-01-30 13:32:11 +01:00
2020-04-29 17:26:17 +02:00
2020-05-03 08:48:02 +02:00
2020-01-04 19:29:03 +01:00