OSDN Git Service

NFSv2: Fix eof handling
[android-x86/kernel.git] / scripts / kallsyms.c
index 1f22a18..2c8b8c6 100644 (file)
@@ -161,6 +161,9 @@ static int read_symbol(FILE *in, struct sym_entry *s)
        /* exclude debugging symbols */
        else if (stype == 'N')
                return -1;
+       /* exclude s390 kasan local symbols */
+       else if (!strncmp(sym, ".LASANPC", 8))
+               return -1;
 
        /* include the type field in the symbol name, so that it gets
         * compressed together */