These patches clean an issue which was discussed some weeks ago (http://lists.nongnu.org/archive/html/qemu-devel/2011-09/msg02279.html):
Code which was only needed for the PPC* tcg targets (flush_icache_range, qemu_cache_utils_init) was defined in files used by all host architectures. The 1st patch is trivial and only included because I stumbled across flush_icache_range in a linux-user file. The 2nd patch works for non PPC* hosts, but I could not test it on PPC* host variants. I only moved and formatted code, so hopefully it won't break anything for PPC*. [PATCH 1/2] linux-user: Remove unused code [PATCH 2/2] tcg/ppc*: Move cache initialization to ppc specific code Kind regards, Stefan Weil