diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index e5124d4d7d55..9218ec37fb86 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -687,6 +687,10 @@ alpha_init(pfn, ptb, bim, bip, biv) */ cycles_per_sec = hwrpb->rpb_cc_freq; + /* Get the loader(8) metadata */ + preload_metadata = (caddr_t)bootinfo.modptr; + kern_envp = bootinfo.envp; + /* * Initalize the (temporary) bootstrap console interface, so * we can use printf until the VM system starts being setup. @@ -785,8 +789,6 @@ alpha_init(pfn, ptb, bim, bip, biv) /* But if the bootstrap tells us otherwise, believe it! */ if (bootinfo.kernend) kernend = round_page(bootinfo.kernend); - preload_metadata = (caddr_t)bootinfo.modptr; - kern_envp = bootinfo.envp; p = getenv("kernelname"); if (p)