Hello All,

the attached patch adds support for ARM architecture in initng 0.6.9pre2

hope this help improving the code...



--
Best Regards,

Felipe Balbi
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Nokia Institute of Technology - INdT
Kernel Developers Team
[PATCH] Add support for ARM architecture

	The only thing needed to implement was the correct
	syscalls for ARM architecture.

	This patch adds such syscalls. Already tested with
	OMAP H3 development board.

	The boot time was reduced from around 1:20secs to
	around 0:24secs.

Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
---

Index: initng-0.6.9pre2/plugins/fmon/inotify-syscalls.h
===================================================================
--- initng-0.6.9pre2.orig/plugins/fmon/inotify-syscalls.h
+++ initng-0.6.9pre2/plugins/fmon/inotify-syscalls.h
@@ -25,2 +25,6 @@
 # define __NR_inotify_rm_watch	1279
+#elif defined (__arm__)
+# define __NR_inotify_init	316
+# define __NR_inotify_add_watch	317
+# define __NR_inotify_rm_watch	318
 #else
-- 
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng

Reply via email to