]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kernel/acpi/boot.c
x86/boot/e820: Prefix the E820_* type names with "E820_TYPE_"
authorIngo Molnar <mingo@kernel.org>
Sat, 28 Jan 2017 16:09:33 +0000 (17:09 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 28 Jan 2017 21:55:22 +0000 (22:55 +0100)
commit09821ff1d50a1ecade182c2a68a90f835e257eef
tree040a51657852db7300a8ebf2acb8a838252ce1bf
parent6afc03b86470f602d118825d09addfeeaef535f0
x86/boot/e820: Prefix the E820_* type names with "E820_TYPE_"

So there's a number of constants that start with "E820" but which
are not types - these create a confusing mixture when seen together
with 'enum e820_type' values:

E820MAP
E820NR
E820_X_MAX
E820MAX

To better differentiate the 'enum e820_type' values prefix them
with E820_TYPE_.

No change in functionality.

Cc: Alex Thorlton <athorlton@sgi.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Huang, Ying <ying.huang@intel.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Jackson <pj@sgi.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Tejun Heo <tj@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wei Yang <richard.weiyang@gmail.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
20 files changed:
arch/x86/boot/compressed/eboot.c
arch/x86/boot/compressed/kaslr.c
arch/x86/include/asm/gart.h
arch/x86/include/uapi/asm/e820/types.h
arch/x86/kernel/acpi/boot.c
arch/x86/kernel/aperture_64.c
arch/x86/kernel/cpu/mtrr/cleanup.c
arch/x86/kernel/crash.c
arch/x86/kernel/e820.c
arch/x86/kernel/early-quirks.c
arch/x86/kernel/kexec-bzimage64.c
arch/x86/kernel/setup.c
arch/x86/kernel/tboot.c
arch/x86/mm/init.c
arch/x86/mm/init_64.c
arch/x86/pci/mmconfig-shared.c
arch/x86/platform/efi/efi.c
arch/x86/platform/efi/quirks.c
arch/x86/xen/setup.c
tools/lguest/lguest.c