From: Karolina Drobnik Date: Tue, 11 Jan 2022 10:28:47 +0000 (+0000) Subject: memblock: Remove #ifdef __KERNEL__ from memblock.h X-Git-Tag: baikal/aarch64/sdk6.1~4874^2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=5d14c2f57a7564a7ba361e48e7f1b96e580da5bf;p=kernel.git memblock: Remove #ifdef __KERNEL__ from memblock.h memblock.h is not a uAPI header, so __KERNEL__ guard can be deleted Signed-off-by: Karolina Drobnik Signed-off-by: Mike Rapoport Link: https://lore.kernel.org/r/20220111102847.673746-1-karolinadrobnik@gmail.com --- diff --git a/include/linux/memblock.h b/include/linux/memblock.h index 9dc7cb239d21c..50ad19662a322 100644 --- a/include/linux/memblock.h +++ b/include/linux/memblock.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _LINUX_MEMBLOCK_H #define _LINUX_MEMBLOCK_H -#ifdef __KERNEL__ /* * Logical memory blocks. @@ -605,6 +604,5 @@ static inline void early_memtest(phys_addr_t start, phys_addr_t end) } #endif -#endif /* __KERNEL__ */ #endif /* _LINUX_MEMBLOCK_H */