Commit 1a18c71b5037cff63a3e2c99debfcca0c6f7d09a

Authored by bellard
1 parent 03a6c510

unused functions in system mode


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@432 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
cpu-exec.c
@@ -378,7 +378,7 @@ int cpu_exec(CPUState *env1) @@ -378,7 +378,7 @@ int cpu_exec(CPUState *env1)
378 return ret; 378 return ret;
379 } 379 }
380 380
381 -#if defined(TARGET_I386) 381 +#if defined(TARGET_I386) && defined(CONFIG_USER_ONLY)
382 382
383 void cpu_x86_load_seg(CPUX86State *s, int seg_reg, int selector) 383 void cpu_x86_load_seg(CPUX86State *s, int seg_reg, int selector)
384 { 384 {