On Mon 28 April 2003 17:32, <WHarms@bfs.de>(Walter Harms) wrote: > hi list, > when i was looking into do_mounts() i noticed that > that kernel_thread returns int a quick grep into include/ > showed that the different architectures exspect > pid_t, int , long > maybe it would be a good idea to switch to pid_t for all > architectures. > > did i miss something ? > > walter I've found something similar in find_task_by_pid (include/linux/sched.h:553 [linux kernel 2.4.20] :562 [linux kernel-2.4.21-rc1]) such function declares pid parameter as integer rather than pid_t. Wouldn't it be a good idead to whitch to pid_t in this function too? ------------------------------------------------------------------------------------------------------------------------------------------------------------- PGP Pubblic Key available at http://pgp.mit.edu:11371/pks/lookup?search=belch76@libero.it&op=index ICQ# 104896040 Netphone/Fax 178.605.7063 ------------------------------------------------------------------------------------------------------------------------------------------------------------- Daniele Bellucci -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/