HomeFreeBSD

systm.h: change pause from #define to inline function

Description

systm.h: change pause from #define to inline function

There are drivers are using (*pause)(x, y) function pointers and depending
on how "pause" is used it gets replaced by pause_sbt causing compile time
failures.
Given "pause" is a generic enough name change it from a #define to an
inline function to avoid replacements where it should not.

MFC after: 2 weeks
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D36489

Details

Provenance
bzAuthored on Sep 8 2022, 12:04 AM
Reviewer
kib
Differential Revision
D36489: systm.h: change pause from #define to inline function
Parents
rG6665c7a62839: TMP461: Add support for ADT7461 sensor
Branches
Unknown
Tags
Unknown