[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 04/16] target/mips: Remove consecutive CONFIG_USER_ONLY ifdefs
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 04/16] target/mips: Remove consecutive CONFIG_USER_ONLY ifdefs |
Date: |
Mon, 14 Dec 2020 19:37:27 +0100 |
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
target/mips/helper.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/target/mips/helper.c b/target/mips/helper.c
index cdd7704789d..0692e232f0a 100644
--- a/target/mips/helper.c
+++ b/target/mips/helper.c
@@ -552,9 +552,7 @@ hwaddr mips_cpu_get_phys_page_debug(CPUState *cs, vaddr
addr)
}
return phys_addr;
}
-#endif /* !CONFIG_USER_ONLY */
-#if !defined(CONFIG_USER_ONLY)
#if !defined(TARGET_MIPS64)
/*
--
2.26.2
- [PATCH v2 00/16] target/mips: Boring code reordering + add "translate.h", Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 01/16] target/mips: Inline cpu_state_reset() in mips_cpu_reset(), Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 02/16] target/mips: Extract FPU helpers to 'fpu_helper.h', Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 03/16] target/mips: Add !CONFIG_USER_ONLY comment after #endif, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 04/16] target/mips: Remove consecutive CONFIG_USER_ONLY ifdefs,
Philippe Mathieu-Daudé <=
- [PATCH v2 05/16] target/mips: Extract common helpers from helper.c to common_helper.c, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 06/16] target/mips: Rename helper.c as tlb_helper.c, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 07/16] target/mips: Fix code style for checkpatch.pl, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 08/16] target/mips: Move mmu_init() functions to tlb_helper.c, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 09/16] target/mips: Rename translate_init.c as cpu-defs.c, Philippe Mathieu-Daudé, 2020/12/14
- [PATCH v2 10/16] target/mips: Replace gen_exception_err(err=0) by gen_exception_end(), Philippe Mathieu-Daudé, 2020/12/14