summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/vm/vm_param.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-20 12:28:19 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-20 12:28:19 +0000
commitdc28f16d8ee251f2510631cfa4e043bbe4a82a8b (patch)
treeb30ebd2ba22c7e9d5ffdbf31bdb98b8ca31511f9 /cpukit/libnetworking/vm/vm_param.h
parent2004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-dc28f16d8ee251f2510631cfa4e043bbe4a82a8b.tar.bz2
Use -D_KERNEL instead of -DKERNEL for greater FreeBSD compliance.
Diffstat (limited to 'cpukit/libnetworking/vm/vm_param.h')
-rw-r--r--cpukit/libnetworking/vm/vm_param.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/vm/vm_param.h b/cpukit/libnetworking/vm/vm_param.h
index f1cfca98ec..0f58fab6c6 100644
--- a/cpukit/libnetworking/vm/vm_param.h
+++ b/cpukit/libnetworking/vm/vm_param.h
@@ -98,7 +98,7 @@
#endif
-#ifdef KERNEL
+#ifdef _KERNEL
extern vm_size_t page_mask;
extern int page_shift;
@@ -153,13 +153,13 @@ extern int page_shift;
* Convert addresses to pages and vice versa.
* No rounding is used.
*/
-#ifdef KERNEL
+#ifdef _KERNEL
#define num_pages(x) \
((vm_offset_t)((((vm_offset_t)(x)) + PAGE_MASK) >> PAGE_SHIFT))
extern vm_size_t mem_size; /* size of physical memory (bytes) */
extern vm_offset_t first_addr; /* first physical page */
extern vm_offset_t last_addr; /* last physical page */
-#endif /* KERNEL */
+#endif /* _KERNEL */
#endif /* ASSEMBLER */
#endif /* _VM_PARAM_ */