x86/mm: Make kmap_prot into a #define
authorAndy Lutomirski <luto@kernel.org>
Tue, 19 Jan 2016 21:38:59 +0000 (13:38 -0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 20 Jan 2016 10:39:14 +0000 (11:39 +0100)
commit7c360572b430a0e9757bafc0c20f26c920f2a07f
tree09a56bf4c4b82581657e5309d11a8fca27233376
parent320d25b6a05f8b73c23fc21025d2906ecdd2d4fc
x86/mm: Make kmap_prot into a #define

The value (once we initialize it) is a foregone conclusion.
Make it a #define to save a tiny amount of text and data size
and to make it more comprehensible.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/0850eb0213de9da88544ff7fae72dc6d06d2b441.1453239349.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/fixmap.h
arch/x86/mm/init_32.c
This page took 0.024731 seconds and 5 git commands to generate.