configure : add option --enable-rusage

This commit is contained in:
Katsukura
2017-04-27 14:00:59 +09:00
parent 3fe2257929
commit 8c9b207557
5 changed files with 33 additions and 8 deletions

View File

@@ -1820,11 +1820,11 @@ mod_nmi_ctx(void *nmi_ctx, void (*func)())
int i;
unsigned long flags;
struct x86_cpu_local_variables *v;
//struct x86_cpu_local_variables *v;
if(!ihk_mc_get_processor_id()) {
v = get_x86_this_cpu_local();
}
//if(!ihk_mc_get_processor_id()) {
//v = get_x86_this_cpu_local();
//}
asm volatile("pushf; pop %0" : "=r"(flags) : : "memory", "cc");
for (i = 0; i < 22; i++)
l[i] = l[i + 5];