From 874651b13ca70407517c7431118950d6771ef89d Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 11 Jun 2003 23:50:51 +0000 Subject: [PATCH] Use __FBSDID(). --- sys/vm/default_pager.c | 5 +++-- sys/vm/device_pager.c | 4 +++- sys/vm/phys_pager.c | 5 +++-- sys/vm/swap_pager.c | 5 +++-- sys/vm/uma_core.c | 7 +++---- sys/vm/uma_dbg.c | 5 ++--- sys/vm/vm_contig.c | 4 +++- sys/vm/vm_fault.c | 6 ++++-- sys/vm/vm_glue.c | 5 +++-- sys/vm/vm_init.c | 5 +++-- sys/vm/vm_kern.c | 5 +++-- sys/vm/vm_map.c | 5 +++-- sys/vm/vm_meter.c | 4 +++- sys/vm/vm_mmap.c | 4 +++- sys/vm/vm_object.c | 5 +++-- sys/vm/vm_page.c | 4 +++- sys/vm/vm_pageout.c | 5 +++-- sys/vm/vm_pageq.c | 6 +++--- sys/vm/vm_pager.c | 5 +++-- sys/vm/vm_swap.c | 4 +++- sys/vm/vm_unix.c | 4 +++- sys/vm/vm_zeroidle.c | 4 +++- sys/vm/vnode_pager.c | 4 +++- 23 files changed, 69 insertions(+), 41 deletions(-) diff --git a/sys/vm/default_pager.c b/sys/vm/default_pager.c index 40b9581ac2b3..b3e6e4436563 100644 --- a/sys/vm/default_pager.c +++ b/sys/vm/default_pager.c @@ -35,10 +35,11 @@ * vm_page->swapblk field. The object is only converted when the page is * physically freed after having been cleaned and even then vm_page->swapblk * is maintained whenever a resident page also has swap backing store. - * - * $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/device_pager.c b/sys/vm/device_pager.c index e4d80c4a7b32..4503a0ba4890 100644 --- a/sys/vm/device_pager.c +++ b/sys/vm/device_pager.c @@ -36,9 +36,11 @@ * SUCH DAMAGE. * * @(#)device_pager.c 8.1 (Berkeley) 6/11/93 - * $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/phys_pager.c b/sys/vm/phys_pager.c index 67d1ad0b10fa..214315dcc557 100644 --- a/sys/vm/phys_pager.c +++ b/sys/vm/phys_pager.c @@ -21,10 +21,11 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index f859eeeb0027..4ddc7febe484 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -63,10 +63,11 @@ * from: Utah $Hdr: swap_pager.c 1.4 91/04/30$ * * @(#)swap_pager.c 8.9 (Berkeley) 3/21/94 - * - * $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index a27794beef7b..ac86b27e2ccd 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -22,9 +22,6 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * $FreeBSD$ - * */ /* @@ -48,6 +45,9 @@ * - Investigate cache size adjustments */ +#include +__FBSDID("$FreeBSD$"); + /* I should really use ktr.. */ /* #define UMA_DEBUG 1 @@ -55,7 +55,6 @@ #define UMA_DEBUG_ALLOC_1 1 */ - #include "opt_param.h" #include #include diff --git a/sys/vm/uma_dbg.c b/sys/vm/uma_dbg.c index ebdba40c95a8..b69cee0f1a9b 100644 --- a/sys/vm/uma_dbg.c +++ b/sys/vm/uma_dbg.c @@ -22,9 +22,6 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * $FreeBSD$ - * */ /* @@ -32,6 +29,8 @@ * */ +#include +__FBSDID("$FreeBSD$"); #include #include diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c index cf5ee09590ef..bef7ecf89206 100644 --- a/sys/vm/vm_contig.c +++ b/sys/vm/vm_contig.c @@ -34,7 +34,6 @@ * SUCH DAMAGE. * * from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91 - * $FreeBSD$ */ /* @@ -64,6 +63,9 @@ * rights to redistribute these changes. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index d8f2409a0cf3..64925ba13d3a 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -65,13 +65,15 @@ * * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. - * - * $FreeBSD$ */ /* * Page fault handling module. */ + +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index 67b585ebc893..741bd0d596d8 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -58,10 +58,11 @@ * * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. - * - * $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); + #include "opt_vm.h" #include diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c index 7f4f71d1077a..eaeae8581a1d 100644 --- a/sys/vm/vm_init.c +++ b/sys/vm/vm_init.c @@ -60,14 +60,15 @@ * * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. - * - * $FreeBSD$ */ /* * Initialize the Virtual Memory subsystem. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index b82bfe071c66..5d3afd6a1686 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -60,14 +60,15 @@ * * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. - * - * $FreeBSD$ */ /* * Kernel memory management. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include /* for ticks and hz */ diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 53b51b82e2b7..66b60238b2e1 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -60,14 +60,15 @@ * * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. - * - * $FreeBSD$ */ /* * Virtual memory mapping module. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/vm_meter.c b/sys/vm/vm_meter.c index c988ca8bddd6..1638f3d6d259 100644 --- a/sys/vm/vm_meter.c +++ b/sys/vm/vm_meter.c @@ -31,9 +31,11 @@ * SUCH DAMAGE. * * @(#)vm_meter.c 8.4 (Berkeley) 1/4/94 - * $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 1cb8a3072d75..aeb8a1671f7d 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -38,13 +38,15 @@ * from: Utah $Hdr: vm_mmap.c 1.6 91/10/21$ * * @(#)vm_mmap.c 8.4 (Berkeley) 1/12/94 - * $FreeBSD$ */ /* * Mapped file (mmap) interface to VM */ +#include +__FBSDID("$FreeBSD$"); + #include "opt_compat.h" #include "opt_mac.h" diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 30d5bd2d0ef1..141047cf0aa4 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -60,14 +60,15 @@ * * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. - * - * $FreeBSD$ */ /* * Virtual memory object module. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index ff9a2270e15b..c64bdb0efbca 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -34,7 +34,6 @@ * SUCH DAMAGE. * * from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91 - * $FreeBSD$ */ /* @@ -101,6 +100,9 @@ * Resident memory management module. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index f55a180c2cbf..5c4fa22bd7a9 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -64,14 +64,15 @@ * * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. - * - * $FreeBSD$ */ /* * The proverbial page-out daemon. */ +#include +__FBSDID("$FreeBSD$"); + #include "opt_vm.h" #include #include diff --git a/sys/vm/vm_pageq.c b/sys/vm/vm_pageq.c index 332e445425e8..bca21fb20446 100644 --- a/sys/vm/vm_pageq.c +++ b/sys/vm/vm_pageq.c @@ -1,10 +1,11 @@ /* * (c)Copyright 1998, Matthew Dillon. Terms for use and redistribution * are covered by the BSD Copyright as found in /usr/src/COPYRIGHT. - * - * $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include @@ -69,7 +70,6 @@ vm_pageq_requeue(vm_page_t m) /* * vm_pageq_enqueue: - * */ void vm_pageq_enqueue(int queue, vm_page_t m) diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c index 5747930eb5d4..efdece2a0ecc 100644 --- a/sys/vm/vm_pager.c +++ b/sys/vm/vm_pager.c @@ -60,8 +60,6 @@ * * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. - * - * $FreeBSD$ */ /* @@ -69,6 +67,9 @@ * for builtin pagers. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c index 4d9e78304ce7..b80becc56ffb 100644 --- a/sys/vm/vm_swap.c +++ b/sys/vm/vm_swap.c @@ -31,9 +31,11 @@ * SUCH DAMAGE. * * @(#)vm_swap.c 8.5 (Berkeley) 2/17/94 - * $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); + #include "opt_mac.h" #include "opt_swap.h" #include "opt_vm.h" diff --git a/sys/vm/vm_unix.c b/sys/vm/vm_unix.c index 90bfba2f71b8..b57958e05dd8 100644 --- a/sys/vm/vm_unix.c +++ b/sys/vm/vm_unix.c @@ -38,13 +38,15 @@ * from: Utah $Hdr: vm_unix.c 1.1 89/11/07$ * * @(#)vm_unix.c 8.1 (Berkeley) 6/11/93 - * $FreeBSD$ */ /* * Traditional sbrk/grow interface to VM */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/vm_zeroidle.c b/sys/vm/vm_zeroidle.c index 75fa7a2b400b..c7091609cee2 100644 --- a/sys/vm/vm_zeroidle.c +++ b/sys/vm/vm_zeroidle.c @@ -7,9 +7,11 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 99bc3cf6dfb6..a6869b086559 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -38,7 +38,6 @@ * SUCH DAMAGE. * * from: @(#)vnode_pager.c 7.5 (Berkeley) 4/20/91 - * $FreeBSD$ */ /* @@ -51,6 +50,9 @@ * greatly re-simplify the vnode_pager. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include