diff options
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/bug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/s390/include/asm/bug.h b/arch/s390/include/asm/bug.h index 9beeb9db9b23..bf90d1fd97a5 100644 --- a/arch/s390/include/asm/bug.h +++ b/arch/s390/include/asm/bug.h | |||
@@ -46,18 +46,18 @@ | |||
46 | unreachable(); \ | 46 | unreachable(); \ |
47 | } while (0) | 47 | } while (0) |
48 | 48 | ||
49 | #define __WARN() do { \ | 49 | #define __WARN_TAINT(taint) do { \ |
50 | __EMIT_BUG(BUGFLAG_WARNING); \ | 50 | __EMIT_BUG(BUGFLAG_TAINT(taint)); \ |
51 | } while (0) | 51 | } while (0) |
52 | 52 | ||
53 | #define WARN_ON(x) ({ \ | 53 | #define WARN_ON(x) ({ \ |
54 | int __ret_warn_on = !!(x); \ | 54 | int __ret_warn_on = !!(x); \ |
55 | if (__builtin_constant_p(__ret_warn_on)) { \ | 55 | if (__builtin_constant_p(__ret_warn_on)) { \ |
56 | if (__ret_warn_on) \ | 56 | if (__ret_warn_on) \ |
57 | __EMIT_BUG(BUGFLAG_WARNING); \ | 57 | __WARN(); \ |
58 | } else { \ | 58 | } else { \ |
59 | if (unlikely(__ret_warn_on)) \ | 59 | if (unlikely(__ret_warn_on)) \ |
60 | __EMIT_BUG(BUGFLAG_WARNING); \ | 60 | __WARN(); \ |
61 | } \ | 61 | } \ |
62 | unlikely(__ret_warn_on); \ | 62 | unlikely(__ret_warn_on); \ |
63 | }) | 63 | }) |