+cpu_lookup_byindex
This commit is contained in:
parent
60df1d7038
commit
6ae89ed2af
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: misc_stub.c,v 1.6 2008/01/16 13:22:29 ad Exp $ */
|
||||
/* $NetBSD: misc_stub.c,v 1.7 2008/02/27 17:02:56 ad Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
|
||||
@ -33,6 +33,7 @@
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/module.h>
|
||||
#include <sys/cpu.h>
|
||||
|
||||
#ifdef __sparc__
|
||||
/*
|
||||
@ -111,3 +112,11 @@ module_init_class(modclass_t mc)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
struct cpu_info *
|
||||
cpu_lookup_byindex(u_int index)
|
||||
{
|
||||
extern struct cpu_info rump_cpu;
|
||||
|
||||
return &rump_cpu;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user