12f7ab126SMiguel Ojeda# SPDX-License-Identifier: GPL-2.0 22f7ab126SMiguel Ojeda 32f7ab126SMiguel Ojeda--opaque-type xregs_state 42f7ab126SMiguel Ojeda--opaque-type desc_struct 52f7ab126SMiguel Ojeda--opaque-type arch_lbr_state 62f7ab126SMiguel Ojeda--opaque-type local_apic 72f7ab126SMiguel Ojeda 82f7ab126SMiguel Ojeda# Packed type cannot transitively contain a `#[repr(align)]` type. 93098cb65SArnaldo Carvalho de Melo--opaque-type alt_instr 102f7ab126SMiguel Ojeda--opaque-type x86_msi_data 112f7ab126SMiguel Ojeda--opaque-type x86_msi_addr_lo 122f7ab126SMiguel Ojeda 132f7ab126SMiguel Ojeda# `try` is a reserved keyword since Rust 2018; solved in `bindgen` v0.59.2, 142f7ab126SMiguel Ojeda# commit 2aed6b021680 ("context: Escape the try keyword properly"). 152f7ab126SMiguel Ojeda--opaque-type kunit_try_catch 162f7ab126SMiguel Ojeda 172f7ab126SMiguel Ojeda# If SMP is disabled, `arch_spinlock_t` is defined as a ZST which triggers a Rust 182f7ab126SMiguel Ojeda# warning. We don't need to peek into it anyway. 192f7ab126SMiguel Ojeda--opaque-type spinlock 202f7ab126SMiguel Ojeda 212f7ab126SMiguel Ojeda# `seccomp`'s comment gets understood as a doctest 222f7ab126SMiguel Ojeda--no-doc-comments 23bad098d7SMatthew Maurer 24bad098d7SMatthew Maurer# These functions use the `__preserve_most` calling convention, which neither bindgen 25bad098d7SMatthew Maurer# nor Rust currently understand, and which Clang currently declares to be unstable. 26bad098d7SMatthew Maurer--blocklist-function __list_.*_report 27*732cd686SGary Guo 28*732cd686SGary Guo# These constants are sometimes not recognized by bindgen depending on config. 29*732cd686SGary Guo# We use const helpers to aid bindgen, to avoid conflicts when constants are 30*732cd686SGary Guo# recognized, block generation of the non-helper constants. 31*732cd686SGary Guo--blocklist-item ARCH_SLAB_MINALIGN 32