From 168c90690e55b73f8e13535cd69e42c01c2fda2e Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Fri, 8 Feb 2002 01:43:16 -0800 Subject: [PATCH] handle out of spec SMP athlons. Newer Athlons have means of checking if they are SMP capable or not. This code adds checks that printk a warning on systems not intended for SMP, and set the taint flag that modutils is already aware of. The taint code is also improved to use defines instead of magic numbers. --- include/linux/kernel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/linux/kernel.h') diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 8749f6f0c302..2204760615d8 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -91,6 +91,9 @@ extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in extern int tainted; extern const char *print_tainted(void); +#define TAINT_PROPRIETORY_MODULE (1<<0) +#define TAINT_FORCED_MODULE (1<<1) +#define TAINT_UNSAFE_SMP (1<<2) #if DEBUG #define pr_debug(fmt,arg...) \ -- cgit v1.2.3