diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-02-20 09:27:38 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-20 09:27:38 +0000 |
commit | 51464fafdfab94ee47ed4ddf2a79fef434a5c8c7 (patch) | |
tree | 1dbe5c32ed14d56f6964ec4a476a240fbc92a053 /rwhandler.c | |
parent | 36828256692c3cecc83607f22761ceefc382040e (diff) | |
download | qemu-51464fafdfab94ee47ed4ddf2a79fef434a5c8c7.zip |
Don't compile rwhandler.c for user targets
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'rwhandler.c')
-rw-r--r-- | rwhandler.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/rwhandler.c b/rwhandler.c index c50c4bf603..1f9b6db4bc 100644 --- a/rwhandler.c +++ b/rwhandler.c @@ -2,8 +2,6 @@ #include "ioport.h" #include "cpu-all.h" -#if !defined(CONFIG_USER_ONLY) - #define RWHANDLER_WRITE(name, len, type) \ static void name(void *opaque, type addr, uint32_t value) \ {\ @@ -87,5 +85,3 @@ int register_ioport_simple(ReadWriteHandler* handler, } return 0; } - -#endif |