diff options
author | imp <imp@FreeBSD.org> | 2006-03-08 06:31:46 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-03-08 06:31:46 +0000 |
commit | f1947eff71c8ad93627629ada8b60773f7f344e1 (patch) | |
tree | b46519c047685e13a89653c70c9fba3fd4a9bb7c | |
parent | 3b53f4a775a8af45de5b033339f5d3f0ab82856d (diff) | |
download | FreeBSD-src-f1947eff71c8ad93627629ada8b60773f7f344e1.zip FreeBSD-src-f1947eff71c8ad93627629ada8b60773f7f344e1.tar.gz |
Remove leading __ from __(inline|const|signed|volatile). They are
obsolete. This should reduce diffs to NetBSD as well.
-rw-r--r-- | sys/vm/swap_pager.c | 2 | ||||
-rw-r--r-- | sys/vm/vm_fault.c | 4 | ||||
-rw-r--r-- | sys/vm/vm_map.c | 6 | ||||
-rw-r--r-- | sys/vm/vm_page.c | 6 | ||||
-rw-r--r-- | sys/vm/vm_pageq.c | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 1dfa279..e34e336 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -1588,7 +1588,7 @@ swap_pager_isswapped(vm_object_t object, struct swdevt *sp) * XXX - The code to page the whole block in doesn't work, so we * revert to the one-by-one behavior for now. Sigh. */ -static __inline void +static inline void swp_pager_force_pagein(vm_object_t object, vm_pindex_t pindex) { vm_page_t m; diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index a716315..7417fc1 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -130,7 +130,7 @@ struct faultstate { struct vnode *vp; }; -static __inline void +static inline void release_page(struct faultstate *fs) { vm_page_lock_queues(); @@ -140,7 +140,7 @@ release_page(struct faultstate *fs) fs->m = NULL; } -static __inline void +static inline void unlock_map(struct faultstate *fs) { if (fs->lookup_still_valid) { diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 23fc7b4..d57fca8 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -280,7 +280,7 @@ vm_init2(void) vmspace_zinit, vmspace_zfini, UMA_ALIGN_PTR, UMA_ZONE_NOFREE); } -static __inline void +static inline void vmspace_dofree(struct vmspace *vm) { CTR1(KTR_VM, "vmspace_free: %p", vm); @@ -560,7 +560,7 @@ vm_map_entry_create(vm_map_t map) * Set the expected access behavior, either normal, random, or * sequential. */ -static __inline void +static inline void vm_map_entry_set_behavior(vm_map_entry_t entry, u_char behavior) { entry->eflags = (entry->eflags & ~MAP_ENTRY_BEHAV_MASK) | @@ -572,7 +572,7 @@ vm_map_entry_set_behavior(vm_map_entry_t entry, u_char behavior) * * Set the max_free field in a vm_map_entry. */ -static __inline void +static inline void vm_map_entry_set_max_free(vm_map_entry_t entry) { diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index fc2f29a..f84efa5 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -980,7 +980,7 @@ vm_page_activate(vm_page_t m) * The page queues must be locked. * This routine may not block. */ -static __inline void +static inline void vm_page_free_wakeup(void) { @@ -1220,7 +1220,7 @@ vm_page_unwire(vm_page_t m, int activate) * * This routine may not block. */ -static __inline void +static inline void _vm_page_deactivate(vm_page_t m, int athead) { @@ -1449,7 +1449,7 @@ retrylookup: * * Inputs are required to range within a page. */ -__inline int +inline int vm_page_bits(int base, int size) { int first_bit; diff --git a/sys/vm/vm_pageq.c b/sys/vm/vm_pageq.c index 8290281..7d8bead 100644 --- a/sys/vm/vm_pageq.c +++ b/sys/vm/vm_pageq.c @@ -304,7 +304,7 @@ vm_pageq_remove(vm_page_t m) * This routine may only be called from the vm_pageq_find() * function in this file. */ -static __inline vm_page_t +static inline vm_page_t _vm_pageq_find(int basequeue, int index) { int i; |