diff options
author | Ingo Molnar <[email protected]> | 2024-05-20 10:22:39 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-05-20 10:56:23 +0200 |
commit | 61d73e4f7d538f3907d954a531169e8164aef56b (patch) | |
tree | cb38fc252a60892daa2b27b837860370eaac02fb /lib/netdev-notifier-error-inject.c | |
parent | 47c9dbd2fb5f98453840e18ebced9138ec8b4cc5 (diff) |
x86/percpu: Clean up <asm/percpu.h> a bit
- Fix misc typos
- There's 4 variants of the same spelling right now:
'per-CPU', 'per CPU', 'percpu' and 'per-cpu'
Standardize on 'per-CPU' only.
- s/makes gcc load
/makes the compiler load
- Instead of:
#ifdef CONFIG_XXXX
#define YYYY FOO
#else
#define YYYY BAR
#endif
Use the slightly more readable form of:
#ifdef CONFIG_XXXX
# define YYYY FOO
#else
# define YYYY BAR
#endif
- Standardize & expand '#else' and '#endif' comments
- Fix comment style
- Capitalize x86 instruction names in comments
No change in code.
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Uros Bizjak <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions