diff options
| author | Joe Perches <[email protected]> | 2014-01-23 15:54:16 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-01-23 16:36:56 -0800 |
| commit | c28aa1f0a847c36daa4280b611e2b54bad75c576 (patch) | |
| tree | 38c36fb3a1a989f95979e5e48e8b1f21fef88bcf /tools/perf/scripts/python/sched-migration.py | |
| parent | 8f073bd0d0bf7c519854a196215a837abbfbdc62 (diff) | |
printk/cache: mark printk_once test variable __read_mostly
Add #include <linux/cache.h> to define __read_mostly.
Convert cache.h to use uapi/linux/kernel.h instead
of linux/kernel.h to avoid recursive #includes.
Convert the ALIGN macro to __ALIGN_KERNEL.
printk_once only sets the bool variable tested
once so mark it __read_mostly.
Neaten the alignment so it matches the rest of the
pr_<level>_once #defines too.
Signed-off-by: Joe Perches <[email protected]>
Reviewed-by: James Hogan <[email protected]>
Cc: Wu Fengguang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions