unused functions in system mode


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@432 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/cpu-exec.c b/cpu-exec.c
index 956504d..1f08934 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -378,7 +378,7 @@
     return ret;
 }
 
-#if defined(TARGET_I386)
+#if defined(TARGET_I386) && defined(CONFIG_USER_ONLY)
 
 void cpu_x86_load_seg(CPUX86State *s, int seg_reg, int selector)
 {