sysfs sample

This commit is contained in:
NAKAMURA Gou
2015-11-26 21:18:24 +09:00
parent 8cb72df663
commit a055fb525d
3 changed files with 144 additions and 0 deletions

View File

@@ -251,6 +251,11 @@ static void rest_init(void)
sched_init();
}
static void populate_sysfs(void)
{
cpu_sysfs_setup();
} /* populate_sysfs() */
int host_ikc_inited = 0;
extern int num_processors;
extern void zero_tsc(void);
@@ -280,6 +285,7 @@ static void post_init(void)
create_os_procfs_files();
sysfs_init();
populate_sysfs();
}
#ifdef DCFA_RUN
extern void user_main();