diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-04-18 13:25:33 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-04-18 13:25:33 -0700 |
| commit | 84aca3ca6a42dade09d05a541c8aaab5ea228087 (patch) | |
| tree | 3bd6a3118abd14f4363980f7dcf35a63b8dcf1e4 /scripts/genksyms/parse.y | |
| parent | Merge tag 'hardening-v6.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| parent | genksyms: Handle typeof_unqual keyword and __seg_{fs,gs} qualifiers (diff) | |
| download | linux-84aca3ca6a42dade09d05a541c8aaab5ea228087.tar.gz linux-84aca3ca6a42dade09d05a541c8aaab5ea228087.zip | |
Merge tag 'core-urgent-2025-04-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull misc core fixes from Ingo Molnar:
"Fix a genksyms related bug, triggered by recent changes to the percpu
code, and update the .clang-format file to not include obsolete
function names"
* tag 'core-urgent-2025-04-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
genksyms: Handle typeof_unqual keyword and __seg_{fs,gs} qualifiers
clang-format: Update the ForEachMacros list for v6.15-rc1
Diffstat (limited to 'scripts/genksyms/parse.y')
| -rw-r--r-- | scripts/genksyms/parse.y | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/genksyms/parse.y b/scripts/genksyms/parse.y index ee600a804fa1..efdcf07c4eb6 100644 --- a/scripts/genksyms/parse.y +++ b/scripts/genksyms/parse.y @@ -91,6 +91,8 @@ static void record_compound(struct string_list **keyw, %token TYPEOF_KEYW %token VA_LIST_KEYW +%token X86_SEG_KEYW + %token EXPORT_SYMBOL_KEYW %token ASM_PHRASE @@ -292,7 +294,8 @@ type_qualifier_seq: ; type_qualifier: - CONST_KEYW | VOLATILE_KEYW + X86_SEG_KEYW + | CONST_KEYW | VOLATILE_KEYW | RESTRICT_KEYW { /* restrict has no effect in prototypes so ignore it */ remove_node($1); |
