summaryrefslogtreecommitdiffstats
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorJoe Perches2014-01-24 00:54:16 +0100
committerLinus Torvalds2014-01-24 01:36:56 +0100
commitc28aa1f0a847c36daa4280b611e2b54bad75c576 (patch)
tree38c36fb3a1a989f95979e5e48e8b1f21fef88bcf /lib/vsprintf.c
parentdynamic-debug-howto.txt: update since new wildcard support (diff)
downloadkernel-qcow2-linux-c28aa1f0a847c36daa4280b611e2b54bad75c576.tar.gz
kernel-qcow2-linux-c28aa1f0a847c36daa4280b611e2b54bad75c576.tar.xz
kernel-qcow2-linux-c28aa1f0a847c36daa4280b611e2b54bad75c576.zip
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 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions