aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/log2.h
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2021-12-19 10:42:42 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2022-01-10 19:49:38 +0000
commit307f78f3ed90a4145eeb2c8cc79bc95b2666f57a (patch)
tree5e166811f5df5a5efbb7a51d848ed0a82e29683d /sys/compat/linuxkpi/common/include/linux/log2.h
parent98b129783c478616f59b3b9c9576a303f7ed67de (diff)
downloadsrc-307f78f3ed90a4145eeb2c8cc79bc95b2666f57a.tar.gz
src-307f78f3ed90a4145eeb2c8cc79bc95b2666f57a.zip
LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards
MFC after: 1 week Reviewed by: bz, emaste, hselasky, manu Differential Revision: https://reviews.freebsd.org/D33562
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/log2.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/log2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/log2.h b/sys/compat/linuxkpi/common/include/linux/log2.h
index d79eedf38176..4c356136ca98 100644
--- a/sys/compat/linuxkpi/common/include/linux/log2.h
+++ b/sys/compat/linuxkpi/common/include/linux/log2.h
@@ -28,8 +28,8 @@
*
* $FreeBSD$
*/
-#ifndef _LINUX_LOG2_H_
-#define _LINUX_LOG2_H_
+#ifndef _LINUXKPI_LINUX_LOG2_H_
+#define _LINUXKPI_LINUX_LOG2_H_
#include <linux/types.h>
@@ -128,4 +128,4 @@ rounddown_pow_of_two(unsigned long x)
#define order_base_2(x) ilog2(roundup_pow_of_two(x))
-#endif /* _LINUX_LOG2_H_ */
+#endif /* _LINUXKPI_LINUX_LOG2_H_ */