diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c --- a/sys/arm/arm/machdep.c +++ b/sys/arm/arm/machdep.c @@ -551,7 +551,7 @@ /* Establish static device mappings. */ err_devmap = platform_devmap_init(); - devmap_bootstrap(0, NULL); + devmap_bootstrap(NULL); vm_max_kernel_address = platform_lastaddr(); /* diff --git a/sys/arm64/arm64/machdep.c b/sys/arm64/arm64/machdep.c --- a/sys/arm64/arm64/machdep.c +++ b/sys/arm64/arm64/machdep.c @@ -996,7 +996,7 @@ physmem_init_kernel_globals(); - devmap_bootstrap(0, NULL); + devmap_bootstrap(NULL); valid = bus_probe(); diff --git a/sys/kern/subr_devmap.c b/sys/kern/subr_devmap.c --- a/sys/kern/subr_devmap.c +++ b/sys/kern/subr_devmap.c @@ -174,7 +174,7 @@ * with a NULL pointer. */ void -devmap_bootstrap(vm_offset_t l1pt, const struct devmap_entry *table) +devmap_bootstrap(const struct devmap_entry *table) { const struct devmap_entry *pd; diff --git a/sys/riscv/riscv/machdep.c b/sys/riscv/riscv/machdep.c --- a/sys/riscv/riscv/machdep.c +++ b/sys/riscv/riscv/machdep.c @@ -568,7 +568,7 @@ physmem_init_kernel_globals(); /* Establish static device mappings */ - devmap_bootstrap(0, NULL); + devmap_bootstrap(NULL); cninit(); diff --git a/sys/sys/devmap.h b/sys/sys/devmap.h --- a/sys/sys/devmap.h +++ b/sys/sys/devmap.h @@ -74,8 +74,7 @@ * in older code. If the table pointer is NULL, this will use the table * installed previously by devmap_register_table(). */ -void devmap_bootstrap(vm_offset_t _l1pt, - const struct devmap_entry *_table); +void devmap_bootstrap(const struct devmap_entry *_table); /* * Translate between virtual and physical addresses within a region that is