···11-/*22- * linux/fs/proc/proc_misc.c33- *44- * linux/fs/proc/array.c55- * Copyright (C) 1992 by Linus Torvalds66- * based on ideas by Darren Senn77- *88- * This used to be the part of array.c. See the rest of history and credits99- * there. I took this into a separate file and switched the thing to generic1010- * proc_file_inode_operations, leaving in array.c only per-process stuff.1111- * Inumbers allocation made dynamic (via create_proc_entry()). AV, May 1999.1212- *1313- * Changes:1414- * Fulton Green : Encapsulated position metric calculations.1515- * <kernel@FultonGreen.com>1616- */1717-1818-#include <linux/types.h>1919-#include <linux/errno.h>2020-#include <linux/time.h>2121-#include <linux/kernel.h>2222-#include <linux/kernel_stat.h>2323-#include <linux/fs.h>2424-#include <linux/tty.h>2525-#include <linux/string.h>2626-#include <linux/mman.h>2727-#include <linux/quicklist.h>2828-#include <linux/proc_fs.h>2929-#include <linux/ioport.h>3030-#include <linux/mm.h>3131-#include <linux/mmzone.h>3232-#include <linux/pagemap.h>3333-#include <linux/irq.h>3434-#include <linux/interrupt.h>3535-#include <linux/swap.h>3636-#include <linux/slab.h>3737-#include <linux/genhd.h>3838-#include <linux/smp.h>3939-#include <linux/signal.h>4040-#include <linux/module.h>4141-#include <linux/init.h>4242-#include <linux/seq_file.h>4343-#include <linux/times.h>4444-#include <linux/profile.h>4545-#include <linux/utsname.h>4646-#include <linux/blkdev.h>4747-#include <linux/hugetlb.h>4848-#include <linux/jiffies.h>4949-#include <linux/vmalloc.h>5050-#include <linux/crash_dump.h>5151-#include <linux/pid_namespace.h>5252-#include <linux/bootmem.h>5353-#include <asm/uaccess.h>5454-#include <asm/pgtable.h>5555-#include <asm/io.h>5656-#include <asm/tlb.h>5757-#include <asm/div64.h>5858-#include "internal.h"5959-6060-void __init proc_misc_init(void)6161-{6262- proc_symlink("mounts", NULL, "self/mounts");6363-6464- /* And now for trickier ones */6565-}