diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-20 12:28:19 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-20 12:28:19 +0000 |
commit | dc28f16d8ee251f2510631cfa4e043bbe4a82a8b (patch) | |
tree | b30ebd2ba22c7e9d5ffdbf31bdb98b8ca31511f9 /cpukit/libnetworking/vm | |
parent | 2004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-dc28f16d8ee251f2510631cfa4e043bbe4a82a8b.tar.bz2 |
Use -D_KERNEL instead of -DKERNEL for greater FreeBSD compliance.
Diffstat (limited to 'cpukit/libnetworking/vm')
-rw-r--r-- | cpukit/libnetworking/vm/vm.h | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/vm/vm_extern.h | 4 | ||||
-rw-r--r-- | cpukit/libnetworking/vm/vm_param.h | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/libnetworking/vm/vm.h b/cpukit/libnetworking/vm/vm.h index 19ea10e5eb..7debe74a82 100644 --- a/cpukit/libnetworking/vm/vm.h +++ b/cpukit/libnetworking/vm/vm.h @@ -52,7 +52,7 @@ typedef struct vm_map *vm_map_t; struct vm_object; typedef struct vm_object *vm_object_t; -#ifndef KERNEL +#ifndef _KERNEL /* * This is defined in <sys/types.h> for the kernel so that non-vm kernel * sources (mainly Mach-derived ones such as ddb) don't have to include diff --git a/cpukit/libnetworking/vm/vm_extern.h b/cpukit/libnetworking/vm/vm_extern.h index 720d42dc28..50503a7f6f 100644 --- a/cpukit/libnetworking/vm/vm_extern.h +++ b/cpukit/libnetworking/vm/vm_extern.h @@ -44,7 +44,7 @@ struct vmtotal; struct mount; struct vnode; -#ifdef KERNEL +#ifdef _KERNEL #ifdef TYPEDEF_FOR_UAP int getpagesize __P((struct proc * p, void *, int *)); @@ -98,6 +98,6 @@ void vm_object_print __P((/* db_expr_t */ int, boolean_t, /* db_expr_t */ int, char *)); void vm_fault_quick __P((caddr_t v, int prot)); -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif /* !_VM_EXTERN_H_ */ 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_ */ |