diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2018-07-04 01:41:57 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2018-07-04 01:41:57 +0000 |
commit | 1c33125f2ee3fb7bd5646536bed1b4a86302eb35 (patch) | |
tree | ba7ba4bc7a35ec6ad44315300de3841eaad54f61 /sys/arch | |
parent | f6febe865882768def1fa42bb9e238fc5e1ce802 (diff) |
Clean up some extern definitions and includes in hibernate MD code
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/hibernate_machdep.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/hibernate_machdep.c b/sys/arch/amd64/amd64/hibernate_machdep.c index d20c8c02a86..03471ae27ef 100644 --- a/sys/arch/amd64/amd64/hibernate_machdep.c +++ b/sys/arch/amd64/amd64/hibernate_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hibernate_machdep.c,v 1.43 2018/06/25 22:33:24 kettenis Exp $ */ +/* $OpenBSD: hibernate_machdep.c,v 1.44 2018/07/04 01:41:56 mlarkin Exp $ */ /* * Copyright (c) 2012 Mike Larkin <mlarkin@openbsd.org> @@ -33,7 +33,7 @@ #include <machine/biosvar.h> #include <machine/cpu.h> -#include <machine/hibernate_var.h> +#include <machine/hibernate.h> #include <machine/pte.h> #include <machine/pmap.h> @@ -55,8 +55,6 @@ void hibernate_enter_resume_4k_pte(vaddr_t, paddr_t); void hibernate_enter_resume_2m_pde(vaddr_t, paddr_t); -extern void hibernate_resume_machdep(void); -extern void hibernate_flush(void); extern caddr_t start, end; extern int mem_cluster_cnt; extern phys_ram_seg_t mem_clusters[]; |