diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-25 17:46:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-25 17:46:25 +0000 |
commit | 6612be82ed231946ef124c31fa1d5082c2eadbfb (patch) | |
tree | a88ef0a49d158bf2a6018f00cc8d74872cf9e1c5 /sys/arch | |
parent | 5ef325837bcb9bdc9d78356cc5efda8bd424be26 (diff) |
ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/amd64/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/arm/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/hppa/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/hppa64/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/i386/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/ia64/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/m68k/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/m88k/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/mips64/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/powerpc/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/sh/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/solbourne/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/sparc/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/vax/include/param.h | 6 |
16 files changed, 16 insertions, 80 deletions
diff --git a/sys/arch/alpha/include/param.h b/sys/arch/alpha/include/param.h index 3a9e0c6d7f8..9a23f0dd28b 100644 --- a/sys/arch/alpha/include/param.h +++ b/sys/arch/alpha/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.37 2013/03/23 16:12:18 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.38 2013/03/25 17:46:24 deraadt Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -47,10 +47,6 @@ #include <machine/cpu.h> #endif -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SHIFT 13 #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) diff --git a/sys/arch/amd64/include/param.h b/sys/arch/amd64/include/param.h index 6b6959d4ce3..75657dd575b 100644 --- a/sys/arch/amd64/include/param.h +++ b/sys/arch/amd64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.20 2013/03/23 16:12:20 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.21 2013/03/25 17:46:24 deraadt Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -49,10 +49,6 @@ #define MACHINE_ARCH "amd64" #define MID_MACHINE MID_AMD64 -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SHIFT 12 #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) diff --git a/sys/arch/arm/include/param.h b/sys/arch/arm/include/param.h index d69f63cd4cf..d276bbd6b11 100644 --- a/sys/arch/arm/include/param.h +++ b/sys/arch/arm/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.18 2013/03/23 16:12:20 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.19 2013/03/25 17:46:24 deraadt Exp $ */ /* * Copyright (c) 1994,1995 Mark Brinicombe. @@ -39,10 +39,6 @@ #define _MACHINE_ARCH arm #define MID_MACHINE MID_ARM6 -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SHIFT 12 #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h index 4c77ffcc8d2..071d196338e 100644 --- a/sys/arch/hppa/include/param.h +++ b/sys/arch/hppa/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.43 2013/03/23 16:12:22 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.44 2013/03/25 17:46:24 deraadt Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -35,10 +35,6 @@ #define MACHINE_ARCH "hppa" #define MID_MACHINE MID_HPUX800 -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SHIFT 12 #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) diff --git a/sys/arch/hppa64/include/param.h b/sys/arch/hppa64/include/param.h index 1ac9f9f75f3..d7512881eca 100644 --- a/sys/arch/hppa64/include/param.h +++ b/sys/arch/hppa64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.18 2013/03/23 16:12:22 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.19 2013/03/25 17:46:24 deraadt Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -35,10 +35,6 @@ #define MACHINE_ARCH "hppa64" #define MID_MACHINE MID_HPPA20 -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SHIFT 12 #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h index 61144293180..2561744584f 100644 --- a/sys/arch/i386/include/param.h +++ b/sys/arch/i386/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.45 2013/03/23 16:12:23 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.46 2013/03/25 17:46:24 deraadt Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -49,10 +49,6 @@ #define MACHINE_ARCH "i386" #define MID_MACHINE MID_I386 -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SHIFT 12 #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) diff --git a/sys/arch/ia64/include/param.h b/sys/arch/ia64/include/param.h index 7d4342ffac2..6b763baf245 100644 --- a/sys/arch/ia64/include/param.h +++ b/sys/arch/ia64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.3 2013/03/23 16:12:23 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.4 2013/03/25 17:46:24 deraadt Exp $ */ /* * Written by Paul Irofti <pirofti@openbsd.org>. Public Domain. @@ -13,8 +13,4 @@ #define MACHINE_ARCH "ia64" #define MID_MACHINE MID_IA64 -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #endif /* _MACHINE_PARAM_H_ */ diff --git a/sys/arch/m68k/include/param.h b/sys/arch/m68k/include/param.h index 55fd712bd5d..778ecf0281a 100644 --- a/sys/arch/m68k/include/param.h +++ b/sys/arch/m68k/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.28 2013/03/23 16:12:24 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.29 2013/03/25 17:46:24 deraadt Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -41,10 +41,6 @@ #define MACHINE_ARCH "m68k" #define MID_MACHINE MID_M68K -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) #define PGSHIFT PAGE_SHIFT diff --git a/sys/arch/m88k/include/param.h b/sys/arch/m88k/include/param.h index 5cf0d255f9d..b20bd117518 100644 --- a/sys/arch/m88k/include/param.h +++ b/sys/arch/m88k/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.16 2013/03/23 16:12:24 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.17 2013/03/25 17:46:24 deraadt Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. @@ -48,10 +48,6 @@ #define MACHINE_ARCH "m88k" #define MID_MACHINE MID_M88K -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SHIFT 12 #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) diff --git a/sys/arch/mips64/include/param.h b/sys/arch/mips64/include/param.h index d22b5415a8b..9721822f720 100644 --- a/sys/arch/mips64/include/param.h +++ b/sys/arch/mips64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.31 2013/03/23 16:12:25 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.32 2013/03/25 17:46:24 deraadt Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -41,10 +41,6 @@ #include <machine/cpu.h> #endif -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) #define PGSHIFT PAGE_SHIFT diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h index 3b8fcd3bf71..9701cce43d1 100644 --- a/sys/arch/powerpc/include/param.h +++ b/sys/arch/powerpc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.33 2013/03/23 16:12:26 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.34 2013/03/25 17:46:24 deraadt Exp $ */ /*- * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -44,10 +44,6 @@ #define _MACHINE_ARCH powerpc #define MID_MACHINE MID_POWERPC -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SHIFT 12 #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) diff --git a/sys/arch/sh/include/param.h b/sys/arch/sh/include/param.h index 0fad8b987df..5c0c9620ded 100644 --- a/sys/arch/sh/include/param.h +++ b/sys/arch/sh/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.9 2013/03/23 16:12:27 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.10 2013/03/25 17:46:24 deraadt Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. All rights reserved. @@ -47,10 +47,6 @@ #include <sh/cpu.h> #endif -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - /* * We use 4K pages on the sh3/sh4. Override the PAGE_* definitions * to be compile-time constants. diff --git a/sys/arch/solbourne/include/param.h b/sys/arch/solbourne/include/param.h index aeb17b1e503..f070b52dd08 100644 --- a/sys/arch/solbourne/include/param.h +++ b/sys/arch/solbourne/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.11 2013/03/23 16:12:27 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.12 2013/03/25 17:46:24 deraadt Exp $ */ /* * Copyright (c) 1992, 1993 @@ -53,10 +53,6 @@ #define MACHINE_ARCH "sparc" #define MID_MACHINE MID_SPARC -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define SUN4_PGSHIFT 13 /* for a sun4 machine */ #define SUN4CM_PGSHIFT 12 /* for a sun4c or sun4m machine */ #define PAGE_SHIFT SUN4_PGSHIFT diff --git a/sys/arch/sparc/include/param.h b/sys/arch/sparc/include/param.h index 6ac866d355f..71fd9a87604 100644 --- a/sys/arch/sparc/include/param.h +++ b/sys/arch/sparc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.47 2013/03/23 16:12:27 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.48 2013/03/25 17:46:24 deraadt Exp $ */ /* * Copyright (c) 1992, 1993 @@ -58,10 +58,6 @@ #define MACHINE_ARCH "sparc" #define MID_MACHINE MID_SPARC -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - /* * The original SUN4 machines have 8K page size while the newer ones have a * 4K page size. It is possible to build a kernel for either architecture, diff --git a/sys/arch/sparc64/include/param.h b/sys/arch/sparc64/include/param.h index 4e2bd923ed8..7c8a30bbbf2 100644 --- a/sys/arch/sparc64/include/param.h +++ b/sys/arch/sparc64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.37 2013/03/23 16:12:28 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.38 2013/03/25 17:46:24 deraadt Exp $ */ /* * Copyright (c) 1992, 1993 @@ -70,10 +70,6 @@ #define MACHINE_ARCH "sparc64" #define MID_MACHINE MID_SPARC64 -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SHIFT 13 #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) diff --git a/sys/arch/vax/include/param.h b/sys/arch/vax/include/param.h index efabbcf393a..bd4acb94b9f 100644 --- a/sys/arch/vax/include/param.h +++ b/sys/arch/vax/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.38 2013/03/23 16:12:28 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.39 2013/03/25 17:46:24 deraadt Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -41,10 +41,6 @@ #define MACHINE_ARCH "vax" #define MID_MACHINE MID_VAX -#define ALIGNBYTES _ALIGNBYTES -#define ALIGN(p) _ALIGN(p) -#define ALIGNED_POINTER(p,t) _ALIGNED_POINTER(p,t) - #define PAGE_SHIFT 12 #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) |