aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/spinlock.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/spinlock.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/spinlock.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/spinlock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/spinlock.h b/sys/compat/linuxkpi/common/include/linux/spinlock.h
index c020c7d1df6e..a87cb7180b28 100644
--- a/sys/compat/linuxkpi/common/include/linux/spinlock.h
+++ b/sys/compat/linuxkpi/common/include/linux/spinlock.h
@@ -28,8 +28,8 @@
*
* $FreeBSD$
*/
-#ifndef _LINUX_SPINLOCK_H_
-#define _LINUX_SPINLOCK_H_
+#ifndef _LINUXKPI_LINUX_SPINLOCK_H_
+#define _LINUXKPI_LINUX_SPINLOCK_H_
#include <asm/atomic.h>
#include <sys/param.h>
@@ -185,4 +185,4 @@ _atomic_dec_and_lock_irqsave(atomic_t *cnt, spinlock_t *lock,
return (0);
}
-#endif /* _LINUX_SPINLOCK_H_ */
+#endif /* _LINUXKPI_LINUX_SPINLOCK_H_ */