target-microblaze: Clean includes
authorStefan Weil <sw@weilnetz.de>
Wed, 1 Feb 2012 19:55:39 +0000 (20:55 +0100)
committerStefan Weil <sw@weilnetz.de>
Tue, 28 Feb 2012 21:33:42 +0000 (22:33 +0100)
The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
target-microblaze/cpu.h
target-microblaze/helper.c
target-microblaze/mmu.c
target-microblaze/translate.c

index 3ecaeee3463720a73c849efe7e33a084cd8cffbe..409250649d9b773ea9befbea820ea3f14d06ef51 100644 (file)
@@ -19,6 +19,9 @@
 #ifndef CPU_MICROBLAZE_H
 #define CPU_MICROBLAZE_H
 
+#include "config.h"
+#include "qemu-common.h"
+
 #define TARGET_LONG_BITS 32
 
 #define CPUState struct CPUMBState
index 2cf28022bd22b55cd4f55dffe9becb9cb44f7f5a..e1355ff93eb228cc6d07a3cb4c8d0ee760567aa0 100644 (file)
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <stdio.h>
-#include <string.h>
-#include <assert.h>
-
-#include "config.h"
 #include "cpu.h"
 #include "host-utils.h"
 
index 281fc8d8c45224dc23221e34beb888abff90c223..7c34ac0971c3b7a96718c7e0f426ec1af3e66a88 100644 (file)
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
 
-#include "config.h"
 #include "cpu.h"
 
 #define D(x)
index 96ce2ece5183041fcf965251fa9e85ddb4473895..725c2ddf9b8d6de685aa8a5e18e3092863ce749d 100644 (file)
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <stdarg.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <inttypes.h>
-#include <assert.h>
-
 #include "cpu.h"
 #include "disas.h"
 #include "tcg-op.h"
 #include "helper.h"
 #include "microblaze-decode.h"
-#include "qemu-common.h"
 
 #define GEN_HELPER 1
 #include "helper.h"