On 18.12.2023 11:04, Oleksii wrote: > On Thu, 2023-12-14 at 15:09 +0100, Jan Beulich wrote: >> On 24.11.2023 11:30, Oleksii Kurochko wrote: >>> Signed-off-by: Oleksii Kurochko <[email protected]> >>> --- >>> Changes in V2: >>> - add ifdef CONFIG_HAS_DEVICE_TREE for things that >>> shouldn't be >>> in case !CONFIG_HAS_DEVICE_TREE >> >> Is there going to be a RISC-V build without this enabled (selected)? >> If >> not, I'd recommend against such pointless #ifdef-ary. > For this stage (Xen RISC-V full build), CONFIG_HAS_DEVICE_TREE will not > be selected, but it will be in the near future.
And from then on it'll always be selected, or only conditionally? In the former case it would still feel odd if #ifdef-s were introduced. Jan
