diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-09-24 17:46:44 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-10 18:31:05 -0400 |
commit | 061b1bd394ca8628b7c24eb4658ba3535da4249a (patch) | |
tree | 5711de7ffa17f0f5d0084292707872d19e9b19ff /include/linux/kernel.h | |
parent | b922df7383749a1c0b7ea64c50fa839263d3816b (diff) |
Staging: add TAINT_CRAP for all drivers/staging code
We need to add a flag for all code that is in the drivers/staging/
directory to prevent all other kernel developers from worrying about
issues here, and to notify users that the drivers might not be as good
as they are normally used to.
Based on code from Andreas Gruenbacher and Jeff Mahoney to provide a
TAINT flag for the support level of a kernel module in the Novell
enterprise kernel release.
This is the kernel portion of this feature, the ability for the flag to
be set needs to be done in the build process and will happen in a
follow-up patch.
Cc: Andreas Gruenbacher <agruen@suse.de>
Cc: Jeff Mahoney <jeffm@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 2651f805ba6d..b36805cb95fb 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -260,6 +260,7 @@ extern enum system_states { | |||
260 | #define TAINT_DIE (1<<7) | 260 | #define TAINT_DIE (1<<7) |
261 | #define TAINT_OVERRIDDEN_ACPI_TABLE (1<<8) | 261 | #define TAINT_OVERRIDDEN_ACPI_TABLE (1<<8) |
262 | #define TAINT_WARN (1<<9) | 262 | #define TAINT_WARN (1<<9) |
263 | #define TAINT_CRAP (1<<10) | ||
263 | 264 | ||
264 | extern void dump_stack(void) __cold; | 265 | extern void dump_stack(void) __cold; |
265 | 266 | ||