diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-06-11 16:42:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-06-11 16:42:20 +0000 |
commit | 6b46236c83f9aa5b9cd59b466eeba348ee23825a (patch) | |
tree | ef7eca8601ed03d00b5a9a53b3355f66ed478486 /sys/arch/sh | |
parent | cc20036a151815396b8c4285e8b3b56f0172f1d5 (diff) |
final removal of daddr64_t. daddr_t has been 64 bit for a long enough
test period; i think 3 years ago the last bugs fell out.
ok otto beck others
Diffstat (limited to 'sys/arch/sh')
-rw-r--r-- | sys/arch/sh/include/cpu.h | 4 | ||||
-rw-r--r-- | sys/arch/sh/sh/sh_machdep.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sh/include/cpu.h b/sys/arch/sh/include/cpu.h index 31959429bd7..77d7a0078f6 100644 --- a/sys/arch/sh/include/cpu.h +++ b/sys/arch/sh/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.25 2013/03/12 09:37:16 mpi Exp $ */ +/* $OpenBSD: cpu.h,v 1.26 2013/06/11 16:42:10 deraadt Exp $ */ /* $NetBSD: cpu.h,v 1.41 2006/01/21 04:24:12 uwe Exp $ */ /*- @@ -265,7 +265,7 @@ void savectx(struct pcb *); struct fpreg; void fpu_save(struct fpreg *); void fpu_restore(struct fpreg *); -u_int cpu_dump(int (*)(dev_t, daddr64_t, caddr_t, size_t), daddr64_t *); +u_int cpu_dump(int (*)(dev_t, daddr_t, caddr_t, size_t), daddr_t *); u_int cpu_dumpsize(void); void dumpconf(void); void dumpsys(void); diff --git a/sys/arch/sh/sh/sh_machdep.c b/sys/arch/sh/sh/sh_machdep.c index 99342ff17c5..79eeb06ed47 100644 --- a/sys/arch/sh/sh/sh_machdep.c +++ b/sys/arch/sh/sh/sh_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sh_machdep.c,v 1.33 2012/12/02 07:03:31 guenther Exp $ */ +/* $OpenBSD: sh_machdep.c,v 1.34 2013/06/11 16:42:10 deraadt Exp $ */ /* $NetBSD: sh3_machdep.c,v 1.59 2006/03/04 01:13:36 uwe Exp $ */ /* @@ -335,8 +335,8 @@ void dumpsys() { cpu_kcore_hdr_t *h = &cpu_kcore_hdr; - daddr64_t blkno; - int (*dump)(dev_t, daddr64_t, caddr_t, size_t); + daddr_t blkno; + int (*dump)(dev_t, daddr_t, caddr_t, size_t); u_int page = 0; paddr_t dumppa; u_int seg; |