qemu/linux-user
aurel32 dbfe4c3611 linux-user: fix problems with inotify syscalls
The sys_inotify* calls are defined if the target supports them and the
host supports the necessary syscalls.  But the syscalls are handled if
the target supports them.  This situation leads to compilation failures
when the host doesn't support the necessary syscalls, as the linker will
complain about undefined functions.

Fix this state of affairs by making the handling conditions the same as
the call definition conditions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Acked-By: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7038 c046a42c-6fe2-441c-8c8c-71466251a162
2009-04-08 21:29:30 +00:00
..
alpha Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
arm Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
cris CRIS: Add a bunch of syscall numbers. 2009-01-07 19:47:53 +00:00
i386 Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
m68k Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
mips More efficient target register / TC accesses. 2008-06-27 10:02:35 +00:00
mips64 More efficient target register / TC accesses. 2008-06-27 10:02:35 +00:00
mipsn32 More efficient target register / TC accesses. 2008-06-27 10:02:35 +00:00
ppc Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
sh4 SH4: Signal handling for the user space emulator, by Magnus Damm. 2007-12-02 06:31:25 +00:00
sparc Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
sparc64 Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
x86_64 x86_64 linux user emulation 2007-11-14 18:08:56 +00:00
elfload32.c Remove unwanted executable properties 2008-04-06 06:04:39 +00:00
elfload.c Convert references to logfile/loglevel to use qemu_log*() macros 2009-01-15 22:34:14 +00:00
envlist.c linux-user: Add generic env variable handling 2009-01-30 19:59:17 +00:00
envlist.h linux-user: Add generic env variable handling 2009-01-30 19:59:17 +00:00
errno_defs.h Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
flat.h Support for 32 bit ABI on 64 bit targets (only enabled Sparc64) 2007-10-14 16:27:31 +00:00
flatload.c Fix more FSF addresses 2009-01-05 18:11:53 +00:00
ioctls.h Add MTIOCTOP, MTIOCGET and MTIOCPOS ioctls (Kirill Shutemov). 2008-09-20 03:03:09 +00:00
linux_loop.h Fix build failure with old kernel headers (loop.h is incompatible with 2008-05-23 16:06:43 +00:00
linuxload.c suppressed tgetx and tputx (initial patch by Thayne Harbaugh) 2007-11-16 10:46:05 +00:00
m68k-sim.c Fix more FSF addresses 2009-01-05 18:11:53 +00:00
main.c Add --with-pkgversion. 2009-04-07 23:17:49 +00:00
mmap.c Partialy fix mmap at EOF for large pagesize targets in user-mode. 2009-02-03 23:06:34 +00:00
path.c linux-user: don't crash with null name 2009-01-30 19:48:07 +00:00
qemu-types.h linux-user: Move abi_* typedefs into qemu-types.h 2008-12-08 18:12:04 +00:00
qemu.h The _exit syscall is used for both thread termination in NPTL applications, 2009-03-07 15:24:59 +00:00
signal.c Use a dedicated function to request exit from execution loop 2009-03-07 21:28:24 +00:00
socket.h Various linux-user structures and definitions fixes for PowerPC targets. 2007-12-10 08:24:59 +00:00
strace.c Use the ARRAY_SIZE() macro where appropriate. 2008-12-22 20:33:55 +00:00
strace.list Fix return value printing for shmat (Lauro Ramos Venancio). 2008-10-28 10:39:39 +00:00
syscall_defs.h target-ppc: Fix struct target_stat64 for 32-bit host 2009-01-30 19:48:32 +00:00
syscall_types.h Add MTIOCTOP, MTIOCGET and MTIOCPOS ioctls (Kirill Shutemov). 2008-09-20 03:03:09 +00:00
syscall.c linux-user: fix problems with inotify syscalls 2009-04-08 21:29:30 +00:00
uaccess.c Suppress gcc 4.x -Wpointer-sign (included in -Wall) warnings 2008-09-20 08:07:15 +00:00
vm86.c Convert references to logfile/loglevel to use qemu_log*() macros 2009-01-15 22:34:14 +00:00