mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
memblock: Remove #ifdef __KERNEL__ from memblock.h
memblock.h is not a uAPI header, so __KERNEL__ guard can be deleted -----BEGIN PGP SIGNATURE----- iQFEBAABCAAuFiEEeOVYVaWZL5900a/pOQOGJssO/ZEFAmHhP8cQHHJwcHRAa2Vy bmVsLm9yZwAKCRA5A4Ymyw79kR+RCACdGVBuO/+vZB6Am9qkB7OgUbGGX265+6hN dFal2lRA/+DF3gs8nHS4AcyVcNrO3qnKqiN55N0oDRs4ifuDyTpbgamxmSWYwbRH 6GzoC4ryYE7wq9FihH38IxT3x/sOemwAu9hLyT5pTbtXPIN5oJjo/hd8vLIqxt6s sHwEhqRgwk0JtpKOqJtjPc16kuVYRYkPuPzcKfXiQ2ULuP1GVlzWekdcJmk1C9zB oXEFDQgCznqiyav6P743tU7IMPCKnN5sZ6jgxX3DdAAe8zFCG33zm4kRmuSCyRqO Cqvu5KNA4vfe30TnFCS5zoS5RBcaN0IbmpRTBow36dFm4yC/6M0a =rdzG -----END PGP SIGNATURE----- Merge tag 'memblock-v5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock Pull memblock cleanup from Mike Rapoport: "Remove #ifdef __KERNEL__ from memblock.h memblock.h is not a uAPI header, so __KERNEL__ guard can be deleted" * tag 'memblock-v5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock: memblock: Remove #ifdef __KERNEL__ from memblock.h
This commit is contained in:
commit
2aab34f873
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user