aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index bc6ed52a39b9..441def77246d 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -506,6 +506,15 @@ extern enum system_states {
506#define TAINT_UNSIGNED_MODULE 13 506#define TAINT_UNSIGNED_MODULE 13
507#define TAINT_SOFTLOCKUP 14 507#define TAINT_SOFTLOCKUP 14
508#define TAINT_LIVEPATCH 15 508#define TAINT_LIVEPATCH 15
509#define TAINT_FLAGS_COUNT 16
510
511struct taint_flag {
512 char true; /* character printed when tainted */
513 char false; /* character printed when not tainted */
514 bool module; /* also show as a per-module taint flag */
515};
516
517extern const struct taint_flag taint_flags[TAINT_FLAGS_COUNT];
509 518
510extern const char hex_asc[]; 519extern const char hex_asc[];
511#define hex_asc_lo(x) hex_asc[((x) & 0x0f)] 520#define hex_asc_lo(x) hex_asc[((x) & 0x0f)]