diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2025-06-07 10:51:24 +0200 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2025-11-21 11:21:31 +0100 |
| commit | 5c47b7f3d1a9d7589026a201abb8ad445f029246 (patch) | |
| tree | 622fb4743ea482d30284b6554a719081a0d1abc9 /include/asm-generic | |
| parent | 30b82568b04e279d0d99482db036f1bdfecac522 (diff) | |
| download | linux-5c47b7f3d1a9d7589026a201abb8ad445f029246.tar.gz linux-5c47b7f3d1a9d7589026a201abb8ad445f029246.tar.bz2 linux-5c47b7f3d1a9d7589026a201abb8ad445f029246.zip | |
bug: Add BUG_FORMAT_ARGS infrastructure
Add BUG_FORMAT_ARGS; when an architecture is able to provide a va_list
given pt_regs, use this to print format arguments.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251110115757.457339417@infradead.org
Diffstat (limited to 'include/asm-generic')
| -rw-r--r-- | include/asm-generic/bug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h index 9ee622ae0c9a..228873e13b95 100644 --- a/include/asm-generic/bug.h +++ b/include/asm-generic/bug.h @@ -13,6 +13,7 @@ #define BUGFLAG_ONCE (1 << 1) #define BUGFLAG_DONE (1 << 2) #define BUGFLAG_NO_CUT_HERE (1 << 3) /* CUT_HERE already sent */ +#define BUGFLAG_ARGS (1 << 4) #define BUGFLAG_TAINT(taint) ((taint) << 8) #define BUG_GET_TAINT(bug) ((bug)->flags >> 8) #endif |
