Module Name: src
Committed By: thorpej
Date: Sat Feb 22 17:33:42 UTC 2020
Modified Files:
src/sys/arch/alpha/alpha: machdep.c
Log Message:
Make it clear that the pfn argument to alpha_init() is no longer used.
To generate a diff of this commit:
cvs rdiff -u -r1.357 -r1.358 src/sys/arch/alpha/alpha/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/alpha/alpha/machdep.c
diff -u src/sys/arch/alpha/alpha/machdep.c:1.357 src/sys/arch/alpha/alpha/machdep.c:1.358
--- src/sys/arch/alpha/alpha/machdep.c:1.357 Tue Dec 31 13:07:09 2019
+++ src/sys/arch/alpha/alpha/machdep.c Sat Feb 22 17:33:42 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.357 2019/12/31 13:07:09 ad Exp $ */
+/* $NetBSD: machdep.c,v 1.358 2020/02/22 17:33:42 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2019 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.357 2019/12/31 13:07:09 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.358 2020/02/22 17:33:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -216,8 +216,9 @@ const pcu_ops_t * const pcu_ops_md_defs[
};
void
-alpha_init(u_long pfn, u_long ptb, u_long bim, u_long bip, u_long biv)
- /* pfn: first free PFN number */
+alpha_init(u_long xxx_pfn __unused, u_long ptb, u_long bim, u_long bip,
+ u_long biv)
+ /* pfn: first free PFN number (no longer used) */
/* ptb: PFN of current level 1 page table */
/* bim: bootinfo magic */
/* bip: bootinfo pointer */