aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/kern_prefetch.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-05-09 14:11:35 +0000
committerWarner Losh <imp@FreeBSD.org>2018-05-09 14:11:35 +0000
commit603bbd06318421b31b3bc1c8924190cfb9f34286 (patch)
tree0410985d3ae8f5f7424a973fa7cfb18dffc4bfaa /sys/sys/kern_prefetch.h
parent5e37f7b3672d789f743d029c414ab0bff78bd601 (diff)
downloadsrc-603bbd06318421b31b3bc1c8924190cfb9f34286.tar.gz
src-603bbd06318421b31b3bc1c8924190cfb9f34286.zip
Minor style nits
Use full copyright year. Remove 'All Rights Reserved' from new file (rights holder OK'd) Minor #ifdef motion and #endif tagging Remove __FBSDID macro from comments Sponsored by: Netflix OK'd by: rrs@
Notes
Notes: svn path=/head/; revision=333409
Diffstat (limited to 'sys/sys/kern_prefetch.h')
-rw-r--r--sys/sys/kern_prefetch.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/sys/kern_prefetch.h b/sys/sys/kern_prefetch.h
index f203b618c7aa..6da5335778c2 100644
--- a/sys/sys/kern_prefetch.h
+++ b/sys/sys/kern_prefetch.h
@@ -1,7 +1,5 @@
-#ifndef __kern_prefetch_h__
/*-
- * Copyright (c) 2016-8
- * Netflix Inc. All rights reserved.
+ * Copyright (c) 2016-2018 Netflix Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -24,8 +22,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * __FBSDID("$FreeBSD$")
+ * $FreeBSD$
*/
+#ifndef __kern_prefetch_h__
#define __kern_prefetch_h__
#ifdef _KERNEL
@@ -39,5 +38,5 @@ kern_prefetch(const volatile void *addr, void* before)
#endif
}
-#endif
-#endif
+#endif /* _KERNEL */
+#endif /* __kern_prefetch_h__ */