From b554f899bd057cf1d6acd047f3e9401f7fb18783 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 25 Aug 2006 23:51:11 +0000 Subject: [PATCH] Eliminate unused definitions. (They came from NetBSD.) Discussed with: cognet, grehan, marcel --- sys/arm/include/vmparam.h | 9 --------- sys/ia64/include/vmparam.h | 8 -------- sys/powerpc/include/vmparam.h | 7 ------- 3 files changed, 24 deletions(-) diff --git a/sys/arm/include/vmparam.h b/sys/arm/include/vmparam.h index c16df436ec4..19201cb565f 100644 --- a/sys/arm/include/vmparam.h +++ b/sys/arm/include/vmparam.h @@ -50,15 +50,6 @@ /* * Override the default pager_map size, there's not enough KVA. */ -/* - * Size of User Raw I/O map - */ - -#define USRIOSIZE 300 - -/* virtual sizes (bytes) for various kernel submaps */ - -#define VM_PHYS_SIZE (USRIOSIZE*PAGE_SIZE) /* * max number of non-contig chunks of physical RAM you can have diff --git a/sys/ia64/include/vmparam.h b/sys/ia64/include/vmparam.h index de15b2cbba4..06ae7c361a3 100644 --- a/sys/ia64/include/vmparam.h +++ b/sys/ia64/include/vmparam.h @@ -73,14 +73,6 @@ #define SGROWSIZ (128UL*1024) /* amount to grow stack */ #endif -/* - * PTEs for mapping user space into the kernel for phyio operations. - * 64 pte's are enough to cover 8 disks * MAXBSIZE. - */ -#ifndef USRIOSIZE -#define USRIOSIZE 64 -#endif - /* * Boundary at which to place first MAPMEM segment if not explicitly * specified. Should be a power of two. This allows some slop for diff --git a/sys/powerpc/include/vmparam.h b/sys/powerpc/include/vmparam.h index 6bcea668bf9..f3625f05b14 100644 --- a/sys/powerpc/include/vmparam.h +++ b/sys/powerpc/include/vmparam.h @@ -65,11 +65,6 @@ #define SHMMAXPGS 1024 #endif -/* - * Size of User Raw I/O map - */ -#define USRIOSIZE 1024 - /* * The time for a process to be blocked before being very swappable. * This is a number of seconds which the system takes as being a non-trivial @@ -103,8 +98,6 @@ #define VM_MAX_KERNEL_BUF (SEGMENT_LENGTH * 7 / 10) #endif -#define VM_PHYS_SIZE (USRIOSIZE * NBPG) - struct pmap_physseg { struct pv_entry *pvent; char *attrs;