mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make this compile.
This commit is contained in:
parent
cc2a5b08a7
commit
5566cfb4db
1 changed files with 3 additions and 0 deletions
|
|
@ -130,8 +130,10 @@ cpu_startup(void *arg)
|
|||
{
|
||||
phandle_t child;
|
||||
phandle_t root;
|
||||
char name[32];
|
||||
char type[8];
|
||||
u_int clock;
|
||||
caddr_t p;
|
||||
|
||||
root = OF_peer(0);
|
||||
for (child = OF_child(root); child != 0; child = OF_peer(child)) {
|
||||
|
|
@ -141,6 +143,7 @@ cpu_startup(void *arg)
|
|||
}
|
||||
if (child == 0)
|
||||
panic("cpu_startup: no cpu\n");
|
||||
OF_getprop(child, "name", name, sizeof(name));
|
||||
OF_getprop(child, "clock-frequency", &clock, sizeof(clock));
|
||||
|
||||
tick_tc.tc_get_timecount = tick_get_timecount;
|
||||
|
|
|
|||
Loading…
Reference in a new issue