diff options
author | Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> | 2013-02-14 01:07:35 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-02-14 11:36:18 +0100 |
commit | 6b59e366e074d3962e04f01efb8acc10a33c0e1e (patch) | |
tree | 0cc0f5de6582ee866c249deed2afd8fa6dee1407 /kernel/rwsem.c | |
parent | efivarfs: guid part of filenames are case-insensitive (diff) | |
download | linux-6b59e366e074d3962e04f01efb8acc10a33c0e1e.tar.xz linux-6b59e366e074d3962e04f01efb8acc10a33c0e1e.zip |
x86, efi: remove duplicate code in setup_arch() by using, efi_is_native()
The check, "IS_ENABLED(CONFIG_X86_64) != efi_enabled(EFI_64BIT)",
in setup_arch() can be replaced by efi_is_enabled(). This change
remove duplicate code and improve readability.
Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Olof Johansson <olof@lixom.net>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'kernel/rwsem.c')
0 files changed, 0 insertions, 0 deletions