]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Revert "genksyms: Teach parser about 128-bit built-in types"
authorKamal Mostafa <kamal@canonical.com>
Thu, 15 Aug 2019 17:19:00 +0000 (19:19 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 17 Sep 2019 16:02:18 +0000 (18:02 +0200)
BugLink: https://bugs.launchpad.net/bugs/1840321
This reverts commit 00e55d63b41f425b1a67e459064be6fcbce731f5.

This backport from 4.19-stable is not suitable for 4.15.  It breaks
the build if CONFIG_MODVERSIONS is turned on.

Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Connor Kuehl <connor.kuehl@canonical.com>
Acked-by: Sultan Alsawaf <sultan.alsawaf@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
scripts/genksyms/keywords.c
scripts/genksyms/parse.y

index f6956aa41366885d9f2ef370a7090433a6ba81fb..9f40bcd17d07f5bbeb1ab2fa0793d632116ae06e 100644 (file)
@@ -24,10 +24,6 @@ static struct resword {
        { "__volatile__", VOLATILE_KEYW },
        { "__builtin_va_list", VA_LIST_KEYW },
 
-       { "__int128", BUILTIN_INT_KEYW },
-       { "__int128_t", BUILTIN_INT_KEYW },
-       { "__uint128_t", BUILTIN_INT_KEYW },
-
        // According to rth, c99 defines "_Bool", __restrict", __restrict__", "restrict".  KAO
        { "_Bool", BOOL_KEYW },
        { "_restrict", RESTRICT_KEYW },
index 1ebcf52cd0f9e0402624b748d3818c27d40384ee..00a6d7e5497126147dc0d9a564c4a6525fff6079 100644 (file)
@@ -76,7 +76,6 @@ static void record_compound(struct string_list **keyw,
 %token ATTRIBUTE_KEYW
 %token AUTO_KEYW
 %token BOOL_KEYW
-%token BUILTIN_INT_KEYW
 %token CHAR_KEYW
 %token CONST_KEYW
 %token DOUBLE_KEYW
@@ -264,7 +263,6 @@ simple_type_specifier:
        | VOID_KEYW
        | BOOL_KEYW
        | VA_LIST_KEYW
-       | BUILTIN_INT_KEYW
        | TYPE                  { (*$1)->tag = SYM_TYPEDEF; $$ = $1; }
        ;