diff options
author | Joe Perches <joe@perches.com> | 2014-01-23 18:54:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 19:36:56 -0500 |
commit | c28aa1f0a847c36daa4280b611e2b54bad75c576 (patch) | |
tree | 38c36fb3a1a989f95979e5e48e8b1f21fef88bcf /arch/ia64 | |
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 <joe@perches.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/processor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/processor.h b/arch/ia64/include/asm/processor.h index 5a84b3a50741..efd1b927ccb7 100644 --- a/arch/ia64/include/asm/processor.h +++ b/arch/ia64/include/asm/processor.h | |||
@@ -71,6 +71,7 @@ | |||
71 | #include <linux/compiler.h> | 71 | #include <linux/compiler.h> |
72 | #include <linux/threads.h> | 72 | #include <linux/threads.h> |
73 | #include <linux/types.h> | 73 | #include <linux/types.h> |
74 | #include <linux/bitops.h> | ||
74 | 75 | ||
75 | #include <asm/fpu.h> | 76 | #include <asm/fpu.h> |
76 | #include <asm/page.h> | 77 | #include <asm/page.h> |