diff options
author | Cao Jin <[email protected]> | 2019-08-28 14:11:00 +0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-08-28 08:38:39 +0200 |
commit | cbb1133b563a63901cf778220eb17e3ff1425aed (patch) | |
tree | bdda67667c1c74c2af1530a581a49f77b98f3769 /lib/test_overflow.c | |
parent | 248d327ed7b6d3ebda2ac7b38482a306108bcd3e (diff) |
x86/cpufeature: Explain the macro duplication
Explain the intent behind the duplication of the
BUILD_BUG_ON_ZERO(NCAPINTS != n)
check in *_MASK_CHECK and its immediate use in the *MASK_BIT_SET macros
too.
[ bp: Massage. ]
Suggested-by: Borislav Petkov <[email protected]>
Signed-off-by: Cao Jin <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jann Horn <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Nadav Amit <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions