# SPDX-License-Identifier: GPL-2.0
#
# The suppressions file should only match common paths such as header files.
# For individual subsytems use Makefile directive CONTEXT_ANALYSIS := [yn].
#
# The suppressions are ignored when CONFIG_WARN_CONTEXT_ANALYSIS_ALL is
# selected.

[thread-safety]
src:*arch/*/include/*
src:*include/acpi/*
src:*include/asm-generic/*
src:*include/linux/*
src:*include/net/*

# Opt-in headers:
src:*include/linux/bit_spinlock.h=emit
src:*include/linux/cleanup.h=emit
src:*include/linux/kref.h=emit
src:*include/linux/list*.h=emit
src:*include/linux/local_lock*.h=emit
src:*include/linux/lockdep.h=emit
src:*include/linux/mutex*.h=emit
src:*include/linux/rcupdate.h=emit
src:*include/linux/refcount.h=emit
src:*include/linux/rhashtable.h=emit
src:*include/linux/rwlock*.h=emit
src:*include/linux/rwsem.h=emit
src:*include/linux/sched*=emit
src:*include/linux/seqlock*.h=emit
src:*include/linux/spinlock*.h=emit
src:*include/linux/srcu*.h=emit
src:*include/linux/ww_mutex.h=emit
