Re: Significance Of sort() In include/linux/sort.h

From: Randy Dunlap
Date: Wed Jun 18 2008 - 15:12:18 EST


On Wed, 18 Jun 2008 20:39:38 +0200 (CEST) Soumyadip Das Mahapatra wrote:

> Hello everybody,
> I dont understand what is the significance of keeping
> include/linux/sort.h and lib/sort.c while i think there is
> none using (#include<linux/sort.h>) it. Can anyone explaint it?

Did you check all of these?

./drivers/message/fusion/mptfc.c:56:#include <linux/sort.h>
./drivers/net/pppol2tp.c:92:#include <linux/sort.h>
./drivers/media/video/saa7134/saa7134-video.c:28:#include <linux/sort.h>
./drivers/media/video/v4l2-int-device.c:27:#include <linux/sort.h>
./fs/gfs2/glock.c:16:#include <linux/sort.h>
./fs/gfs2/dir.c:59:#include <linux/sort.h>
./fs/gfs2/quota.c:44:#include <linux/sort.h>
./fs/gfs2/inode.c:16:#include <linux/sort.h>
./fs/ubifs/find.c:29:#include <linux/sort.h>
./fs/nfs_common/nfsacl.c:28:#include <linux/sort.h>
./lib/extable.c:14:#include <linux/sort.h>
./arch/sparc/prom/memory.c:9:#include <linux/sort.h>
./arch/x86/kernel/test_nx.c:13:#include <linux/sort.h>
./arch/x86/kernel/mmconf-fam10h_64.c:11:#include <linux/sort.h>
./arch/x86/kernel/setup_64.c:44:#include <linux/sort.h>
./arch/x86/kernel/cpu/mtrr/main.c:40:#include <linux/sort.h>
./arch/sparc64/mm/init.c:25:#include <linux/sort.h>
./arch/powerpc/kernel/module_64.c:27:#include <linux/sort.h>
./arch/powerpc/kernel/module_32.c:27:#include <linux/sort.h>
./arch/ia64/mm/extable.c:8:#include <linux/sort.h>
./kernel/lockdep_proc.c:20:#include <linux/sort.h>
./kernel/cpuset.c:52:#include <linux/sort.h>
./kernel/cgroup.c:43:#include <linux/sort.h>
./mm/page_alloc.c:42:#include <linux/sort.h>

---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/