diff options
author | 2020-03-30 09:24:26 +0900 | |
---|---|---|
committer | 2020-03-30 09:24:26 +0900 | |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/meta-openembedded/meta-oe/recipes-support/inotify-tools/inotify-tools/inotify-nosys-fix-system-call-number.patch | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'external/meta-openembedded/meta-oe/recipes-support/inotify-tools/inotify-tools/inotify-nosys-fix-system-call-number.patch')
-rw-r--r-- | external/meta-openembedded/meta-oe/recipes-support/inotify-tools/inotify-tools/inotify-nosys-fix-system-call-number.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/external/meta-openembedded/meta-oe/recipes-support/inotify-tools/inotify-tools/inotify-nosys-fix-system-call-number.patch b/external/meta-openembedded/meta-oe/recipes-support/inotify-tools/inotify-tools/inotify-nosys-fix-system-call-number.patch new file mode 100644 index 00000000..89b890dd --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-support/inotify-tools/inotify-tools/inotify-nosys-fix-system-call-number.patch @@ -0,0 +1,31 @@ +inotify-tools: fix __NR_inotify_add_watch system call number on _MIPS_SIM_ABI64 + +The correct value should be the same as defined in +linux/arch/mips/include/uapi/asm/unistd.h + +Upstream-Status: Summitted [https://github.com/rvoicilas/inotify-tools/pull/71] + +Signed-off-by: Roy Li <rongqing.li@windriver.com> +Signed-off-by: Jackie Huang <jackie.huang@windriver.com> +--- + libinotifytools/src/inotifytools/inotify-nosys.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/libinotifytools/src/inotifytools/inotify-nosys.h b/libinotifytools/src/inotifytools/inotify-nosys.h +index db76b2c..5f7b11b 100644 +--- a/libinotifytools/src/inotifytools/inotify-nosys.h ++++ b/libinotifytools/src/inotifytools/inotify-nosys.h +@@ -100,8 +100,8 @@ struct inotify_event { + # endif + # if _MIPS_SIM == _MIPS_SIM_ABI64 + # define __NR_inotify_init (__NR_Linux + 243) +-# define __NR_inotify_add_watch (__NR_Linux + 243) +-# define __NR_inotify_rm_watch (__NR_Linux + 243) ++# define __NR_inotify_add_watch (__NR_Linux + 244) ++# define __NR_inotify_rm_watch (__NR_Linux + 245) + # endif + # if _MIPS_SIM == _MIPS_SIM_NABI32 + # define __NR_inotify_init (__NR_Linux + 247) +-- +1.7.10.4 + |