diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-05-14 20:01:34 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-05-14 20:01:34 +0000 |
| commit | 4c51ae2155d1e04041babc3842df82a44ee811e4 (patch) | |
| tree | 026858cf133ff6c341beec98c8d0a3f99f2d8ea3 /sys | |
| parent | 01e8018af87e795c3a7478311110ea74e35a1537 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/alpha/include/param.h | 4 | ||||
| -rw-r--r-- | sys/arm/include/param.h | 4 | ||||
| -rw-r--r-- | sys/ia64/include/param.h | 4 | ||||
| -rw-r--r-- | sys/powerpc/include/param.h | 4 |
4 files changed, 0 insertions, 16 deletions
diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h index 04828fa77376..f32b749e5abb 100644 --- a/sys/alpha/include/param.h +++ b/sys/alpha/include/param.h @@ -151,10 +151,6 @@ #endif /* MCLSHIFT */ #define MCLBYTES (1 << MCLSHIFT) /* size of a mbuf cluster */ -/* pages ("clicks") to disk blocks */ -#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT)) -#define dtoc(x) ((x) >> (PAGE_SHIFT - DEV_BSHIFT)) - /* pages to bytes */ #define ctob(x) ((x) << PAGE_SHIFT) #define btoc(x) (((x) + PAGE_MASK) >> PAGE_SHIFT) diff --git a/sys/arm/include/param.h b/sys/arm/include/param.h index 7dda79df92e1..5a743cc32e70 100644 --- a/sys/arm/include/param.h +++ b/sys/arm/include/param.h @@ -136,10 +136,6 @@ /* bytes to clicks */ #define btoc(x) (((unsigned)(x) + PAGE_MASK) >> PAGE_SHIFT) -/* pages ("clicks") to disk blocks */ -#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT)) -#define dtoc(x) ((x) >> (PAGE_SHIFT - DEV_BSHIFT)) - /* bytes to disk blocks */ /* * btodb() is messy and perhaps slow because `bytes' may be an off_t. We diff --git a/sys/ia64/include/param.h b/sys/ia64/include/param.h index a516325839aa..dff273e57af3 100644 --- a/sys/ia64/include/param.h +++ b/sys/ia64/include/param.h @@ -177,10 +177,6 @@ #define NKMEMCLUSTERS (4096*1024/CLBYTES) /* XXX? */ #endif -/* pages ("clicks") to disk blocks */ -#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT)) -#define dtoc(x) ((x) >> (PAGE_SHIFT - DEV_BSHIFT)) - /* pages to bytes */ #define ctob(x) ((x) << PAGE_SHIFT) #define btoc(x) (((x) + PAGE_MASK) >> PAGE_SHIFT) diff --git a/sys/powerpc/include/param.h b/sys/powerpc/include/param.h index 25a92052b40f..81bc3db93852 100644 --- a/sys/powerpc/include/param.h +++ b/sys/powerpc/include/param.h @@ -144,10 +144,6 @@ /* bytes to clicks */ #define btoc(x) (((unsigned)(x) + PAGE_MASK) >> PAGE_SHIFT) -/* pages ("clicks") to disk blocks */ -#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT)) -#define dtoc(x) ((x) >> (PAGE_SHIFT - DEV_BSHIFT)) - /* bytes to disk blocks */ /* * btodb() is messy and perhaps slow because `bytes' may be an off_t. We |
