Message ID | 20100127194715.GA4338@redhat.com |
---|---|
State | New |
Headers | show |
On 01/27/2010 01:47 PM, Michael S. Tsirkin wrote: > Ugh, this will fix it. Want me to repost the series? Please do. Regards, Anthony Liguori > diff --git a/exec.c b/exec.c > index 63caca0..2e7434e 100644 > --- a/exec.c > +++ b/exec.c > @@ -1623,6 +1623,7 @@ const CPULogItem cpu_log_items[] = { > { 0, NULL, NULL }, > }; > > +#ifndef CONFIG_USER_ONLY > static QLIST_HEAD(memory_client_list, CPUPhysMemoryClient) memory_client_list > = QLIST_HEAD_INITIALIZER(memory_client_list); > > @@ -1715,6 +1716,7 @@ void cpu_unregister_phys_memory_client(CPUPhysMemoryClient *client) > { > QLIST_REMOVE(client, list); > } > +#endif > > static int cmp1(const char *s1, int n, const char *s2) > { >
diff --git a/exec.c b/exec.c index 63caca0..2e7434e 100644 --- a/exec.c +++ b/exec.c @@ -1623,6 +1623,7 @@ const CPULogItem cpu_log_items[] = { { 0, NULL, NULL }, }; +#ifndef CONFIG_USER_ONLY static QLIST_HEAD(memory_client_list, CPUPhysMemoryClient) memory_client_list = QLIST_HEAD_INITIALIZER(memory_client_list); @@ -1715,6 +1716,7 @@ void cpu_unregister_phys_memory_client(CPUPhysMemoryClient *client) { QLIST_REMOVE(client, list); } +#endif static int cmp1(const char *s1, int n, const char *s2) {