Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge git://git.infradead.org/hdrcleanup-2.6

* git://git.infradead.org/hdrcleanup-2.6: (63 commits)
[S390] __FD_foo definitions.
Switch to __s32 types in joystick.h instead of C99 types for consistency.
Add <sys/types.h> to headers included for userspace in <linux/input.h>
Move inclusion of <linux/compat.h> out of user scope in asm-x86_64/mtrr.h
Remove struct fddi_statistics from user view in <linux/if_fddi.h>
Move user-visible parts of drivers/s390/crypto/z90crypt.h to include/asm-s390
Revert include/media changes: Mauro says those ioctls are only used in-kernel(!)
Include <linux/types.h> and use __uXX types in <linux/cramfs_fs.h>
Use __uXX types in <linux/i2o_dev.h>, include <linux/ioctl.h> too
Remove private struct dx_hash_info from public view in <linux/ext3_fs.h>
Include <linux/types.h> and use __uXX types in <linux/affs_hardblocks.h>
Use __uXX types in <linux/divert.h> for struct divert_blk et al.
Use __u32 for elf_addr_t in <asm-powerpc/elf.h>, not u32. It's user-visible.
Remove PPP_FCS from user view in <linux/ppp_defs.h>, remove __P mess entirely
Use __uXX types in user-visible structures in <linux/nbd.h>
Don't use 'u32' in user-visible struct ip_conntrack_old_tuple.
Use __uXX types for S390 DASD volume label definitions which are user-visible
S390 BIODASDREADCMB ioctl should use __u64 not u64 type.
Remove unneeded inclusion of <linux/time.h> from <linux/ufs_fs.h>
Fix private integer types used in V4L2 ioctls.
...

Manually resolve conflict in include/linux/mtd/physmap.h

+839 -1645
+2 -183
drivers/s390/crypto/z90crypt.h
··· 1 1 /* 2 2 * linux/drivers/s390/crypto/z90crypt.h 3 3 * 4 - * z90crypt 1.3.3 4 + * z90crypt 1.3.3 (kernel-private header) 5 5 * 6 6 * Copyright (C) 2001, 2005 IBM Corporation 7 7 * Author(s): Robert Burroughs (burrough@us.ibm.com) ··· 27 27 #ifndef _Z90CRYPT_H_ 28 28 #define _Z90CRYPT_H_ 29 29 30 - #include <linux/ioctl.h> 31 - 32 - #define z90crypt_VERSION 1 33 - #define z90crypt_RELEASE 3 // 2 = PCIXCC, 3 = rewrite for coding standards 34 - #define z90crypt_VARIANT 3 // 3 = CEX2A support 35 - 36 - /** 37 - * struct ica_rsa_modexpo 38 - * 39 - * Requirements: 40 - * - outputdatalength is at least as large as inputdatalength. 41 - * - All key parts are right justified in their fields, padded on 42 - * the left with zeroes. 43 - * - length(b_key) = inputdatalength 44 - * - length(n_modulus) = inputdatalength 45 - */ 46 - struct ica_rsa_modexpo { 47 - char __user * inputdata; 48 - unsigned int inputdatalength; 49 - char __user * outputdata; 50 - unsigned int outputdatalength; 51 - char __user * b_key; 52 - char __user * n_modulus; 53 - }; 54 - 55 - /** 56 - * struct ica_rsa_modexpo_crt 57 - * 58 - * Requirements: 59 - * - inputdatalength is even. 60 - * - outputdatalength is at least as large as inputdatalength. 61 - * - All key parts are right justified in their fields, padded on 62 - * the left with zeroes. 63 - * - length(bp_key) = inputdatalength/2 + 8 64 - * - length(bq_key) = inputdatalength/2 65 - * - length(np_key) = inputdatalength/2 + 8 66 - * - length(nq_key) = inputdatalength/2 67 - * - length(u_mult_inv) = inputdatalength/2 + 8 68 - */ 69 - struct ica_rsa_modexpo_crt { 70 - char __user * inputdata; 71 - unsigned int inputdatalength; 72 - char __user * outputdata; 73 - unsigned int outputdatalength; 74 - char __user * bp_key; 75 - char __user * bq_key; 76 - char __user * np_prime; 77 - char __user * nq_prime; 78 - char __user * u_mult_inv; 79 - }; 80 - 81 - #define Z90_IOCTL_MAGIC 'z' // NOTE: Need to allocate from linux folks 82 - 83 - /** 84 - * Interface notes: 85 - * 86 - * The ioctl()s which are implemented (along with relevant details) 87 - * are: 88 - * 89 - * ICARSAMODEXPO 90 - * Perform an RSA operation using a Modulus-Exponent pair 91 - * This takes an ica_rsa_modexpo struct as its arg. 92 - * 93 - * NOTE: please refer to the comments preceding this structure 94 - * for the implementation details for the contents of the 95 - * block 96 - * 97 - * ICARSACRT 98 - * Perform an RSA operation using a Chinese-Remainder Theorem key 99 - * This takes an ica_rsa_modexpo_crt struct as its arg. 100 - * 101 - * NOTE: please refer to the comments preceding this structure 102 - * for the implementation details for the contents of the 103 - * block 104 - * 105 - * Z90STAT_TOTALCOUNT 106 - * Return an integer count of all device types together. 107 - * 108 - * Z90STAT_PCICACOUNT 109 - * Return an integer count of all PCICAs. 110 - * 111 - * Z90STAT_PCICCCOUNT 112 - * Return an integer count of all PCICCs. 113 - * 114 - * Z90STAT_PCIXCCMCL2COUNT 115 - * Return an integer count of all MCL2 PCIXCCs. 116 - * 117 - * Z90STAT_PCIXCCMCL3COUNT 118 - * Return an integer count of all MCL3 PCIXCCs. 119 - * 120 - * Z90STAT_CEX2CCOUNT 121 - * Return an integer count of all CEX2Cs. 122 - * 123 - * Z90STAT_CEX2ACOUNT 124 - * Return an integer count of all CEX2As. 125 - * 126 - * Z90STAT_REQUESTQ_COUNT 127 - * Return an integer count of the number of entries waiting to be 128 - * sent to a device. 129 - * 130 - * Z90STAT_PENDINGQ_COUNT 131 - * Return an integer count of the number of entries sent to a 132 - * device awaiting the reply. 133 - * 134 - * Z90STAT_TOTALOPEN_COUNT 135 - * Return an integer count of the number of open file handles. 136 - * 137 - * Z90STAT_DOMAIN_INDEX 138 - * Return the integer value of the Cryptographic Domain. 139 - * 140 - * Z90STAT_STATUS_MASK 141 - * Return an 64 element array of unsigned chars for the status of 142 - * all devices. 143 - * 0x01: PCICA 144 - * 0x02: PCICC 145 - * 0x03: PCIXCC_MCL2 146 - * 0x04: PCIXCC_MCL3 147 - * 0x05: CEX2C 148 - * 0x06: CEX2A 149 - * 0x0d: device is disabled via the proc filesystem 150 - * 151 - * Z90STAT_QDEPTH_MASK 152 - * Return an 64 element array of unsigned chars for the queue 153 - * depth of all devices. 154 - * 155 - * Z90STAT_PERDEV_REQCNT 156 - * Return an 64 element array of unsigned integers for the number 157 - * of successfully completed requests per device since the device 158 - * was detected and made available. 159 - * 160 - * ICAZ90STATUS (deprecated) 161 - * Return some device driver status in a ica_z90_status struct 162 - * This takes an ica_z90_status struct as its arg. 163 - * 164 - * NOTE: this ioctl() is deprecated, and has been replaced with 165 - * single ioctl()s for each type of status being requested 166 - * 167 - * Z90STAT_PCIXCCCOUNT (deprecated) 168 - * Return an integer count of all PCIXCCs (MCL2 + MCL3). 169 - * This is DEPRECATED now that MCL3 PCIXCCs are treated differently from 170 - * MCL2 PCIXCCs. 171 - * 172 - * Z90QUIESCE (not recommended) 173 - * Quiesce the driver. This is intended to stop all new 174 - * requests from being processed. Its use is NOT recommended, 175 - * except in circumstances where there is no other way to stop 176 - * callers from accessing the driver. Its original use was to 177 - * allow the driver to be "drained" of work in preparation for 178 - * a system shutdown. 179 - * 180 - * NOTE: once issued, this ban on new work cannot be undone 181 - * except by unloading and reloading the driver. 182 - */ 183 - 184 - /** 185 - * Supported ioctl calls 186 - */ 187 - #define ICARSAMODEXPO _IOC(_IOC_READ|_IOC_WRITE, Z90_IOCTL_MAGIC, 0x05, 0) 188 - #define ICARSACRT _IOC(_IOC_READ|_IOC_WRITE, Z90_IOCTL_MAGIC, 0x06, 0) 189 - 190 - /* DEPRECATED status calls (bound for removal at some point) */ 191 - #define ICAZ90STATUS _IOR(Z90_IOCTL_MAGIC, 0x10, struct ica_z90_status) 192 - #define Z90STAT_PCIXCCCOUNT _IOR(Z90_IOCTL_MAGIC, 0x43, int) 193 - 194 - /* unrelated to ICA callers */ 195 - #define Z90QUIESCE _IO(Z90_IOCTL_MAGIC, 0x11) 196 - 197 - /* New status calls */ 198 - #define Z90STAT_TOTALCOUNT _IOR(Z90_IOCTL_MAGIC, 0x40, int) 199 - #define Z90STAT_PCICACOUNT _IOR(Z90_IOCTL_MAGIC, 0x41, int) 200 - #define Z90STAT_PCICCCOUNT _IOR(Z90_IOCTL_MAGIC, 0x42, int) 201 - #define Z90STAT_PCIXCCMCL2COUNT _IOR(Z90_IOCTL_MAGIC, 0x4b, int) 202 - #define Z90STAT_PCIXCCMCL3COUNT _IOR(Z90_IOCTL_MAGIC, 0x4c, int) 203 - #define Z90STAT_CEX2CCOUNT _IOR(Z90_IOCTL_MAGIC, 0x4d, int) 204 - #define Z90STAT_CEX2ACOUNT _IOR(Z90_IOCTL_MAGIC, 0x4e, int) 205 - #define Z90STAT_REQUESTQ_COUNT _IOR(Z90_IOCTL_MAGIC, 0x44, int) 206 - #define Z90STAT_PENDINGQ_COUNT _IOR(Z90_IOCTL_MAGIC, 0x45, int) 207 - #define Z90STAT_TOTALOPEN_COUNT _IOR(Z90_IOCTL_MAGIC, 0x46, int) 208 - #define Z90STAT_DOMAIN_INDEX _IOR(Z90_IOCTL_MAGIC, 0x47, int) 209 - #define Z90STAT_STATUS_MASK _IOR(Z90_IOCTL_MAGIC, 0x48, char[64]) 210 - #define Z90STAT_QDEPTH_MASK _IOR(Z90_IOCTL_MAGIC, 0x49, char[64]) 211 - #define Z90STAT_PERDEV_REQCNT _IOR(Z90_IOCTL_MAGIC, 0x4a, int[64]) 30 + #include <asm/z90crypt.h> 212 31 213 32 /** 214 33 * local errno definitions
-1
include/acpi/platform/aclinux.h
··· 49 49 50 50 #ifdef __KERNEL__ 51 51 52 - #include <linux/config.h> 53 52 #include <linux/string.h> 54 53 #include <linux/kernel.h> 55 54 #include <linux/ctype.h>
-1
include/acpi/processor.h
··· 2 2 #define __ACPI_PROCESSOR_H 3 3 4 4 #include <linux/kernel.h> 5 - #include <linux/config.h> 6 5 7 6 #include <asm/acpi.h> 8 7
-1
include/asm-alpha/bitops.h
··· 1 1 #ifndef _ALPHA_BITOPS_H 2 2 #define _ALPHA_BITOPS_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/compiler.h> 6 5 7 6 /*
-1
include/asm-alpha/cache.h
··· 4 4 #ifndef __ARCH_ALPHA_CACHE_H 5 5 #define __ARCH_ALPHA_CACHE_H 6 6 7 - #include <linux/config.h> 8 7 9 8 /* Bytes per L1 (data) cache line. */ 10 9 #if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_EV6)
-1
include/asm-alpha/cacheflush.h
··· 1 1 #ifndef _ALPHA_CACHEFLUSH_H 2 2 #define _ALPHA_CACHEFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 7 6 /* Caches aren't brain-dead on the Alpha. */
-1
include/asm-alpha/core_cia.h
··· 4 4 /* Define to experiment with fitting everything into one 512MB HAE window. */ 5 5 #define CIA_ONE_HAE_WINDOW 1 6 6 7 - #include <linux/config.h> 8 7 #include <linux/types.h> 9 8 #include <asm/compiler.h> 10 9
-1
include/asm-alpha/core_t2.h
··· 1 1 #ifndef __ALPHA_T2__H__ 2 2 #define __ALPHA_T2__H__ 3 3 4 - #include <linux/config.h> 5 4 #include <linux/types.h> 6 5 #include <linux/spinlock.h> 7 6 #include <asm/compiler.h>
-1
include/asm-alpha/dma-mapping.h
··· 1 1 #ifndef _ALPHA_DMA_MAPPING_H 2 2 #define _ALPHA_DMA_MAPPING_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_PCI 7 6
-1
include/asm-alpha/dma.h
··· 18 18 #ifndef _ASM_DMA_H 19 19 #define _ASM_DMA_H 20 20 21 - #include <linux/config.h> 22 21 #include <linux/spinlock.h> 23 22 #include <asm/io.h> 24 23
-1
include/asm-alpha/floppy.h
··· 10 10 #ifndef __ASM_ALPHA_FLOPPY_H 11 11 #define __ASM_ALPHA_FLOPPY_H 12 12 13 - #include <linux/config.h> 14 13 15 14 #define fd_inb(port) inb_p(port) 16 15 #define fd_outb(value,port) outb_p(value,port)
-1
include/asm-alpha/hardirq.h
··· 1 1 #ifndef _ALPHA_HARDIRQ_H 2 2 #define _ALPHA_HARDIRQ_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/threads.h> 6 5 #include <linux/cache.h> 7 6
-1
include/asm-alpha/hw_irq.h
··· 1 1 #ifndef _ALPHA_HW_IRQ_H 2 2 #define _ALPHA_HW_IRQ_H 3 3 4 - #include <linux/config.h> 5 4 6 5 static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {} 7 6
-1
include/asm-alpha/ide.h
··· 13 13 14 14 #ifdef __KERNEL__ 15 15 16 - #include <linux/config.h> 17 16 18 17 #define IDE_ARCH_OBSOLETE_DEFAULTS 19 18
-1
include/asm-alpha/io.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 #include <linux/kernel.h> 8 7 #include <asm/compiler.h> 9 8 #include <asm/system.h>
-1
include/asm-alpha/irq.h
··· 8 8 */ 9 9 10 10 #include <linux/linkage.h> 11 - #include <linux/config.h> 12 11 13 12 #if defined(CONFIG_ALPHA_GENERIC) 14 13
-1
include/asm-alpha/kmap_types.h
··· 3 3 4 4 /* Dummy header just to define km_type. */ 5 5 6 - #include <linux/config.h> 7 6 8 7 #ifdef CONFIG_DEBUG_HIGHMEM 9 8 # define D(n) __KM_FENCE_##n ,
-1
include/asm-alpha/machvec.h
··· 1 1 #ifndef __ALPHA_MACHVEC_H 2 2 #define __ALPHA_MACHVEC_H 1 3 3 4 - #include <linux/config.h> 5 4 #include <linux/types.h> 6 5 7 6 /*
-1
include/asm-alpha/mmu_context.h
··· 7 7 * Copyright (C) 1996, Linus Torvalds 8 8 */ 9 9 10 - #include <linux/config.h> 11 10 #include <asm/system.h> 12 11 #include <asm/machvec.h> 13 12 #include <asm/compiler.h>
-1
include/asm-alpha/mmzone.h
··· 5 5 #ifndef _ASM_MMZONE_H_ 6 6 #define _ASM_MMZONE_H_ 7 7 8 - #include <linux/config.h> 9 8 #include <asm/smp.h> 10 9 11 10 struct bootmem_data_t; /* stupid forward decl. */
-1
include/asm-alpha/page.h
··· 1 1 #ifndef _ALPHA_PAGE_H 2 2 #define _ALPHA_PAGE_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/pal.h> 6 5 7 6 /* PAGE_SHIFT determines the page size */
-1
include/asm-alpha/param.h
··· 5 5 hardware ignores reprogramming. We also need userland buy-in to the 6 6 change in HZ, since this is visible in the wait4 resources etc. */ 7 7 8 - #include <linux/config.h> 9 8 10 9 #ifndef HZ 11 10 # ifndef CONFIG_ALPHA_RAWHIDE
-1
include/asm-alpha/pgalloc.h
··· 1 1 #ifndef _ALPHA_PGALLOC_H 2 2 #define _ALPHA_PGALLOC_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 #include <linux/mmzone.h> 7 6
-1
include/asm-alpha/pgtable.h
··· 10 10 * This hopefully works with any standard Alpha page-size, as defined 11 11 * in <asm/page.h> (currently 8192). 12 12 */ 13 - #include <linux/config.h> 14 13 #include <linux/mmzone.h> 15 14 16 15 #include <asm/page.h>
-1
include/asm-alpha/serial.h
··· 2 2 * include/asm-alpha/serial.h 3 3 */ 4 4 5 - #include <linux/config.h> 6 5 7 6 /* 8 7 * This assumes you have a 1.8432 MHz clock for your UART.
-1
include/asm-alpha/smp.h
··· 1 1 #ifndef __ASM_SMP_H 2 2 #define __ASM_SMP_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/threads.h> 6 5 #include <linux/cpumask.h> 7 6 #include <linux/bitops.h>
-1
include/asm-alpha/spinlock.h
··· 1 1 #ifndef _ALPHA_SPINLOCK_H 2 2 #define _ALPHA_SPINLOCK_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/system.h> 6 5 #include <linux/kernel.h> 7 6 #include <asm/current.h>
-1
include/asm-alpha/system.h
··· 1 1 #ifndef __ALPHA_SYSTEM_H 2 2 #define __ALPHA_SYSTEM_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/pal.h> 6 5 #include <asm/page.h> 7 6 #include <asm/barrier.h>
-1
include/asm-alpha/tlbflush.h
··· 1 1 #ifndef _ALPHA_TLBFLUSH_H 2 2 #define _ALPHA_TLBFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 #include <asm/compiler.h> 7 6
+4 -3
include/asm-alpha/unistd.h
··· 383 383 #define __NR_inotify_add_watch 445 384 384 #define __NR_inotify_rm_watch 446 385 385 386 + #ifdef __KERNEL__ 387 + 386 388 #define NR_SYSCALLS 447 387 389 388 390 #if defined(__GNUC__) ··· 567 565 _syscall_return(type); \ 568 566 } 569 567 570 - #endif /* __LIBRARY__ && __GNUC__ */ 568 + #endif /* __GNUC__ */ 571 569 572 - #ifdef __KERNEL__ 573 570 #define __ARCH_WANT_IPC_PARSE_VERSION 574 571 #define __ARCH_WANT_OLD_READDIR 575 572 #define __ARCH_WANT_STAT64 ··· 579 578 #define __ARCH_WANT_SYS_OLD_GETRLIMIT 580 579 #define __ARCH_WANT_SYS_OLDUMOUNT 581 580 #define __ARCH_WANT_SYS_SIGPENDING 582 - #endif 583 581 584 582 #ifdef __KERNEL_SYSCALLS__ 585 583 ··· 661 661 662 662 #define cond_syscall(x) asm(".weak\t" #x "\n" #x " = sys_ni_syscall") 663 663 664 + #endif /* __KERNEL__ */ 664 665 #endif /* _ALPHA_UNISTD_H */
-1
include/asm-arm/apm.h
··· 13 13 #ifndef ARM_ASM_SA1100_APM_H 14 14 #define ARM_ASM_SA1100_APM_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/apm_bios.h> 18 17 19 18 /*
-1
include/asm-arm/arch-aaec2000/memory.h
··· 11 11 #ifndef __ASM_ARCH_MEMORY_H 12 12 #define __ASM_ARCH_MEMORY_H 13 13 14 - #include <linux/config.h> 15 14 16 15 #define PHYS_OFFSET UL(0xf0000000) 17 16
-1
include/asm-arm/arch-cl7500/acornfb.h
··· 1 - #include <linux/config.h> 2 1 #define acornfb_valid_pixrate(var) (var->pixclock >= 39325 && var->pixclock <= 40119) 3 2 4 3 static inline void
-1
include/asm-arm/arch-clps711x/hardware.h
··· 22 22 #ifndef __ASM_ARCH_HARDWARE_H 23 23 #define __ASM_ARCH_HARDWARE_H 24 24 25 - #include <linux/config.h> 26 25 27 26 #define CLPS7111_VIRT_BASE 0xff000000 28 27 #define CLPS7111_BASE CLPS7111_VIRT_BASE
-1
include/asm-arm/arch-clps711x/memory.h
··· 20 20 #ifndef __ASM_ARCH_MEMORY_H 21 21 #define __ASM_ARCH_MEMORY_H 22 22 23 - #include <linux/config.h> 24 23 25 24 /* 26 25 * Physical DRAM offset.
-1
include/asm-arm/arch-clps711x/uncompress.h
··· 17 17 * along with this program; if not, write to the Free Software 18 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 19 */ 20 - #include <linux/config.h> 21 20 #include <asm/arch/io.h> 22 21 #include <asm/hardware.h> 23 22 #include <asm/hardware/clps7111.h>
-1
include/asm-arm/arch-ebsa285/hardware.h
··· 12 12 #ifndef __ASM_ARCH_HARDWARE_H 13 13 #define __ASM_ARCH_HARDWARE_H 14 14 15 - #include <linux/config.h> 16 15 #include <asm/arch/memory.h> 17 16 18 17 #ifdef CONFIG_ARCH_FOOTBRIDGE
-1
include/asm-arm/arch-ebsa285/memory.h
··· 19 19 #ifndef __ASM_ARCH_MEMORY_H 20 20 #define __ASM_ARCH_MEMORY_H 21 21 22 - #include <linux/config.h> 23 22 24 23 #if defined(CONFIG_FOOTBRIDGE_ADDIN) 25 24 /*
-1
include/asm-arm/arch-ebsa285/vmalloc.h
··· 6 6 * published by the Free Software Foundation. 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 11 10 #ifdef CONFIG_ARCH_FOOTBRIDGE 12 11 #define VMALLOC_END (PAGE_OFFSET + 0x30000000)
-1
include/asm-arm/arch-integrator/smp.h
··· 1 1 #ifndef ASMARM_ARCH_SMP_H 2 2 #define ASMARM_ARCH_SMP_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #include <asm/hardware.h> 7 6 #include <asm/io.h>
-1
include/asm-arm/arch-iop3xx/memory.h
··· 5 5 #ifndef __ASM_ARCH_MEMORY_H 6 6 #define __ASM_ARCH_MEMORY_H 7 7 8 - #include <linux/config.h> 9 8 #include <asm/hardware.h> 10 9 11 10 /*
-1
include/asm-arm/arch-iop3xx/timex.h
··· 3 3 * 4 4 * IOP3xx architecture timex specifications 5 5 */ 6 - #include <linux/config.h> 7 6 #include <asm/hardware.h> 8 7 9 8 #if defined(CONFIG_ARCH_IQ80321) || defined(CONFIG_ARCH_IQ31244)
-1
include/asm-arm/arch-iop3xx/uncompress.h
··· 1 1 /* 2 2 * linux/include/asm-arm/arch-iop3xx/uncompress.h 3 3 */ 4 - #include <linux/config.h> 5 4 #include <asm/types.h> 6 5 #include <asm/mach-types.h> 7 6 #include <linux/serial_reg.h>
-1
include/asm-arm/arch-ixp4xx/dma.h
··· 11 11 #ifndef __ASM_ARCH_DMA_H 12 12 #define __ASM_ARCH_DMA_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/device.h> 16 15 #include <linux/pci.h> 17 16 #include <asm/page.h>
-1
include/asm-arm/arch-lh7a40x/constants.h
··· 12 12 #ifndef __ASM_ARCH_CONSTANTS_H 13 13 #define __ASM_ARCH_CONSTANTS_H 14 14 15 - #include <linux/config.h> 16 15 17 16 /* Addressing constants */ 18 17
-1
include/asm-arm/arch-lh7a40x/irqs.h
··· 18 18 #ifndef __ASM_ARCH_IRQS_H 19 19 #define __ASM_ARCH_IRQS_H 20 20 21 - #include <linux/config.h> 22 21 23 22 #define FIQ_START 80 24 23
-1
include/asm-arm/arch-lh7a40x/registers.h
··· 9 9 * 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 #include <asm/arch/constants.h> 14 13 15 14 #ifndef __ASM_ARCH_REGISTERS_H
-1
include/asm-arm/arch-omap/board.h
··· 10 10 #ifndef _OMAP_BOARD_H 11 11 #define _OMAP_BOARD_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/types.h> 15 14 16 15 /* Different peripheral ids */
-1
include/asm-arm/arch-omap/hardware.h
··· 37 37 #define __ASM_ARCH_OMAP_HARDWARE_H 38 38 39 39 #include <asm/sizes.h> 40 - #include <linux/config.h> 41 40 #ifndef __ASSEMBLER__ 42 41 #include <asm/types.h> 43 42 #include <asm/arch/cpu.h>
-1
include/asm-arm/arch-omap/system.h
··· 4 4 */ 5 5 #ifndef __ASM_ARCH_SYSTEM_H 6 6 #define __ASM_ARCH_SYSTEM_H 7 - #include <linux/config.h> 8 7 #include <linux/clk.h> 9 8 10 9 #include <asm/mach-types.h>
-1
include/asm-arm/arch-omap/uncompress.h
··· 17 17 * kind, whether express or implied. 18 18 */ 19 19 20 - #include <linux/config.h> 21 20 #include <linux/types.h> 22 21 #include <linux/serial_reg.h> 23 22 #include <asm/arch/serial.h>
-1
include/asm-arm/arch-pxa/idp.h
··· 15 15 * Changes for 2.6 kernel. 16 16 */ 17 17 18 - #include <linux/config.h> 19 18 20 19 /* 21 20 * Note: this file must be safe to include in assembly files
-1
include/asm-arm/arch-pxa/irqs.h
··· 10 10 * published by the Free Software Foundation. 11 11 */ 12 12 13 - #include <linux/config.h> 14 13 15 14 #ifdef CONFIG_PXA27x 16 15 #define PXA_IRQ_SKIP 0
-1
include/asm-arm/arch-pxa/pxa-regs.h
··· 13 13 #ifndef __PXA_REGS_H 14 14 #define __PXA_REGS_H 15 15 16 - #include <linux/config.h> 17 16 18 17 /* 19 18 * PXA Chip selects
-1
include/asm-arm/arch-pxa/timex.h
··· 10 10 * published by the Free Software Foundation. 11 11 */ 12 12 13 - #include <linux/config.h> 14 13 15 14 #if defined(CONFIG_PXA25x) 16 15 /* PXA250/210 timer base */
-1
include/asm-arm/arch-realview/smp.h
··· 1 1 #ifndef ASMARM_ARCH_SMP_H 2 2 #define ASMARM_ARCH_SMP_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #include <asm/hardware/gic.h> 7 6
-1
include/asm-arm/arch-s3c2410/dma.h
··· 18 18 #ifndef __ASM_ARCH_DMA_H 19 19 #define __ASM_ARCH_DMA_H __FILE__ 20 20 21 - #include <linux/config.h> 22 21 #include <linux/sysdev.h> 23 22 #include "hardware.h" 24 23
-1
include/asm-arm/arch-s3c2410/uncompress.h
··· 22 22 #ifndef __ASM_ARCH_UNCOMPRESS_H 23 23 #define __ASM_ARCH_UNCOMPRESS_H 24 24 25 - #include <linux/config.h> 26 25 27 26 /* defines for UART registers */ 28 27 #include "asm/arch/regs-serial.h"
-1
include/asm-arm/arch-sa1100/assabet.h
··· 12 12 #ifndef __ASM_ARCH_ASSABET_H 13 13 #define __ASM_ARCH_ASSABET_H 14 14 15 - #include <linux/config.h> 16 15 17 16 /* System Configuration Register flags */ 18 17
-1
include/asm-arm/arch-sa1100/cerf.h
··· 10 10 #ifndef _INCLUDE_CERF_H_ 11 11 #define _INCLUDE_CERF_H_ 12 12 13 - #include <linux/config.h> 14 13 15 14 #define CERF_ETH_IO 0xf0000000 16 15 #define CERF_ETH_IRQ IRQ_GPIO26
-1
include/asm-arm/arch-sa1100/collie.h
··· 13 13 #ifndef __ASM_ARCH_COLLIE_H 14 14 #define __ASM_ARCH_COLLIE_H 15 15 16 - #include <linux/config.h> 17 16 18 17 #define COLLIE_SCP_CHARGE_ON SCOOP_GPCR_PA11 19 18 #define COLLIE_SCP_DIAG_BOOT1 SCOOP_GPCR_PA12
-1
include/asm-arm/arch-sa1100/dma.h
··· 10 10 #ifndef __ASM_ARCH_DMA_H 11 11 #define __ASM_ARCH_DMA_H 12 12 13 - #include <linux/config.h> 14 13 #include "hardware.h" 15 14 16 15
-1
include/asm-arm/arch-sa1100/hardware.h
··· 12 12 #ifndef __ASM_ARCH_HARDWARE_H 13 13 #define __ASM_ARCH_HARDWARE_H 14 14 15 - #include <linux/config.h> 16 15 17 16 #define UNCACHEABLE_ADDR 0xfa050000 18 17
-1
include/asm-arm/arch-sa1100/ide.h
··· 9 9 * architectures. 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 #include <asm/irq.h> 14 13 #include <asm/hardware.h> 15 14 #include <asm/mach-types.h>
-1
include/asm-arm/arch-sa1100/irqs.h
··· 7 7 * 8 8 * 2001/11/14 RMK Cleaned up and standardised a lot of the IRQs. 9 9 */ 10 - #include <linux/config.h> 11 10 12 11 #define IRQ_GPIO0 0 13 12 #define IRQ_GPIO1 1
-1
include/asm-arm/arch-sa1100/memory.h
··· 7 7 #ifndef __ASM_ARCH_MEMORY_H 8 8 #define __ASM_ARCH_MEMORY_H 9 9 10 - #include <linux/config.h> 11 10 #include <asm/sizes.h> 12 11 13 12 /*
-1
include/asm-arm/arch-sa1100/system.h
··· 3 3 * 4 4 * Copyright (c) 1999 Nicolas Pitre <nico@cam.org> 5 5 */ 6 - #include <linux/config.h> 7 6 #include <asm/hardware.h> 8 7 9 8 static inline void arch_idle(void)
-1
include/asm-arm/atomic.h
··· 11 11 #ifndef __ASM_ARM_ATOMIC_H 12 12 #define __ASM_ARM_ATOMIC_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/compiler.h> 16 15 17 16 typedef struct { volatile int counter; } atomic_t;
-1
include/asm-arm/bug.h
··· 2 2 #define _ASMARM_BUG_H 3 3 4 4 #include <linux/config.h> 5 - #include <linux/stddef.h> 6 5 7 6 #ifdef CONFIG_BUG 8 7 #ifdef CONFIG_DEBUG_BUGVERBOSE
-1
include/asm-arm/cacheflush.h
··· 10 10 #ifndef _ASMARM_CACHEFLUSH_H 11 11 #define _ASMARM_CACHEFLUSH_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/sched.h> 15 14 #include <linux/mm.h> 16 15
-1
include/asm-arm/cpu.h
··· 10 10 #ifndef __ASM_ARM_CPU_H 11 11 #define __ASM_ARM_CPU_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/percpu.h> 15 14 16 15 struct cpuinfo_arm {
-1
include/asm-arm/dma-mapping.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 #include <linux/mm.h> /* need struct page */ 8 7 9 8 #include <asm/scatterlist.h>
-1
include/asm-arm/dma.h
··· 3 3 4 4 typedef unsigned int dmach_t; 5 5 6 - #include <linux/config.h> 7 6 #include <linux/spinlock.h> 8 7 #include <asm/system.h> 9 8 #include <asm/scatterlist.h>
-1
include/asm-arm/elf.h
··· 1 1 #ifndef __ASMARM_ELF_H 2 2 #define __ASMARM_ELF_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * ELF register definitions..
-1
include/asm-arm/fpstate.h
··· 11 11 #ifndef __ASM_ARM_FPSTATE_H 12 12 #define __ASM_ARM_FPSTATE_H 13 13 14 - #include <linux/config.h> 15 14 16 15 #ifndef __ASSEMBLY__ 17 16
-1
include/asm-arm/glue.h
··· 15 15 */ 16 16 #ifdef __KERNEL__ 17 17 18 - #include <linux/config.h> 19 18 20 19 #ifdef __STDC__ 21 20 #define ____glue(name,fn) name##fn
-1
include/asm-arm/hardirq.h
··· 1 1 #ifndef __ASM_HARDIRQ_H 2 2 #define __ASM_HARDIRQ_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/cache.h> 6 5 #include <linux/threads.h> 7 6 #include <asm/irq.h>
-1
include/asm-arm/hardware/dec21285.h
··· 18 18 #define DC21285_PCI_IO 0x7c000000 19 19 #define DC21285_PCI_MEM 0x80000000 20 20 21 - #include <linux/config.h> 22 21 #ifndef __ASSEMBLY__ 23 22 #include <asm/hardware.h> 24 23 #define DC21285_IO(x) ((volatile unsigned long *)(ARMCSR_BASE+(x)))
-1
include/asm-arm/hardware/iomd.h
··· 13 13 #ifndef __ASMARM_HARDWARE_IOMD_H 14 14 #define __ASMARM_HARDWARE_IOMD_H 15 15 16 - #include <linux/config.h> 17 16 18 17 #ifndef __ASSEMBLY__ 19 18
-1
include/asm-arm/leds.h
··· 13 13 #ifndef ASM_ARM_LEDS_H 14 14 #define ASM_ARM_LEDS_H 15 15 16 - #include <linux/config.h> 17 16 18 17 typedef enum { 19 18 led_idle_start,
-1
include/asm-arm/mach/serial_at91rm9200.h
··· 7 7 * 8 8 * Low level machine dependent UART functions. 9 9 */ 10 - #include <linux/config.h> 11 10 12 11 struct uart_port; 13 12
-1
include/asm-arm/mach/serial_sa1100.h
··· 7 7 * 8 8 * Low level machine dependent UART functions. 9 9 */ 10 - #include <linux/config.h> 11 10 12 11 struct uart_port; 13 12 struct uart_info;
-1
include/asm-arm/memory.h
··· 22 22 #define UL(x) (x) 23 23 #endif 24 24 25 - #include <linux/config.h> 26 25 #include <linux/compiler.h> 27 26 #include <asm/arch/memory.h> 28 27 #include <asm/sizes.h>
-1
include/asm-arm/page.h
··· 10 10 #ifndef _ASMARM_PAGE_H 11 11 #define _ASMARM_PAGE_H 12 12 13 - #include <linux/config.h> 14 13 15 14 /* PAGE_SHIFT determines the page size */ 16 15 #define PAGE_SHIFT 12
-1
include/asm-arm/pci.h
··· 2 2 #define ASMARM_PCI_H 3 3 4 4 #ifdef __KERNEL__ 5 - #include <linux/config.h> 6 5 #include <asm-generic/pci-dma-compat.h> 7 6 8 7 #include <asm/hardware.h> /* for PCIBIOS_MIN_* */
-1
include/asm-arm/proc-fns.h
··· 13 13 14 14 #ifdef __KERNEL__ 15 15 16 - #include <linux/config.h> 17 16 18 17 /* 19 18 * Work out if we need multiple CPU support
-1
include/asm-arm/ptrace.h
··· 10 10 #ifndef __ASM_ARM_PTRACE_H 11 11 #define __ASM_ARM_PTRACE_H 12 12 13 - #include <linux/config.h> 14 13 15 14 #define PTRACE_GETREGS 12 16 15 #define PTRACE_SETREGS 13
-1
include/asm-arm/smp.h
··· 10 10 #ifndef __ASM_ARM_SMP_H 11 11 #define __ASM_ARM_SMP_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/threads.h> 15 14 #include <linux/cpumask.h> 16 15 #include <linux/thread_info.h>
-1
include/asm-arm/system.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 8 7 #define CPU_ARCH_UNKNOWN 0 9 8 #define CPU_ARCH_ARMv3 1
-1
include/asm-arm/tlbflush.h
··· 10 10 #ifndef _ASMARM_TLBFLUSH_H 11 11 #define _ASMARM_TLBFLUSH_H 12 12 13 - #include <linux/config.h> 14 13 15 14 #ifndef CONFIG_MMU 16 15
+5 -5
include/asm-arm/unistd.h
··· 13 13 #ifndef __ASM_ARM_UNISTD_H 14 14 #define __ASM_ARM_UNISTD_H 15 15 16 - #include <linux/linkage.h> 17 - 18 16 #define __NR_OABI_SYSCALL_BASE 0x900000 19 17 20 18 #if defined(__thumb__) || defined(__ARM_EABI__) ··· 376 378 #undef __NR_ipc 377 379 #endif 378 380 381 + #ifdef __KERNEL__ 382 + #include <linux/linkage.h> 383 + 379 384 #define __sys2(x) #x 380 385 #define __sys1(x) __sys2(x) 381 386 ··· 527 526 __syscall_return(type,__res); \ 528 527 } 529 528 530 - #ifdef __KERNEL__ 531 529 #define __ARCH_WANT_IPC_PARSE_VERSION 532 530 #define __ARCH_WANT_STAT64 533 531 #define __ARCH_WANT_SYS_GETHOSTNAME ··· 546 546 #define __ARCH_WANT_SYS_OLD_GETRLIMIT 547 547 #define __ARCH_WANT_OLD_READDIR 548 548 #define __ARCH_WANT_SYS_SOCKETCALL 549 - #endif 550 549 #endif 551 550 552 551 #ifdef __KERNEL_SYSCALLS__ ··· 570 571 struct sigaction __user *oact, 571 572 size_t sigsetsize); 572 573 573 - #endif 574 + #endif /* __KERNEL_SYSCALLS__ */ 574 575 575 576 /* 576 577 * "Conditional" syscalls ··· 580 581 */ 581 582 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 582 583 584 + #endif /* __KERNEL__ */ 583 585 #endif /* __ASM_ARM_UNISTD_H */
-1
include/asm-arm26/atomic.h
··· 20 20 #ifndef __ASM_ARM_ATOMIC_H 21 21 #define __ASM_ARM_ATOMIC_H 22 22 23 - #include <linux/config.h> 24 23 25 24 #ifdef CONFIG_SMP 26 25 #error SMP is NOT supported
-1
include/asm-arm26/bug.h
··· 1 1 #ifndef _ASMARM_BUG_H 2 2 #define _ASMARM_BUG_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_BUG 7 6 #ifdef CONFIG_DEBUG_BUGVERBOSE
-1
include/asm-arm26/dma.h
··· 3 3 4 4 typedef unsigned int dmach_t; 5 5 6 - #include <linux/config.h> 7 6 #include <linux/spinlock.h> 8 7 #include <asm/system.h> 9 8 #include <asm/memory.h>
-1
include/asm-arm26/hardirq.h
··· 1 1 #ifndef __ASM_HARDIRQ_H 2 2 #define __ASM_HARDIRQ_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/cache.h> 6 5 #include <linux/threads.h> 7 6 #include <asm/irq.h>
-1
include/asm-arm26/hardware.h
··· 16 16 #ifndef __ASM_HARDWARE_H 17 17 #define __ASM_HARDWARE_H 18 18 19 - #include <linux/config.h> 20 19 21 20 22 21 /*
-1
include/asm-arm26/io.h
··· 22 22 23 23 #ifdef __KERNEL__ 24 24 25 - #include <linux/config.h> 26 25 #include <linux/types.h> 27 26 #include <asm/byteorder.h> 28 27 #include <asm/memory.h>
-1
include/asm-arm26/leds.h
··· 13 13 #ifndef ASM_ARM_LEDS_H 14 14 #define ASM_ARM_LEDS_H 15 15 16 - #include <linux/config.h> 17 16 18 17 typedef enum { 19 18 led_idle_start,
-1
include/asm-arm26/mach-types.h
··· 6 6 #ifndef __ASM_ARM_MACH_TYPE_H 7 7 #define __ASM_ARM_MACH_TYPE_H 8 8 9 - #include <linux/config.h> 10 9 11 10 #ifndef __ASSEMBLY__ 12 11 extern unsigned int __machine_arch_type;
-1
include/asm-arm26/page.h
··· 1 1 #ifndef _ASMARM_PAGE_H 2 2 #define _ASMARM_PAGE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef __KERNEL__ 7 6 #ifndef __ASSEMBLY__
-1
include/asm-arm26/pgtable.h
··· 13 13 14 14 #include <asm-generic/4level-fixup.h> 15 15 16 - #include <linux/config.h> 17 16 #include <asm/memory.h> 18 17 19 18 /*
-1
include/asm-arm26/serial.h
··· 14 14 #ifndef __ASM_SERIAL_H 15 15 #define __ASM_SERIAL_H 16 16 17 - #include <linux/config.h> 18 17 19 18 /* 20 19 * This assumes you have a 1.8432 MHz clock for your UART.
-1
include/asm-arm26/smp.h
··· 1 1 #ifndef __ASM_SMP_H 2 2 #define __ASM_SMP_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_SMP 7 6 #error SMP not supported
-1
include/asm-arm26/sysirq.h
··· 11 11 * 04-04-1998 PJB Merged arc and a5k versions 12 12 */ 13 13 14 - #include <linux/config.h> 15 14 16 15 #if defined(CONFIG_ARCH_A5K) 17 16 #define IRQ_PRINTER 0
-1
include/asm-arm26/system.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 8 7 /* 9 8 * This is used to ensure the compiler did actually allocate the register we
+5 -5
include/asm-arm26/unistd.h
··· 14 14 #ifndef __ASM_ARM_UNISTD_H 15 15 #define __ASM_ARM_UNISTD_H 16 16 17 - #include <linux/linkage.h> 18 - 19 17 #define __NR_SYSCALL_BASE 0x900000 20 18 21 19 /* ··· 310 312 #define __ARM_NR_cacheflush (__ARM_NR_BASE+2) 311 313 #define __ARM_NR_usr26 (__ARM_NR_BASE+3) 312 314 315 + #ifdef __KERNEL__ 316 + #include <linux/linkage.h> 317 + 313 318 #define __sys2(x) #x 314 319 #define __sys1(x) __sys2(x) 315 320 ··· 444 443 __syscall_return(type,__res); \ 445 444 } 446 445 447 - #ifdef __KERNEL__ 448 446 #define __ARCH_WANT_IPC_PARSE_VERSION 449 447 #define __ARCH_WANT_OLD_READDIR 450 448 #define __ARCH_WANT_STAT64 ··· 462 462 #define __ARCH_WANT_SYS_SIGPENDING 463 463 #define __ARCH_WANT_SYS_SIGPROCMASK 464 464 #define __ARCH_WANT_SYS_RT_SIGACTION 465 - #endif 466 465 467 466 #ifdef __KERNEL_SYSCALLS__ 468 467 ··· 485 486 struct sigaction __user *oact, 486 487 size_t sigsetsize); 487 488 488 - #endif 489 + #endif /* __KERNEL_SYSCALLS__ */ 489 490 490 491 /* 491 492 * "Conditional" syscalls ··· 495 496 */ 496 497 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 497 498 499 + #endif /* __KERNEL__ */ 498 500 #endif /* __ASM_ARM_UNISTD_H */
-1
include/asm-cris/arch-v10/io.h
··· 2 2 #define _ASM_ARCH_CRIS_IO_H 3 3 4 4 #include <asm/arch/svinto.h> 5 - #include <linux/config.h> 6 5 7 6 /* Etrax shadow registers - which live in arch/cris/kernel/shadows.c */ 8 7
-1
include/asm-cris/arch-v10/page.h
··· 1 1 #ifndef _CRIS_ARCH_PAGE_H 2 2 #define _CRIS_ARCH_PAGE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef __KERNEL__ 7 6
-1
include/asm-cris/arch-v10/system.h
··· 1 1 #ifndef __ASM_CRIS_ARCH_SYSTEM_H 2 2 #define __ASM_CRIS_ARCH_SYSTEM_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* read the CPU version register */ 7 6
-1
include/asm-cris/arch-v32/io.h
··· 4 4 #include <asm/arch/hwregs/reg_map.h> 5 5 #include <asm/arch/hwregs/reg_rdwr.h> 6 6 #include <asm/arch/hwregs/gio_defs.h> 7 - #include <linux/config.h> 8 7 9 8 enum crisv32_io_dir 10 9 {
-1
include/asm-cris/arch-v32/irq.h
··· 1 1 #ifndef _ASM_ARCH_IRQ_H 2 2 #define _ASM_ARCH_IRQ_H 3 3 4 - #include <linux/config.h> 5 4 #include "hwregs/intr_vect.h" 6 5 7 6 /* Number of non-cpu interrupts. */
-1
include/asm-cris/arch-v32/page.h
··· 1 1 #ifndef _ASM_CRIS_ARCH_PAGE_H 2 2 #define _ASM_CRIS_ARCH_PAGE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef __KERNEL__ 7 6
-1
include/asm-cris/arch-v32/processor.h
··· 1 1 #ifndef _ASM_CRIS_ARCH_PROCESSOR_H 2 2 #define _ASM_CRIS_ARCH_PROCESSOR_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* Return current instruction pointer. */ 7 6 #define current_text_addr() \
-1
include/asm-cris/arch-v32/system.h
··· 1 1 #ifndef _ASM_CRIS_ARCH_SYSTEM_H 2 2 #define _ASM_CRIS_ARCH_SYSTEM_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* Read the CPU version register. */ 7 6 static inline unsigned long rdvr(void)
-1
include/asm-cris/eshlibld.h
··· 32 32 /* We have dependencies all over the place for the host system 33 33 for xsim being a linux system, so let's not pretend anything 34 34 else with #ifdef:s here until fixed. */ 35 - #include <linux/config.h> 36 35 #include <linux/limits.h> 37 36 38 37 /* Maybe do sanity checking if file input. */
-1
include/asm-cris/etraxgpio.h
··· 25 25 #ifndef _ASM_ETRAXGPIO_H 26 26 #define _ASM_ETRAXGPIO_H 27 27 28 - #include <linux/config.h> 29 28 /* etraxgpio _IOC_TYPE, bits 8 to 15 in ioctl cmd */ 30 29 #ifdef CONFIG_ETRAX_ARCH_V10 31 30 #define ETRAXGPIO_IOCTYPE 43
-1
include/asm-cris/fasttimer.h
··· 5 5 * This may be useful in other OS than Linux so use 2 space indentation... 6 6 * Copyright (C) 2000, 2002 Axis Communications AB 7 7 */ 8 - #include <linux/config.h> 9 8 #include <linux/time.h> /* struct timeval */ 10 9 #include <linux/timex.h> 11 10
-1
include/asm-cris/page.h
··· 1 1 #ifndef _CRIS_PAGE_H 2 2 #define _CRIS_PAGE_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/arch/page.h> 6 5 7 6 /* PAGE_SHIFT determines the page size */
-1
include/asm-cris/pci.h
··· 1 1 #ifndef __ASM_CRIS_PCI_H 2 2 #define __ASM_CRIS_PCI_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef __KERNEL__ 7 6 #include <linux/mm.h> /* for struct page */
-1
include/asm-cris/pgtable.h
··· 9 9 #include <asm-generic/pgtable-nopmd.h> 10 10 11 11 #ifndef __ASSEMBLY__ 12 - #include <linux/config.h> 13 12 #include <linux/sched.h> 14 13 #include <asm/mmu.h> 15 14 #endif
-1
include/asm-cris/processor.h
··· 10 10 #ifndef __ASM_CRIS_PROCESSOR_H 11 11 #define __ASM_CRIS_PROCESSOR_H 12 12 13 - #include <linux/config.h> 14 13 #include <asm/system.h> 15 14 #include <asm/page.h> 16 15 #include <asm/ptrace.h>
-1
include/asm-cris/rtc.h
··· 4 4 #define __RTC_H__ 5 5 6 6 7 - #include <linux/config.h> 8 7 9 8 #ifdef CONFIG_ETRAX_DS1302 10 9 /* Dallas DS1302 clock/calendar register numbers. */
-1
include/asm-cris/tlbflush.h
··· 1 1 #ifndef _CRIS_TLBFLUSH_H 2 2 #define _CRIS_TLBFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 #include <asm/processor.h> 7 6 #include <asm/pgtable.h>
+4 -5
include/asm-cris/unistd.h
··· 295 295 #define __NR_request_key 287 296 296 #define __NR_keyctl 288 297 297 298 + #ifdef __KERNEL__ 299 + 298 300 #define NR_syscalls 289 299 301 300 302 301 - 302 - #ifdef __KERNEL__ 303 303 #define __ARCH_WANT_IPC_PARSE_VERSION 304 304 #define __ARCH_WANT_OLD_READDIR 305 305 #define __ARCH_WANT_OLD_STAT ··· 379 379 * complaints. We don't want to use -fno-builtin, so just use a 380 380 * different name when in the kernel. 381 381 */ 382 - #ifdef __KERNEL__ 383 382 #define _exit kernel_syscall_exit 384 - #endif 385 383 static inline _syscall1(int,_exit,int,exitcode) 386 384 static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) 387 - #endif 385 + #endif /* __KERNEL_SYSCALLS__ */ 388 386 389 387 390 388 /* ··· 393 395 */ 394 396 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 395 397 398 + #endif /* __KERNEL__ */ 396 399 #endif /* _ASM_CRIS_UNISTD_H_ */
-1
include/asm-frv/atomic.h
··· 14 14 #ifndef _ASM_ATOMIC_H 15 15 #define _ASM_ATOMIC_H 16 16 17 - #include <linux/config.h> 18 17 #include <linux/types.h> 19 18 #include <asm/spr-regs.h> 20 19
-1
include/asm-frv/bitops.h
··· 14 14 #ifndef _ASM_BITOPS_H 15 15 #define _ASM_BITOPS_H 16 16 17 - #include <linux/config.h> 18 17 #include <linux/compiler.h> 19 18 #include <asm/byteorder.h> 20 19 #include <asm/system.h>
-1
include/asm-frv/bug.h
··· 11 11 #ifndef _ASM_BUG_H 12 12 #define _ASM_BUG_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/linkage.h> 16 15 17 16 #ifdef CONFIG_BUG
-1
include/asm-frv/cache.h
··· 12 12 #ifndef __ASM_CACHE_H 13 13 #define __ASM_CACHE_H 14 14 15 - #include <linux/config.h> 16 15 17 16 /* bytes per L1 cache line */ 18 17 #define L1_CACHE_SHIFT (CONFIG_FRV_L1_CACHE_SHIFT)
-1
include/asm-frv/dma.h
··· 14 14 15 15 //#define DMA_DEBUG 1 16 16 17 - #include <linux/config.h> 18 17 #include <linux/interrupt.h> 19 18 20 19 #undef MAX_DMA_CHANNELS /* don't use kernel/dma.c */
-1
include/asm-frv/elf.h
··· 12 12 #ifndef __ASM_ELF_H 13 13 #define __ASM_ELF_H 14 14 15 - #include <linux/config.h> 16 15 #include <asm/ptrace.h> 17 16 #include <asm/user.h> 18 17
-1
include/asm-frv/fpu.h
··· 1 1 #ifndef __ASM_FPU_H 2 2 #define __ASM_FPU_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * MAX floating point unit state size (FSAVE/FRESTORE)
-1
include/asm-frv/hardirq.h
··· 12 12 #ifndef __ASM_HARDIRQ_H 13 13 #define __ASM_HARDIRQ_H 14 14 15 - #include <linux/config.h> 16 15 #include <linux/threads.h> 17 16 #include <linux/irq.h> 18 17
-1
include/asm-frv/highmem.h
··· 17 17 18 18 #ifdef __KERNEL__ 19 19 20 - #include <linux/config.h> 21 20 #include <linux/init.h> 22 21 #include <asm/mem-layout.h> 23 22 #include <asm/spr-regs.h>
-1
include/asm-frv/ide.h
··· 14 14 15 15 #ifdef __KERNEL__ 16 16 17 - #include <linux/config.h> 18 17 #include <asm/setup.h> 19 18 #include <asm/io.h> 20 19 #include <asm/irq.h>
-1
include/asm-frv/io.h
··· 17 17 18 18 #ifdef __KERNEL__ 19 19 20 - #include <linux/config.h> 21 20 #include <linux/types.h> 22 21 #include <asm/virtconvert.h> 23 22 #include <asm/string.h>
-1
include/asm-frv/irq.h
··· 12 12 #ifndef _ASM_IRQ_H_ 13 13 #define _ASM_IRQ_H_ 14 14 15 - #include <linux/config.h> 16 15 17 16 /* 18 17 * the system has an on-CPU PIC and another PIC on the FPGA and other PICs on other peripherals,
-1
include/asm-frv/mmu_context.h
··· 12 12 #ifndef _ASM_MMU_CONTEXT_H 13 13 #define _ASM_MMU_CONTEXT_H 14 14 15 - #include <linux/config.h> 16 15 #include <asm/setup.h> 17 16 #include <asm/page.h> 18 17 #include <asm/pgalloc.h>
-1
include/asm-frv/page.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 #include <asm/virtconvert.h> 8 7 #include <asm/mem-layout.h> 9 8 #include <asm/sections.h>
-1
include/asm-frv/pci.h
··· 13 13 #ifndef ASM_PCI_H 14 14 #define ASM_PCI_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/mm.h> 18 17 #include <asm/scatterlist.h> 19 18 #include <asm-generic/pci-dma-compat.h>
-1
include/asm-frv/pgalloc.h
··· 15 15 #ifndef _ASM_PGALLOC_H 16 16 #define _ASM_PGALLOC_H 17 17 18 - #include <linux/config.h> 19 18 #include <asm/setup.h> 20 19 #include <asm/virtconvert.h> 21 20
-1
include/asm-frv/pgtable.h
··· 16 16 #ifndef _ASM_PGTABLE_H 17 17 #define _ASM_PGTABLE_H 18 18 19 - #include <linux/config.h> 20 19 #include <asm/mem-layout.h> 21 20 #include <asm/setup.h> 22 21 #include <asm/processor.h>
-1
include/asm-frv/processor.h
··· 12 12 #ifndef _ASM_PROCESSOR_H 13 13 #define _ASM_PROCESSOR_H 14 14 15 - #include <linux/config.h> 16 15 #include <asm/mem-layout.h> 17 16 18 17 #ifndef __ASSEMBLY__
-1
include/asm-frv/segment.h
··· 12 12 #ifndef _ASM_SEGMENT_H 13 13 #define _ASM_SEGMENT_H 14 14 15 - #include <linux/config.h> 16 15 17 16 #ifndef __ASSEMBLY__ 18 17
-1
include/asm-frv/serial.h
··· 6 6 * 7 7 * Based on linux/include/asm-i386/serial.h 8 8 */ 9 - #include <linux/config.h> 10 9 #include <asm/serial-regs.h> 11 10 12 11 /*
-1
include/asm-frv/smp.h
··· 1 1 #ifndef __ASM_SMP_H 2 2 #define __ASM_SMP_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_SMP 7 6 #error SMP not supported
-1
include/asm-frv/system.h
··· 12 12 #ifndef _ASM_SYSTEM_H 13 13 #define _ASM_SYSTEM_H 14 14 15 - #include <linux/config.h> /* get configuration macros */ 16 15 #include <linux/linkage.h> 17 16 #include <asm/atomic.h> 18 17
-1
include/asm-frv/tlbflush.h
··· 12 12 #ifndef _ASM_TLBFLUSH_H 13 13 #define _ASM_TLBFLUSH_H 14 14 15 - #include <linux/config.h> 16 15 #include <linux/mm.h> 17 16 #include <asm/processor.h> 18 17
-1
include/asm-frv/types.h
··· 46 46 47 47 #ifndef __ASSEMBLY__ 48 48 49 - #include <linux/config.h> 50 49 51 50 typedef signed char s8; 52 51 typedef unsigned char u8;
-1
include/asm-frv/unaligned.h
··· 12 12 #ifndef _ASM_UNALIGNED_H 13 13 #define _ASM_UNALIGNED_H 14 14 15 - #include <linux/config.h> 16 15 17 16 /* 18 17 * Unaligned accesses on uClinux can't be performed in a fault handler - the
+4 -3
include/asm-frv/unistd.h
··· 317 317 #define __NR_pselect6 308 318 318 #define __NR_ppoll 309 319 319 320 + #ifdef __KERNEL__ 321 + 320 322 #define NR_syscalls 310 321 323 322 324 /* ··· 479 477 return waitpid(-1,wait_stat,0); 480 478 } 481 479 482 - #endif 480 + #endif /* __KERNEL_SYSCALLS__ */ 483 481 484 - #ifdef __KERNEL__ 485 482 #define __ARCH_WANT_IPC_PARSE_VERSION 486 483 /* #define __ARCH_WANT_OLD_READDIR */ 487 484 #define __ARCH_WANT_OLD_STAT ··· 504 503 #define __ARCH_WANT_SYS_SIGPROCMASK 505 504 #define __ARCH_WANT_SYS_RT_SIGACTION 506 505 #define __ARCH_WANT_SYS_RT_SIGSUSPEND 507 - #endif 508 506 509 507 /* 510 508 * "Conditional" syscalls ··· 515 515 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 516 516 #endif 517 517 518 + #endif /* __KERNEL__ */ 518 519 #endif /* _ASM_UNISTD_H_ */
-1
include/asm-frv/virtconvert.h
··· 17 17 18 18 #ifdef __KERNEL__ 19 19 20 - #include <linux/config.h> 21 20 #include <asm/setup.h> 22 21 23 22 #ifdef CONFIG_MMU
-1
include/asm-generic/bug.h
··· 2 2 #define _ASM_GENERIC_BUG_H 3 3 4 4 #include <linux/compiler.h> 5 - #include <linux/config.h> 6 5 7 6 #ifdef CONFIG_BUG 8 7 #ifndef HAVE_ARCH_BUG
-1
include/asm-generic/dma-mapping.h
··· 7 7 #ifndef _ASM_GENERIC_DMA_MAPPING_H 8 8 #define _ASM_GENERIC_DMA_MAPPING_H 9 9 10 - #include <linux/config.h> 11 10 12 11 #ifdef CONFIG_PCI 13 12
-1
include/asm-generic/fcntl.h
··· 1 1 #ifndef _ASM_GENERIC_FCNTL_H 2 2 #define _ASM_GENERIC_FCNTL_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/types.h> 6 5 7 6 /* open/fcntl - O_SYNC is only implemented on blocks devices and on files
-1
include/asm-generic/local.h
··· 1 1 #ifndef _ASM_GENERIC_LOCAL_H 2 2 #define _ASM_GENERIC_LOCAL_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/percpu.h> 6 5 #include <linux/hardirq.h> 7 6 #include <asm/atomic.h>
+7
include/asm-generic/signal.h
··· 1 + #ifndef __ASM_GENERIC_SIGNAL_H 2 + #define __ASM_GENERIC_SIGNAL_H 3 + 4 + #include <linux/compiler.h> 5 + 1 6 #ifndef SIG_BLOCK 2 7 #define SIG_BLOCK 0 /* for blocking signals */ 3 8 #endif ··· 24 19 #define SIG_IGN ((__force __sighandler_t)1) /* ignore signal */ 25 20 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */ 26 21 #endif 22 + 23 + #endif /* __ASM_GENERIC_SIGNAL_H */
-1
include/asm-generic/tlb.h
··· 13 13 #ifndef _ASM_GENERIC__TLB_H 14 14 #define _ASM_GENERIC__TLB_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/swap.h> 18 17 #include <asm/pgalloc.h> 19 18 #include <asm/tlbflush.h>
-1
include/asm-h8300/bitops.h
··· 6 6 * Copyright 2002, Yoshinori Sato 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 #include <linux/compiler.h> 11 10 #include <asm/system.h> 12 11
-1
include/asm-h8300/dma.h
··· 1 1 #ifndef _H8300_DMA_H 2 2 #define _H8300_DMA_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * Set number of channels of DMA on ColdFire for different implementations.
-1
include/asm-h8300/elf.h
··· 5 5 * ELF register definitions.. 6 6 */ 7 7 8 - #include <linux/config.h> 9 8 #include <asm/ptrace.h> 10 9 #include <asm/user.h> 11 10
-1
include/asm-h8300/hardirq.h
··· 2 2 #define __H8300_HARDIRQ_H 3 3 4 4 #include <linux/kernel.h> 5 - #include <linux/config.h> 6 5 #include <linux/threads.h> 7 6 #include <linux/interrupt.h> 8 7 #include <linux/irq.h>
-1
include/asm-h8300/io.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 #include <asm/virtconvert.h> 8 7 9 8 #if defined(CONFIG_H83007) || defined(CONFIG_H83068)
-1
include/asm-h8300/keyboard.h
··· 7 7 #ifndef _H8300_KEYBOARD_H 8 8 #define _H8300_KEYBOARD_H 9 9 10 - #include <linux/config.h> 11 10 12 11 /* dummy i.e. no real keyboard */ 13 12 #define kbd_setkeycode(x...) (-ENOSYS)
-1
include/asm-h8300/mmu_context.h
··· 1 1 #ifndef __H8300_MMU_CONTEXT_H 2 2 #define __H8300_MMU_CONTEXT_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/setup.h> 6 5 #include <asm/page.h> 7 6 #include <asm/pgalloc.h>
-1
include/asm-h8300/page.h
··· 1 1 #ifndef _H8300_PAGE_H 2 2 #define _H8300_PAGE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* PAGE_SHIFT determines the page size */ 7 6
-1
include/asm-h8300/page_offset.h
··· 1 1 2 - #include <linux/config.h> 3 2 #define PAGE_OFFSET_RAW 0x00000000 4 3
-1
include/asm-h8300/param.h
··· 1 1 #ifndef _H8300_PARAM_H 2 2 #define _H8300_PARAM_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifndef HZ 7 6 #define HZ 100
-1
include/asm-h8300/pgtable.h
··· 3 3 4 4 #include <asm-generic/4level-fixup.h> 5 5 6 - #include <linux/config.h> 7 6 #include <linux/slab.h> 8 7 #include <asm/processor.h> 9 8 #include <asm/page.h>
-1
include/asm-h8300/processor.h
··· 17 17 */ 18 18 #define current_text_addr() ({ __label__ _l; _l: &&_l;}) 19 19 20 - #include <linux/config.h> 21 20 #include <asm/segment.h> 22 21 #include <asm/fpu.h> 23 22 #include <asm/ptrace.h>
-1
include/asm-h8300/semaphore-helper.h
··· 10 10 * m68k version by Andreas Schwab 11 11 */ 12 12 13 - #include <linux/config.h> 14 13 #include <linux/errno.h> 15 14 16 15 /*
-1
include/asm-h8300/shm.h
··· 1 1 #ifndef _H8300_SHM_H 2 2 #define _H8300_SHM_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* format of page table entries that correspond to shared memory pages 7 6 currently out in swap space (see also mm/swap.c):
-1
include/asm-h8300/system.h
··· 1 1 #ifndef _H8300_SYSTEM_H 2 2 #define _H8300_SYSTEM_H 3 3 4 - #include <linux/config.h> /* get configuration macros */ 5 4 #include <linux/linkage.h> 6 5 7 6 /*
-1
include/asm-h8300/unaligned.h
··· 1 1 #ifndef __H8300_UNALIGNED_H 2 2 #define __H8300_UNALIGNED_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* Use memmove here, so gcc does not insert a __builtin_memcpy. */ 7 6
+4 -3
include/asm-h8300/unistd.h
··· 292 292 #define __NR_request_key 287 293 293 #define __NR_keyctl 288 294 294 295 + #ifdef __KERNEL__ 296 + 295 297 #define NR_syscalls 289 296 298 297 299 ··· 462 460 __syscall_return(type, __res); \ 463 461 } 464 462 465 - #ifdef __KERNEL__ 466 463 #define __ARCH_WANT_IPC_PARSE_VERSION 467 464 #define __ARCH_WANT_OLD_READDIR 468 465 #define __ARCH_WANT_OLD_STAT ··· 484 483 #define __ARCH_WANT_SYS_SIGPENDING 485 484 #define __ARCH_WANT_SYS_SIGPROCMASK 486 485 #define __ARCH_WANT_SYS_RT_SIGACTION 487 - #endif 488 486 489 487 #ifdef __KERNEL_SYSCALLS__ 490 488 ··· 534 534 struct sigaction __user *oact, 535 535 size_t sigsetsize); 536 536 537 - #endif 537 + #endif /* __KERNEL_SYSCALLS__ */ 538 538 539 539 /* 540 540 * "Conditional" syscalls ··· 543 543 asm (".weak\t_" #name "\n" \ 544 544 ".set\t_" #name ",_sys_ni_syscall"); 545 545 546 + #endif /* __KERNEL__ */ 546 547 #endif /* _ASM_H8300_UNISTD_H_ */
-1
include/asm-h8300/virtconvert.h
··· 7 7 8 8 #ifdef __KERNEL__ 9 9 10 - #include <linux/config.h> 11 10 #include <asm/setup.h> 12 11 #include <asm/page.h> 13 12
-1
include/asm-i386/apic.h
··· 1 1 #ifndef __ASM_APIC_H 2 2 #define __ASM_APIC_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/pm.h> 6 5 #include <asm/fixmap.h> 7 6 #include <asm/apicdef.h>
-1
include/asm-i386/atomic.h
··· 1 1 #ifndef __ARCH_I386_ATOMIC__ 2 2 #define __ARCH_I386_ATOMIC__ 3 3 4 - #include <linux/config.h> 5 4 #include <linux/compiler.h> 6 5 #include <asm/processor.h> 7 6
-1
include/asm-i386/bitops.h
··· 5 5 * Copyright 1992, Linus Torvalds. 6 6 */ 7 7 8 - #include <linux/config.h> 9 8 #include <linux/compiler.h> 10 9 #include <asm/alternative.h> 11 10
-1
include/asm-i386/bug.h
··· 1 1 #ifndef _I386_BUG_H 2 2 #define _I386_BUG_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * Tell the user there is some problem.
-1
include/asm-i386/bugs.h
··· 17 17 * void check_bugs(void); 18 18 */ 19 19 20 - #include <linux/config.h> 21 20 #include <linux/init.h> 22 21 #include <asm/processor.h> 23 22 #include <asm/i387.h>
-1
include/asm-i386/byteorder.h
··· 8 8 9 9 /* For avoiding bswap on i386 */ 10 10 #ifdef __KERNEL__ 11 - #include <linux/config.h> 12 11 #endif 13 12 14 13 static __inline__ __attribute_const__ __u32 ___arch__swab32(__u32 x)
-1
include/asm-i386/cache.h
··· 4 4 #ifndef __ARCH_I386_CACHE_H 5 5 #define __ARCH_I386_CACHE_H 6 6 7 - #include <linux/config.h> 8 7 9 8 /* L1 cache line size */ 10 9 #define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT)
-1
include/asm-i386/dma.h
··· 8 8 #ifndef _ASM_DMA_H 9 9 #define _ASM_DMA_H 10 10 11 - #include <linux/config.h> 12 11 #include <linux/spinlock.h> /* And spinlocks */ 13 12 #include <asm/io.h> /* need byte IO */ 14 13 #include <linux/delay.h>
-1
include/asm-i386/fixmap.h
··· 13 13 #ifndef _ASM_FIXMAP_H 14 14 #define _ASM_FIXMAP_H 15 15 16 - #include <linux/config.h> 17 16 18 17 /* used by vmalloc.c, vsyscall.lds.S. 19 18 *
-1
include/asm-i386/hardirq.h
··· 1 1 #ifndef __ASM_HARDIRQ_H 2 2 #define __ASM_HARDIRQ_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/threads.h> 6 5 #include <linux/irq.h> 7 6
-1
include/asm-i386/highmem.h
··· 20 20 21 21 #ifdef __KERNEL__ 22 22 23 - #include <linux/config.h> 24 23 #include <linux/interrupt.h> 25 24 #include <linux/threads.h> 26 25 #include <asm/kmap_types.h>
-1
include/asm-i386/hpet.h
··· 27 27 #include <asm/processor.h> 28 28 29 29 #include <linux/timex.h> 30 - #include <linux/config.h> 31 30 32 31 #include <asm/fixmap.h> 33 32
-1
include/asm-i386/hw_irq.h
··· 12 12 * <tomsoft@informatik.tu-chemnitz.de> 13 13 */ 14 14 15 - #include <linux/config.h> 16 15 #include <linux/profile.h> 17 16 #include <asm/atomic.h> 18 17 #include <asm/irq.h>
-1
include/asm-i386/ide.h
··· 13 13 14 14 #ifdef __KERNEL__ 15 15 16 - #include <linux/config.h> 17 16 18 17 #ifndef MAX_HWIFS 19 18 # ifdef CONFIG_BLK_DEV_IDEPCI
-1
include/asm-i386/io.h
··· 1 1 #ifndef _ASM_IO_H 2 2 #define _ASM_IO_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/string.h> 6 5 #include <linux/compiler.h> 7 6
-1
include/asm-i386/io_apic.h
··· 1 1 #ifndef __ASM_IO_APIC_H 2 2 #define __ASM_IO_APIC_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/types.h> 6 5 #include <asm/mpspec.h> 7 6
-1
include/asm-i386/irq.h
··· 10 10 * <tomsoft@informatik.tu-chemnitz.de> 11 11 */ 12 12 13 - #include <linux/config.h> 14 13 #include <linux/sched.h> 15 14 /* include comes from machine specific directory */ 16 15 #include "irq_vectors.h"
-1
include/asm-i386/kmap_types.h
··· 1 1 #ifndef _ASM_KMAP_TYPES_H 2 2 #define _ASM_KMAP_TYPES_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_DEBUG_HIGHMEM 7 6 # define D(n) __KM_FENCE_##n ,
-1
include/asm-i386/mach-summit/mach_apic.h
··· 1 1 #ifndef __ASM_MACH_APIC_H 2 2 #define __ASM_MACH_APIC_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/smp.h> 6 5 7 6 #define esr_disable (1)
-1
include/asm-i386/mmu_context.h
··· 1 1 #ifndef __I386_SCHED_H 2 2 #define __I386_SCHED_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/desc.h> 6 5 #include <asm/atomic.h> 7 6 #include <asm/pgalloc.h>
-1
include/asm-i386/mtrr.h
··· 23 23 #ifndef _LINUX_MTRR_H 24 24 #define _LINUX_MTRR_H 25 25 26 - #include <linux/config.h> 27 26 #include <linux/ioctl.h> 28 27 #include <linux/errno.h> 29 28
+2 -3
include/asm-i386/page.h
··· 12 12 #ifdef __KERNEL__ 13 13 #ifndef __ASSEMBLY__ 14 14 15 - #include <linux/config.h> 16 15 17 16 #ifdef CONFIG_X86_USE_3DNOW 18 17 ··· 136 137 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \ 137 138 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 138 139 139 - #endif /* __KERNEL__ */ 140 - 141 140 #include <asm-generic/memory_model.h> 142 141 #include <asm-generic/page.h> 142 + 143 + #endif /* __KERNEL__ */ 143 144 144 145 #endif /* _I386_PAGE_H */
-1
include/asm-i386/param.h
··· 2 2 #define _ASMi386_PARAM_H 3 3 4 4 #ifdef __KERNEL__ 5 - # include <linux/config.h> 6 5 # define HZ CONFIG_HZ /* Internal kernel timer frequency */ 7 6 # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ 8 7 # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
-1
include/asm-i386/pci.h
··· 1 1 #ifndef __i386_PCI_H 2 2 #define __i386_PCI_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef __KERNEL__ 7 6 #include <linux/mm.h> /* for struct page */
-1
include/asm-i386/pgalloc.h
··· 1 1 #ifndef _I386_PGALLOC_H 2 2 #define _I386_PGALLOC_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/fixmap.h> 6 5 #include <linux/threads.h> 7 6 #include <linux/mm.h> /* for struct page */
-1
include/asm-i386/pgtable.h
··· 1 1 #ifndef _I386_PGTABLE_H 2 2 #define _I386_PGTABLE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * The Linux memory management assumes a three-level page table setup. On
-1
include/asm-i386/processor.h
··· 17 17 #include <asm/msr.h> 18 18 #include <asm/system.h> 19 19 #include <linux/cache.h> 20 - #include <linux/config.h> 21 20 #include <linux/threads.h> 22 21 #include <asm/percpu.h> 23 22 #include <linux/cpumask.h>
-1
include/asm-i386/serial.h
··· 2 2 * include/asm-i386/serial.h 3 3 */ 4 4 5 - #include <linux/config.h> 6 5 7 6 /* 8 7 * This assumes you have a 1.8432 MHz clock for your UART.
-1
include/asm-i386/smp.h
··· 5 5 * We need the APIC definitions automatically as part of 'smp.h' 6 6 */ 7 7 #ifndef __ASSEMBLY__ 8 - #include <linux/config.h> 9 8 #include <linux/kernel.h> 10 9 #include <linux/threads.h> 11 10 #include <linux/cpumask.h>
-1
include/asm-i386/spinlock.h
··· 4 4 #include <asm/atomic.h> 5 5 #include <asm/rwlock.h> 6 6 #include <asm/page.h> 7 - #include <linux/config.h> 8 7 #include <linux/compiler.h> 9 8 10 9 /*
-1
include/asm-i386/string.h
··· 2 2 #define _I386_STRING_H_ 3 3 4 4 #ifdef __KERNEL__ 5 - #include <linux/config.h> 6 5 /* 7 6 * On a 486 or Pentium, we are better off not using the 8 7 * byte string operations. But on a 386 or a PPro the
-1
include/asm-i386/system.h
··· 1 1 #ifndef __ASM_SYSTEM_H 2 2 #define __ASM_SYSTEM_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/kernel.h> 6 5 #include <asm/segment.h> 7 6 #include <asm/cpufeature.h>
-1
include/asm-i386/thread_info.h
··· 9 9 10 10 #ifdef __KERNEL__ 11 11 12 - #include <linux/config.h> 13 12 #include <linux/compiler.h> 14 13 #include <asm/page.h> 15 14
-1
include/asm-i386/timex.h
··· 6 6 #ifndef _ASMi386_TIMEX_H 7 7 #define _ASMi386_TIMEX_H 8 8 9 - #include <linux/config.h> 10 9 #include <asm/processor.h> 11 10 12 11 #ifdef CONFIG_X86_ELAN
-1
include/asm-i386/tlbflush.h
··· 1 1 #ifndef _I386_TLBFLUSH_H 2 2 #define _I386_TLBFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 #include <asm/processor.h> 7 6
-1
include/asm-i386/types.h
··· 35 35 36 36 #ifndef __ASSEMBLY__ 37 37 38 - #include <linux/config.h> 39 38 40 39 typedef signed char s8; 41 40 typedef unsigned char u8;
-1
include/asm-i386/uaccess.h
··· 4 4 /* 5 5 * User space memory access functions 6 6 */ 7 - #include <linux/config.h> 8 7 #include <linux/errno.h> 9 8 #include <linux/thread_info.h> 10 9 #include <linux/prefetch.h>
+4 -3
include/asm-i386/unistd.h
··· 323 323 #define __NR_tee 315 324 324 #define __NR_vmsplice 316 325 325 326 + #ifdef __KERNEL__ 327 + 326 328 #define NR_syscalls 317 327 329 328 330 /* ··· 424 422 __syscall_return(type,__res); \ 425 423 } 426 424 427 - #ifdef __KERNEL__ 428 425 #define __ARCH_WANT_IPC_PARSE_VERSION 429 426 #define __ARCH_WANT_OLD_READDIR 430 427 #define __ARCH_WANT_OLD_STAT ··· 447 446 #define __ARCH_WANT_SYS_SIGPROCMASK 448 447 #define __ARCH_WANT_SYS_RT_SIGACTION 449 448 #define __ARCH_WANT_SYS_RT_SIGSUSPEND 450 - #endif 451 449 452 450 #ifdef __KERNEL_SYSCALLS__ 453 451 ··· 485 485 struct sigaction __user *oact, 486 486 size_t sigsetsize); 487 487 488 - #endif 488 + #endif /* __KERNEL_SYSCALLS__ */ 489 489 490 490 /* 491 491 * "Conditional" syscalls ··· 497 497 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 498 498 #endif 499 499 500 + #endif /* __KERNEL__ */ 500 501 #endif /* _ASM_I386_UNISTD_H_ */
-1
include/asm-ia64/asmmacro.h
··· 6 6 * David Mosberger-Tang <davidm@hpl.hp.com> 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 11 10 #define ENTRY(name) \ 12 11 .align 32; \
-1
include/asm-ia64/cache.h
··· 1 1 #ifndef _ASM_IA64_CACHE_H 2 2 #define _ASM_IA64_CACHE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * Copyright (C) 1998-2000 Hewlett-Packard Co
-1
include/asm-ia64/delay.h
··· 12 12 * Copyright (C) 1999 Don Dugger <don.dugger@intel.com> 13 13 */ 14 14 15 - #include <linux/config.h> 16 15 #include <linux/kernel.h> 17 16 #include <linux/sched.h> 18 17 #include <linux/compiler.h>
-1
include/asm-ia64/dma-mapping.h
··· 5 5 * Copyright (C) 2003-2004 Hewlett-Packard Co 6 6 * David Mosberger-Tang <davidm@hpl.hp.com> 7 7 */ 8 - #include <linux/config.h> 9 8 #include <asm/machvec.h> 10 9 11 10 #define dma_alloc_coherent platform_dma_alloc_coherent
-1
include/asm-ia64/dma.h
··· 6 6 * David Mosberger-Tang <davidm@hpl.hp.com> 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 11 10 #include <asm/io.h> /* need byte IO */ 12 11
-1
include/asm-ia64/elf.h
··· 8 8 * David Mosberger-Tang <davidm@hpl.hp.com> 9 9 */ 10 10 11 - #include <linux/config.h> 12 11 13 12 #include <asm/fpu.h> 14 13 #include <asm/page.h>
-1
include/asm-ia64/hardirq.h
··· 6 6 * David Mosberger-Tang <davidm@hpl.hp.com> 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 11 10 #include <linux/threads.h> 12 11 #include <linux/irq.h>
-1
include/asm-ia64/ia32.h
··· 1 1 #ifndef _ASM_IA64_IA32_H 2 2 #define _ASM_IA64_IA32_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #include <asm/ptrace.h> 7 6 #include <asm/signal.h>
-1
include/asm-ia64/ide.h
··· 13 13 14 14 #ifdef __KERNEL__ 15 15 16 - #include <linux/config.h> 17 16 18 17 #include <linux/irq.h> 19 18
-1
include/asm-ia64/intrinsics.h
··· 9 9 */ 10 10 11 11 #ifndef __ASSEMBLY__ 12 - #include <linux/config.h> 13 12 14 13 /* include compiler specific intrinsics */ 15 14 #include <asm/ia64regs.h>
-1
include/asm-ia64/kmap_types.h
··· 1 1 #ifndef _ASM_IA64_KMAP_TYPES_H 2 2 #define _ASM_IA64_KMAP_TYPES_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_DEBUG_HIGHMEM 7 6 # define D(n) __KM_FENCE_##n ,
-1
include/asm-ia64/machvec.h
··· 10 10 #ifndef _ASM_IA64_MACHVEC_H 11 11 #define _ASM_IA64_MACHVEC_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/types.h> 15 14 16 15 /* forward declarations: */
-1
include/asm-ia64/meminit.h
··· 7 7 * for more details. 8 8 */ 9 9 10 - #include <linux/config.h> 11 10 12 11 /* 13 12 * Entries defined so far:
-1
include/asm-ia64/nodedata.h
··· 11 11 #ifndef _ASM_IA64_NODEDATA_H 12 12 #define _ASM_IA64_NODEDATA_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/numa.h> 16 15 17 16 #include <asm/percpu.h>
-1
include/asm-ia64/numa.h
··· 11 11 #ifndef _ASM_IA64_NUMA_H 12 12 #define _ASM_IA64_NUMA_H 13 13 14 - #include <linux/config.h> 15 14 16 15 #ifdef CONFIG_NUMA 17 16
-1
include/asm-ia64/page.h
··· 7 7 * David Mosberger-Tang <davidm@hpl.hp.com> 8 8 */ 9 9 10 - #include <linux/config.h> 11 10 12 11 #include <asm/intrinsics.h> 13 12 #include <asm/types.h>
-1
include/asm-ia64/param.h
··· 19 19 #define MAXHOSTNAMELEN 64 /* max length of hostname */ 20 20 21 21 #ifdef __KERNEL__ 22 - # include <linux/config.h> /* mustn't include <linux/config.h> outside of #ifdef __KERNEL__ */ 23 22 # ifdef CONFIG_IA64_HP_SIM 24 23 /* 25 24 * Yeah, simulating stuff is slow, so let us catch some breath between
-1
include/asm-ia64/percpu.h
··· 12 12 # define THIS_CPU(var) (per_cpu__##var) /* use this to mark accesses to per-CPU variables... */ 13 13 #else /* !__ASSEMBLY__ */ 14 14 15 - #include <linux/config.h> 16 15 17 16 #include <linux/threads.h> 18 17
-1
include/asm-ia64/pgalloc.h
··· 13 13 * Copyright (C) 2000, Goutham Rao <goutham.rao@intel.com> 14 14 */ 15 15 16 - #include <linux/config.h> 17 16 18 17 #include <linux/compiler.h> 19 18 #include <linux/mm.h>
-1
include/asm-ia64/pgtable.h
··· 12 12 * David Mosberger-Tang <davidm@hpl.hp.com> 13 13 */ 14 14 15 - #include <linux/config.h> 16 15 17 16 #include <asm/mman.h> 18 17 #include <asm/page.h>
-1
include/asm-ia64/processor.h
··· 13 13 * 06/16/00 A. Mallick added csd/ssd/tssd for ia32 support 14 14 */ 15 15 16 - #include <linux/config.h> 17 16 18 17 #include <asm/intrinsics.h> 19 18 #include <asm/kregs.h>
-1
include/asm-ia64/ptrace.h
··· 54 54 * This is because ar.ec is saved as part of ar.pfs. 55 55 */ 56 56 57 - #include <linux/config.h> 58 57 59 58 #include <asm/fpu.h> 60 59 #ifndef ASM_OFFSETS_C
-1
include/asm-ia64/smp.h
··· 10 10 #ifndef _ASM_IA64_SMP_H 11 11 #define _ASM_IA64_SMP_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/init.h> 15 14 #include <linux/threads.h> 16 15 #include <linux/kernel.h>
-1
include/asm-ia64/sn/simulator.h
··· 8 8 #ifndef _ASM_IA64_SN_SIMULATOR_H 9 9 #define _ASM_IA64_SN_SIMULATOR_H 10 10 11 - #include <linux/config.h> 12 11 13 12 #define SNMAGIC 0xaeeeeeee8badbeefL 14 13 #define IS_MEDUSA() ({long sn; asm("mov %0=cpuid[%1]" : "=r"(sn) : "r"(2)); sn == SNMAGIC;})
-1
include/asm-ia64/sn/sn_cpuid.h
··· 11 11 #ifndef _ASM_IA64_SN_SN_CPUID_H 12 12 #define _ASM_IA64_SN_SN_CPUID_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/smp.h> 16 15 #include <asm/sn/addrs.h> 17 16 #include <asm/sn/pda.h>
-1
include/asm-ia64/sn/sn_sal.h
··· 12 12 */ 13 13 14 14 15 - #include <linux/config.h> 16 15 #include <asm/sal.h> 17 16 #include <asm/sn/sn_cpuid.h> 18 17 #include <asm/sn/arch.h>
-1
include/asm-ia64/sn/xpc.h
··· 15 15 #define _ASM_IA64_SN_XPC_H 16 16 17 17 18 - #include <linux/config.h> 19 18 #include <linux/interrupt.h> 20 19 #include <linux/sysctl.h> 21 20 #include <linux/device.h>
-1
include/asm-ia64/string.h
··· 9 9 * David Mosberger-Tang <davidm@hpl.hp.com> 10 10 */ 11 11 12 - #include <linux/config.h> /* remove this once we remove the A-step workaround... */ 13 12 14 13 #define __HAVE_ARCH_STRLEN 1 /* see arch/ia64/lib/strlen.S */ 15 14 #define __HAVE_ARCH_MEMSET 1 /* see arch/ia64/lib/memset.S */
-1
include/asm-ia64/system.h
··· 12 12 * Copyright (C) 1999 Asit Mallick <asit.k.mallick@intel.com> 13 13 * Copyright (C) 1999 Don Dugger <don.dugger@intel.com> 14 14 */ 15 - #include <linux/config.h> 16 15 17 16 #include <asm/kregs.h> 18 17 #include <asm/page.h>
-1
include/asm-ia64/tlb.h
··· 37 37 * } 38 38 * tlb_finish_mmu(tlb, start, end); // finish unmap for address space MM 39 39 */ 40 - #include <linux/config.h> 41 40 #include <linux/mm.h> 42 41 #include <linux/pagemap.h> 43 42 #include <linux/swap.h>
-1
include/asm-ia64/tlbflush.h
··· 6 6 * David Mosberger-Tang <davidm@hpl.hp.com> 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 11 10 #include <linux/mm.h> 12 11
-1
include/asm-ia64/unistd.h
··· 294 294 295 295 #ifdef __KERNEL__ 296 296 297 - #include <linux/config.h> 298 297 299 298 #define NR_syscalls 279 /* length of syscall table */ 300 299
-1
include/asm-m32r/assembler.h
··· 9 9 * This file contains M32R architecture specific macro definitions. 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 14 13 #ifndef __STR 15 14 #ifdef __ASSEMBLY__
-1
include/asm-m32r/atomic.h
··· 9 9 * Copyright (C) 2004 Hirokazu Takata <takata at linux-m32r.org> 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 #include <asm/assembler.h> 14 13 #include <asm/system.h> 15 14
-1
include/asm-m32r/bitops.h
··· 11 11 * Copyright (C) 2004 Hirokazu Takata <takata at linux-m32r.org> 12 12 */ 13 13 14 - #include <linux/config.h> 15 14 #include <linux/compiler.h> 16 15 #include <asm/assembler.h> 17 16 #include <asm/system.h>
-1
include/asm-m32r/cacheflush.h
··· 1 1 #ifndef _ASM_M32R_CACHEFLUSH_H 2 2 #define _ASM_M32R_CACHEFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 7 6 extern void _flush_cache_all(void);
-1
include/asm-m32r/hardirq.h
··· 2 2 #ifndef __ASM_HARDIRQ_H 3 3 #define __ASM_HARDIRQ_H 4 4 5 - #include <linux/config.h> 6 5 #include <linux/threads.h> 7 6 #include <linux/irq.h> 8 7
-1
include/asm-m32r/ide.h
··· 15 15 16 16 #ifdef __KERNEL__ 17 17 18 - #include <linux/config.h> 19 18 20 19 #ifndef MAX_HWIFS 21 20 # ifdef CONFIG_BLK_DEV_IDEPCI
-1
include/asm-m32r/irq.h
··· 2 2 #ifndef _ASM_M32R_IRQ_H 3 3 #define _ASM_M32R_IRQ_H 4 4 5 - #include <linux/config.h> 6 5 7 6 #if defined(CONFIG_PLAT_M32700UT_Alpha) || defined(CONFIG_PLAT_USRV) 8 7 /*
-1
include/asm-m32r/kmap_types.h
··· 3 3 4 4 /* Dummy header just to define km_type. */ 5 5 6 - #include <linux/config.h> 7 6 8 7 #ifdef CONFIG_DEBUG_HIGHMEM 9 8 # define D(n) __KM_FENCE_##n ,
-1
include/asm-m32r/m32104ut/m32104ut_pld.h
··· 15 15 #ifndef _M32104UT_M32104UT_PLD_H 16 16 #define _M32104UT_M32104UT_PLD_H 17 17 18 - #include <linux/config.h> 19 18 20 19 #if defined(CONFIG_PLAT_M32104UT) 21 20 #define PLD_PLAT_BASE 0x02c00000
-1
include/asm-m32r/m32700ut/m32700ut_lan.h
··· 15 15 #ifndef _M32700UT_M32700UT_LAN_H 16 16 #define _M32700UT_M32700UT_LAN_H 17 17 18 - #include <linux/config.h> 19 18 20 19 #ifndef __ASSEMBLY__ 21 20 /*
-1
include/asm-m32r/m32700ut/m32700ut_lcd.h
··· 15 15 #ifndef _M32700UT_M32700UT_LCD_H 16 16 #define _M32700UT_M32700UT_LCD_H 17 17 18 - #include <linux/config.h> 19 18 20 19 #ifndef __ASSEMBLY__ 21 20 /*
-1
include/asm-m32r/m32700ut/m32700ut_pld.h
··· 15 15 #ifndef _M32700UT_M32700UT_PLD_H 16 16 #define _M32700UT_M32700UT_PLD_H 17 17 18 - #include <linux/config.h> 19 18 20 19 #if defined(CONFIG_PLAT_M32700UT_Alpha) 21 20 #define PLD_PLAT_BASE 0x08c00000
-1
include/asm-m32r/m32r.h
··· 7 7 * Copyright (C) 2003, 2004 Renesas Technology Corp. 8 8 */ 9 9 10 - #include <linux/config.h> 11 10 12 11 /* Chip type */ 13 12 #if defined(CONFIG_CHIP_XNUX_MP) || defined(CONFIG_CHIP_XNUX2_MP)
-1
include/asm-m32r/mmu.h
··· 1 1 #ifndef _ASM_M32R_MMU_H 2 2 #define _ASM_M32R_MMU_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #if !defined(CONFIG_MMU) 7 6 typedef struct {
-2
include/asm-m32r/mmu_context.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 8 7 #include <asm/m32r.h> 9 8 ··· 14 15 15 16 #ifndef __ASSEMBLY__ 16 17 17 - #include <linux/config.h> 18 18 #include <asm/atomic.h> 19 19 #include <asm/pgalloc.h> 20 20 #include <asm/mmu.h>
-1
include/asm-m32r/opsput/opsput_lan.h
··· 15 15 #ifndef _OPSPUT_OPSPUT_LAN_H 16 16 #define _OPSPUT_OPSPUT_LAN_H 17 17 18 - #include <linux/config.h> 19 18 20 19 #ifndef __ASSEMBLY__ 21 20 /*
-1
include/asm-m32r/opsput/opsput_lcd.h
··· 15 15 #ifndef _OPSPUT_OPSPUT_LCD_H 16 16 #define _OPSPUT_OPSPUT_LCD_H 17 17 18 - #include <linux/config.h> 19 18 20 19 #ifndef __ASSEMBLY__ 21 20 /*
-1
include/asm-m32r/opsput/opsput_pld.h
··· 15 15 #ifndef _OPSPUT_OPSPUT_PLD_H 16 16 #define _OPSPUT_OPSPUT_PLD_H 17 17 18 - #include <linux/config.h> 19 18 20 19 #define PLD_PLAT_BASE 0x1cc00000 21 20
-1
include/asm-m32r/page.h
··· 1 1 #ifndef _ASM_M32R_PAGE_H 2 2 #define _ASM_M32R_PAGE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* PAGE_SHIFT determines the page size */ 7 6 #define PAGE_SHIFT 12
-1
include/asm-m32r/pgalloc.h
··· 3 3 4 4 /* $Id$ */ 5 5 6 - #include <linux/config.h> 7 6 #include <linux/mm.h> 8 7 9 8 #include <asm/io.h>
-1
include/asm-m32r/pgtable-2level.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 8 7 /* 9 8 * traditional M32R two-level paging structure:
-1
include/asm-m32r/pgtable.h
··· 20 20 21 21 #ifndef __ASSEMBLY__ 22 22 23 - #include <linux/config.h> 24 23 #include <linux/threads.h> 25 24 #include <asm/processor.h> 26 25 #include <asm/addrspace.h>
-1
include/asm-m32r/processor.h
··· 14 14 */ 15 15 16 16 #include <linux/kernel.h> 17 - #include <linux/config.h> 18 17 #include <asm/cache.h> 19 18 #include <asm/ptrace.h> /* pt_regs */ 20 19
-1
include/asm-m32r/ptrace.h
··· 12 12 * Copyright (C) 2001-2002, 2004 Hirokazu Takata <takata at linux-m32r.org> 13 13 */ 14 14 15 - #include <linux/config.h> 16 15 #include <asm/m32r.h> /* M32R_PSW_BSM, M32R_PSW_BPM */ 17 16 18 17 /* 0 - 13 are integer registers (general purpose registers). */
-1
include/asm-m32r/rtc.h
··· 4 4 #define __RTC_H__ 5 5 6 6 7 - #include <linux/config.h> 8 7 9 8 /* Dallas DS1302 clock/calendar register numbers. */ 10 9 # define RTC_SECONDS 0
-1
include/asm-m32r/semaphore.h
··· 12 12 * Copyright (C) 2004, 2006 Hirokazu Takata <takata at linux-m32r.org> 13 13 */ 14 14 15 - #include <linux/config.h> 16 15 #include <linux/wait.h> 17 16 #include <linux/rwsem.h> 18 17 #include <asm/assembler.h>
-1
include/asm-m32r/serial.h
··· 3 3 4 4 /* include/asm-m32r/serial.h */ 5 5 6 - #include <linux/config.h> 7 6 8 7 #define BASE_BAUD 115200 9 8
-1
include/asm-m32r/sigcontext.h
··· 3 3 4 4 /* $Id$ */ 5 5 6 - #include <linux/config.h> 7 6 8 7 struct sigcontext { 9 8 /* CPU registers */
-1
include/asm-m32r/smp.h
··· 3 3 4 4 /* $Id$ */ 5 5 6 - #include <linux/config.h> 7 6 8 7 #ifdef CONFIG_SMP 9 8 #ifndef __ASSEMBLY__
-1
include/asm-m32r/spinlock.h
··· 9 9 * Copyright (C) 2004 Hirokazu Takata <takata at linux-m32r.org> 10 10 */ 11 11 12 - #include <linux/config.h> /* CONFIG_DEBUG_SPINLOCK, CONFIG_SMP */ 13 12 #include <linux/compiler.h> 14 13 #include <asm/atomic.h> 15 14 #include <asm/page.h>
-1
include/asm-m32r/system.h
··· 10 10 * Copyright (C) 2004, 2006 Hirokazu Takata <takata at linux-m32r.org> 11 11 */ 12 12 13 - #include <linux/config.h> 14 13 #include <asm/assembler.h> 15 14 16 15 #ifdef __KERNEL__
-1
include/asm-m32r/timex.h
··· 9 9 * m32r architecture timex specifications 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 14 13 #define CLOCK_TICK_RATE (CONFIG_BUS_CLOCK / CONFIG_TIMER_DIVIDE) 15 14 #define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */
-1
include/asm-m32r/tlbflush.h
··· 1 1 #ifndef _ASM_M32R_TLBFLUSH_H 2 2 #define _ASM_M32R_TLBFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/m32r.h> 6 5 7 6 /*
-1
include/asm-m32r/uaccess.h
··· 11 11 /* 12 12 * User space memory access functions 13 13 */ 14 - #include <linux/config.h> 15 14 #include <linux/errno.h> 16 15 #include <linux/thread_info.h> 17 16 #include <asm/page.h>
+3 -2
include/asm-m32r/unistd.h
··· 295 295 #define __NR_kexec_load 283 296 296 #define __NR_waitid 284 297 297 298 + #ifdef __KERNEL__ 299 + 298 300 #define NR_syscalls 285 299 301 300 302 /* user-visible error numbers are in the range -1 - -124: see ··· 407 405 __syscall_return(type,__res); \ 408 406 } 409 407 410 - #ifdef __KERNEL__ 411 408 #define __ARCH_WANT_IPC_PARSE_VERSION 412 409 #define __ARCH_WANT_STAT64 413 410 #define __ARCH_WANT_SYS_ALARM ··· 422 421 #define __ARCH_WANT_SYS_OLD_GETRLIMIT /*will be unused*/ 423 422 #define __ARCH_WANT_SYS_OLDUMOUNT 424 423 #define __ARCH_WANT_SYS_RT_SIGACTION 425 - #endif 426 424 427 425 #ifdef __KERNEL_SYSCALLS__ 428 426 ··· 470 470 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 471 471 #endif 472 472 473 + #endif /* __KERNEL__ */ 473 474 #endif /* _ASM_M32R_UNISTD_H */
-1
include/asm-m68k/atomic.h
··· 1 1 #ifndef __ARCH_M68K_ATOMIC__ 2 2 #define __ARCH_M68K_ATOMIC__ 3 3 4 - #include <linux/config.h> 5 4 6 5 #include <asm/system.h> /* local_irq_XXX() */ 7 6
-1
include/asm-m68k/bug.h
··· 1 1 #ifndef _M68K_BUG_H 2 2 #define _M68K_BUG_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_BUG 7 6 #ifdef CONFIG_DEBUG_BUGVERBOSE
-1
include/asm-m68k/dma-mapping.h
··· 1 1 #ifndef _M68K_DMA_MAPPING_H 2 2 #define _M68K_DMA_MAPPING_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_PCI 7 6 #include <asm-generic/dma-mapping.h>
-1
include/asm-m68k/dma.h
··· 1 1 #ifndef _M68K_DMA_H 2 2 #define _M68K_DMA_H 1 3 3 4 - #include <linux/config.h> 5 4 6 5 /* it's useless on the m68k, but unfortunately needed by the new 7 6 bootmem allocator (but this should do it for this) */
-1
include/asm-m68k/dvma.h
··· 9 9 #ifndef __M68K_DVMA_H 10 10 #define __M68K_DVMA_H 11 11 12 - #include <linux/config.h> 13 12 14 13 #define DVMA_PAGE_SHIFT 13 15 14 #define DVMA_PAGE_SIZE (1UL << DVMA_PAGE_SHIFT)
-1
include/asm-m68k/elf.h
··· 5 5 * ELF register definitions.. 6 6 */ 7 7 8 - #include <linux/config.h> 9 8 #include <asm/ptrace.h> 10 9 #include <asm/user.h> 11 10
-1
include/asm-m68k/entry.h
··· 1 1 #ifndef __M68K_ENTRY_H 2 2 #define __M68K_ENTRY_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/setup.h> 6 5 #include <asm/page.h> 7 6
-1
include/asm-m68k/fpu.h
··· 1 1 #ifndef __M68K_FPU_H 2 2 #define __M68K_FPU_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * MAX floating point unit state size (FSAVE/FRESTORE)
-1
include/asm-m68k/hardirq.h
··· 1 1 #ifndef __M68K_HARDIRQ_H 2 2 #define __M68K_HARDIRQ_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/threads.h> 6 5 #include <linux/cache.h> 7 6
-1
include/asm-m68k/ide.h
··· 31 31 32 32 #ifdef __KERNEL__ 33 33 34 - #include <linux/config.h> 35 34 36 35 #include <asm/setup.h> 37 36 #include <asm/io.h>
-1
include/asm-m68k/io.h
··· 23 23 24 24 #ifdef __KERNEL__ 25 25 26 - #include <linux/config.h> 27 26 #include <linux/compiler.h> 28 27 #include <asm/raw_io.h> 29 28 #include <asm/virtconvert.h>
-1
include/asm-m68k/irq.h
··· 1 1 #ifndef _M68K_IRQ_H_ 2 2 #define _M68K_IRQ_H_ 3 3 4 - #include <linux/config.h> 5 4 #include <linux/interrupt.h> 6 5 7 6 /*
-1
include/asm-m68k/mc146818rtc.h
··· 4 4 #ifndef _ASM_MC146818RTC_H 5 5 #define _ASM_MC146818RTC_H 6 6 7 - #include <linux/config.h> 8 7 9 8 #ifdef CONFIG_ATARI 10 9 /* RTC in Atari machines */
-1
include/asm-m68k/mmu_context.h
··· 1 1 #ifndef __M68K_MMU_CONTEXT_H 2 2 #define __M68K_MMU_CONTEXT_H 3 3 4 - #include <linux/config.h> 5 4 6 5 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) 7 6 {
-1
include/asm-m68k/motorola_pgtable.h
··· 1 1 #ifndef _MOTOROLA_PGTABLE_H 2 2 #define _MOTOROLA_PGTABLE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * Definitions for MMU descriptors
-1
include/asm-m68k/openprom.h
··· 8 8 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 9 9 */ 10 10 11 - #include <linux/config.h> 12 11 13 12 /* Empirical constants... */ 14 13 #ifdef CONFIG_SUN3
-1
include/asm-m68k/page.h
··· 1 1 #ifndef _M68K_PAGE_H 2 2 #define _M68K_PAGE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* PAGE_SHIFT determines the page size */ 7 6 #ifndef CONFIG_SUN3
-1
include/asm-m68k/page_offset.h
··· 1 - #include <linux/config.h> 2 1 3 2 /* This handles the memory map.. */ 4 3 #ifndef CONFIG_SUN3
-1
include/asm-m68k/pgalloc.h
··· 2 2 #ifndef M68K_PGALLOC_H 3 3 #define M68K_PGALLOC_H 4 4 5 - #include <linux/config.h> 6 5 #include <linux/mm.h> 7 6 #include <linux/highmem.h> 8 7 #include <asm/setup.h>
-1
include/asm-m68k/pgtable.h
··· 3 3 4 4 #include <asm-generic/4level-fixup.h> 5 5 6 - #include <linux/config.h> 7 6 #include <asm/setup.h> 8 7 9 8 #ifndef __ASSEMBLY__
-1
include/asm-m68k/processor.h
··· 13 13 */ 14 14 #define current_text_addr() ({ __label__ _l; _l: &&_l;}) 15 15 16 - #include <linux/config.h> 17 16 #include <linux/thread_info.h> 18 17 #include <asm/segment.h> 19 18 #include <asm/fpu.h>
-1
include/asm-m68k/semaphore-helper.h
··· 9 9 * m68k version by Andreas Schwab 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 #include <linux/errno.h> 14 13 15 14 /*
-1
include/asm-m68k/serial.h
··· 6 6 * 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 11 10 /* 12 11 * This assumes you have a 1.8432 MHz clock for your UART.
-1
include/asm-m68k/setup.h
··· 23 23 #ifndef _M68K_SETUP_H 24 24 #define _M68K_SETUP_H 25 25 26 - #include <linux/config.h> 27 26 28 27 29 28 /*
-1
include/asm-m68k/shm.h
··· 1 1 #ifndef _M68K_SHM_H 2 2 #define _M68K_SHM_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* format of page table entries that correspond to shared memory pages 7 6 currently out in swap space (see also mm/swap.c):
-1
include/asm-m68k/system.h
··· 1 1 #ifndef _M68K_SYSTEM_H 2 2 #define _M68K_SYSTEM_H 3 3 4 - #include <linux/config.h> /* get configuration macros */ 5 4 #include <linux/linkage.h> 6 5 #include <linux/kernel.h> 7 6 #include <asm/segment.h>
-1
include/asm-m68k/tlbflush.h
··· 1 1 #ifndef _M68K_TLBFLUSH_H 2 2 #define _M68K_TLBFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifndef CONFIG_SUN3 7 6
+4 -3
include/asm-m68k/unistd.h
··· 285 285 #define __NR_request_key 280 286 286 #define __NR_keyctl 281 287 287 288 + #ifdef __KERNEL__ 289 + 288 290 #define NR_syscalls 282 289 291 290 292 /* user-visible error numbers are in the range -1 - -124: see ··· 385 383 __syscall_return(type,__res); \ 386 384 } 387 385 388 - #ifdef __KERNEL__ 389 386 #define __ARCH_WANT_IPC_PARSE_VERSION 390 387 #define __ARCH_WANT_OLD_READDIR 391 388 #define __ARCH_WANT_OLD_STAT ··· 407 406 #define __ARCH_WANT_SYS_SIGPENDING 408 407 #define __ARCH_WANT_SYS_SIGPROCMASK 409 408 #define __ARCH_WANT_SYS_RT_SIGACTION 410 - #endif 411 409 412 410 #ifdef __KERNEL_SYSCALLS__ 413 411 ··· 451 451 struct sigaction __user *oact, 452 452 size_t sigsetsize); 453 453 454 - #endif 454 + #endif /* __KERNEL_SYSCALLS__ */ 455 455 456 456 /* 457 457 * "Conditional" syscalls ··· 461 461 */ 462 462 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 463 463 464 + #endif /* __KERNEL__ */ 464 465 #endif /* _ASM_M68K_UNISTD_H_ */
-1
include/asm-m68k/virtconvert.h
··· 7 7 8 8 #ifdef __KERNEL__ 9 9 10 - #include <linux/config.h> 11 10 #include <linux/compiler.h> 12 11 #include <asm/setup.h> 13 12 #include <asm/page.h>
-1
include/asm-m68knommu/bitops.h
··· 5 5 * Copyright 1992, Linus Torvalds. 6 6 */ 7 7 8 - #include <linux/config.h> 9 8 #include <linux/compiler.h> 10 9 #include <asm/byteorder.h> /* swab32 */ 11 10 #include <asm/system.h> /* save_flags */
-1
include/asm-m68knommu/coldfire.h
··· 12 12 #define coldfire_h 13 13 /****************************************************************************/ 14 14 15 - #include <linux/config.h> 16 15 17 16 /* 18 17 * Define the processor support peripherals base address.
-1
include/asm-m68knommu/commproc.h
··· 17 17 #ifndef __CPM_360__ 18 18 #define __CPM_360__ 19 19 20 - #include <linux/config.h> 21 20 22 21 /* CPM Command register masks: */ 23 22 #define CPM_CR_RST ((ushort)0x8000)
-1
include/asm-m68knommu/dma-mapping.h
··· 1 1 #ifndef _M68KNOMMU_DMA_MAPPING_H 2 2 #define _M68KNOMMU_DMA_MAPPING_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_PCI 7 6 #include <asm-generic/dma-mapping.h>
-1
include/asm-m68knommu/dma.h
··· 3 3 4 4 //#define DMA_DEBUG 1 5 5 6 - #include <linux/config.h> 7 6 8 7 #ifdef CONFIG_COLDFIRE 9 8 /*
-1
include/asm-m68knommu/elf.h
··· 5 5 * ELF register definitions.. 6 6 */ 7 7 8 - #include <linux/config.h> 9 8 #include <asm/ptrace.h> 10 9 #include <asm/user.h> 11 10
-1
include/asm-m68knommu/elia.h
··· 12 12 #define elia_h 13 13 /****************************************************************************/ 14 14 15 - #include <linux/config.h> 16 15 #include <asm/coldfire.h> 17 16 18 17 #ifdef CONFIG_eLIA
-1
include/asm-m68knommu/entry.h
··· 1 1 #ifndef __M68KNOMMU_ENTRY_H 2 2 #define __M68KNOMMU_ENTRY_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/setup.h> 6 5 #include <asm/page.h> 7 6
-1
include/asm-m68knommu/fpu.h
··· 1 1 #ifndef __M68KNOMMU_FPU_H 2 2 #define __M68KNOMMU_FPU_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * MAX floating point unit state size (FSAVE/FRESTORE)
-1
include/asm-m68knommu/hardirq.h
··· 1 1 #ifndef __M68K_HARDIRQ_H 2 2 #define __M68K_HARDIRQ_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/cache.h> 6 5 #include <linux/threads.h> 7 6 #include <asm/irq.h>
-1
include/asm-m68knommu/io.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 8 7 /* 9 8 * These are for ISA/PCI shared memory _only_ and should never be used
-1
include/asm-m68knommu/irq.h
··· 1 1 #ifndef _M68K_IRQ_H_ 2 2 #define _M68K_IRQ_H_ 3 3 4 - #include <linux/config.h> 5 4 #include <asm/ptrace.h> 6 5 7 6 #ifdef CONFIG_COLDFIRE
-1
include/asm-m68knommu/m5206sim.h
··· 12 12 #define m5206sim_h 13 13 /****************************************************************************/ 14 14 15 - #include <linux/config.h> 16 15 17 16 /* 18 17 * Define the 5206 SIM register set addresses.
-1
include/asm-m68knommu/m520xsim.h
··· 11 11 #define m520xsim_h 12 12 /****************************************************************************/ 13 13 14 - #include <linux/config.h> 15 14 16 15 /* 17 16 * Define the 5282 SIM register set addresses.
-1
include/asm-m68knommu/m523xsim.h
··· 11 11 #define m523xsim_h 12 12 /****************************************************************************/ 13 13 14 - #include <linux/config.h> 15 14 16 15 /* 17 16 * Define the 523x SIM register set addresses.
-1
include/asm-m68knommu/m5272sim.h
··· 12 12 #define m5272sim_h 13 13 /****************************************************************************/ 14 14 15 - #include <linux/config.h> 16 15 17 16 /* 18 17 * Define the 5272 SIM register set addresses.
-1
include/asm-m68knommu/m527xsim.h
··· 11 11 #define m527xsim_h 12 12 /****************************************************************************/ 13 13 14 - #include <linux/config.h> 15 14 16 15 /* 17 16 * Define the 5270/5271 SIM register set addresses.
-1
include/asm-m68knommu/m528xsim.h
··· 11 11 #define m528xsim_h 12 12 /****************************************************************************/ 13 13 14 - #include <linux/config.h> 15 14 16 15 /* 17 16 * Define the 5280/5282 SIM register set addresses.
-1
include/asm-m68knommu/mcfcache.h
··· 11 11 #define __M68KNOMMU_MCFCACHE_H 12 12 /****************************************************************************/ 13 13 14 - #include <linux/config.h> 15 14 16 15 /* 17 16 * The different ColdFire families have different cache arrangments.
-1
include/asm-m68knommu/mcfdma.h
··· 11 11 #define mcfdma_h 12 12 /****************************************************************************/ 13 13 14 - #include <linux/config.h> 15 14 16 15 /* 17 16 * Get address specific defines for this Coldfire member.
-1
include/asm-m68knommu/mcfmbus.h
··· 11 11 12 12 #ifndef mcfmbus_h 13 13 #define mcfmbus_h 14 - #include <linux/config.h> 15 14 16 15 17 16 #define MCFMBUS_BASE 0x280
-1
include/asm-m68knommu/mcfne.h
··· 18 18 #define mcfne_h 19 19 /****************************************************************************/ 20 20 21 - #include <linux/config.h> 22 21 23 22 /* 24 23 * Support for NE2000 clones devices in ColdFire based boards.
-1
include/asm-m68knommu/mcfpci.h
··· 12 12 #define mcfpci_h 13 13 /****************************************************************************/ 14 14 15 - #include <linux/config.h> 16 15 17 16 #ifdef CONFIG_PCI 18 17
-1
include/asm-m68knommu/mcfpit.h
··· 11 11 #define mcfpit_h 12 12 /****************************************************************************/ 13 13 14 - #include <linux/config.h> 15 14 16 15 /* 17 16 * Get address specific defines for the 5270/5271, 5280/5282, and 5208.
-1
include/asm-m68knommu/mcfsim.h
··· 12 12 #define mcfsim_h 13 13 /****************************************************************************/ 14 14 15 - #include <linux/config.h> 16 15 17 16 /* 18 17 * Include 5204, 5206/e, 5235, 5249, 5270/5271, 5272, 5280/5282,
-1
include/asm-m68knommu/mcfsmc.h
··· 17 17 * allow 8 bit accesses. So this code is 16bit access only. 18 18 */ 19 19 20 - #include <linux/config.h> 21 20 22 21 #undef outb 23 22 #undef inb
-1
include/asm-m68knommu/mcftimer.h
··· 12 12 #define mcftimer_h 13 13 /****************************************************************************/ 14 14 15 - #include <linux/config.h> 16 15 17 16 /* 18 17 * Get address specific defines for this ColdFire member.
-1
include/asm-m68knommu/mcfuart.h
··· 12 12 #define mcfuart_h 13 13 /****************************************************************************/ 14 14 15 - #include <linux/config.h> 16 15 17 16 /* 18 17 * Define the base address of the UARTS within the MBAR address
-1
include/asm-m68knommu/mcfwdebug.h
··· 10 10 #ifndef mcfdebug_h 11 11 #define mcfdebug_h 12 12 /****************************************************************************/ 13 - #include <linux/config.h> 14 13 15 14 /* Define the debug module registers */ 16 15 #define MCFDEBUG_CSR 0x0 /* Configuration status */
-1
include/asm-m68knommu/mmu_context.h
··· 1 1 #ifndef __M68KNOMMU_MMU_CONTEXT_H 2 2 #define __M68KNOMMU_MMU_CONTEXT_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/setup.h> 6 5 #include <asm/page.h> 7 6 #include <asm/pgalloc.h>
-1
include/asm-m68knommu/nettel.h
··· 13 13 #define nettel_h 14 14 /****************************************************************************/ 15 15 16 - #include <linux/config.h> 17 16 18 17 /****************************************************************************/ 19 18 #ifdef CONFIG_NETtel
-1
include/asm-m68knommu/page.h
··· 1 1 #ifndef _M68KNOMMU_PAGE_H 2 2 #define _M68KNOMMU_PAGE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* PAGE_SHIFT determines the page size */ 7 6
-1
include/asm-m68knommu/page_offset.h
··· 1 1 2 - #include <linux/config.h> 3 2 4 3 /* This handles the memory map.. */ 5 4
-1
include/asm-m68knommu/param.h
··· 1 1 #ifndef _M68KNOMMU_PARAM_H 2 2 #define _M68KNOMMU_PARAM_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #if defined(CONFIG_CLEOPATRA) 7 6 #define HZ 1000
-1
include/asm-m68knommu/pgtable.h
··· 7 7 * (C) Copyright 2000-2002, Greg Ungerer <gerg@snapgear.com> 8 8 */ 9 9 10 - #include <linux/config.h> 11 10 #include <linux/slab.h> 12 11 #include <asm/processor.h> 13 12 #include <asm/page.h>
-1
include/asm-m68knommu/processor.h
··· 13 13 */ 14 14 #define current_text_addr() ({ __label__ _l; _l: &&_l;}) 15 15 16 - #include <linux/config.h> 17 16 #include <linux/threads.h> 18 17 #include <asm/types.h> 19 18 #include <asm/segment.h>
-1
include/asm-m68knommu/semaphore-helper.h
··· 9 9 * m68k version by Andreas Schwab 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 14 13 /* 15 14 * These two _must_ execute atomically wrt each other.
-1
include/asm-m68knommu/system.h
··· 1 1 #ifndef _M68KNOMMU_SYSTEM_H 2 2 #define _M68KNOMMU_SYSTEM_H 3 3 4 - #include <linux/config.h> /* get configuration macros */ 5 4 #include <linux/linkage.h> 6 5 #include <asm/segment.h> 7 6 #include <asm/entry.h>
-1
include/asm-m68knommu/unaligned.h
··· 1 1 #ifndef __M68K_UNALIGNED_H 2 2 #define __M68K_UNALIGNED_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_COLDFIRE 7 6
+4 -3
include/asm-m68knommu/unistd.h
··· 286 286 #define __NR_request_key 280 287 287 #define __NR_keyctl 281 288 288 289 + #ifdef __KERNEL__ 290 + 289 291 #define NR_syscalls 282 290 292 291 293 /* user-visible error numbers are in the range -1 - -122: see ··· 439 437 return (type)__res; \ 440 438 } 441 439 442 - #ifdef __KERNEL__ 443 440 #define __ARCH_WANT_IPC_PARSE_VERSION 444 441 #define __ARCH_WANT_OLD_READDIR 445 442 #define __ARCH_WANT_OLD_STAT ··· 461 460 #define __ARCH_WANT_SYS_SIGPENDING 462 461 #define __ARCH_WANT_SYS_SIGPROCMASK 463 462 #define __ARCH_WANT_SYS_RT_SIGACTION 464 - #endif 465 463 466 464 #ifdef __KERNEL_SYSCALLS__ 467 465 ··· 515 515 struct sigaction __user *oact, 516 516 size_t sigsetsize); 517 517 518 - #endif 518 + #endif /* __KERNEL_SYSCALLS__ */ 519 519 520 520 /* 521 521 * "Conditional" syscalls ··· 525 525 */ 526 526 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 527 527 528 + #endif /* __KERNEL__ */ 528 529 #endif /* _ASM_M68K_UNISTD_H_ */
-1
include/asm-mips/a.out.h
··· 10 10 11 11 #ifdef __KERNEL__ 12 12 13 - #include <linux/config.h> 14 13 15 14 #endif 16 15
-1
include/asm-mips/addrspace.h
··· 10 10 #ifndef _ASM_ADDRSPACE_H 11 11 #define _ASM_ADDRSPACE_H 12 12 13 - #include <linux/config.h> 14 13 #include <spaces.h> 15 14 16 15 /*
-1
include/asm-mips/arc/types.h
··· 9 9 #ifndef _ASM_ARC_TYPES_H 10 10 #define _ASM_ARC_TYPES_H 11 11 12 - #include <linux/config.h> 13 12 14 13 #ifdef CONFIG_ARC32 15 14
-1
include/asm-mips/asm.h
··· 17 17 #ifndef __ASM_ASM_H 18 18 #define __ASM_ASM_H 19 19 20 - #include <linux/config.h> 21 20 #include <asm/sgidefs.h> 22 21 23 22 #ifndef CAT
-1
include/asm-mips/asmmacro.h
··· 8 8 #ifndef _ASM_ASMMACRO_H 9 9 #define _ASM_ASMMACRO_H 10 10 11 - #include <linux/config.h> 12 11 #include <asm/hazards.h> 13 12 14 13 #ifdef CONFIG_32BIT
-1
include/asm-mips/atomic.h
··· 17 17 * <linux/spinlock.h> we have to include <linux/spinlock.h> outside the 18 18 * main big wrapper ... 19 19 */ 20 - #include <linux/config.h> 21 20 #include <linux/spinlock.h> 22 21 23 22 #ifndef _ASM_ATOMIC_H
-1
include/asm-mips/bcache.h
··· 9 9 #ifndef _ASM_BCACHE_H 10 10 #define _ASM_BCACHE_H 11 11 12 - #include <linux/config.h> 13 12 14 13 /* Some R4000 / R4400 / R4600 / R5000 machines may have a non-dma-coherent, 15 14 chipset implemented caches. On machines with other CPUs the CPU does the
-1
include/asm-mips/bitops.h
··· 9 9 #ifndef _ASM_BITOPS_H 10 10 #define _ASM_BITOPS_H 11 11 12 - #include <linux/config.h> 13 12 #include <linux/compiler.h> 14 13 #include <linux/types.h> 15 14 #include <asm/bug.h>
-1
include/asm-mips/bug.h
··· 1 1 #ifndef __ASM_BUG_H 2 2 #define __ASM_BUG_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_BUG 7 6
-1
include/asm-mips/bugs.h
··· 7 7 #ifndef _ASM_BUGS_H 8 8 #define _ASM_BUGS_H 9 9 10 - #include <linux/config.h> 11 10 #include <linux/delay.h> 12 11 #include <asm/cpu.h> 13 12 #include <asm/cpu-info.h>
-1
include/asm-mips/byteorder.h
··· 8 8 #ifndef _ASM_BYTEORDER_H 9 9 #define _ASM_BYTEORDER_H 10 10 11 - #include <linux/config.h> 12 11 #include <linux/compiler.h> 13 12 #include <asm/types.h> 14 13
-1
include/asm-mips/cache.h
··· 9 9 #ifndef _ASM_CACHE_H 10 10 #define _ASM_CACHE_H 11 11 12 - #include <linux/config.h> 13 12 #include <kmalloc.h> 14 13 15 14 #define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT
-1
include/asm-mips/checksum.h
··· 11 11 #ifndef _ASM_CHECKSUM_H 12 12 #define _ASM_CHECKSUM_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/in6.h> 16 15 17 16 #include <asm/uaccess.h>
-1
include/asm-mips/cpu-features.h
··· 9 9 #ifndef __ASM_CPU_FEATURES_H 10 10 #define __ASM_CPU_FEATURES_H 11 11 12 - #include <linux/config.h> 13 12 14 13 #include <asm/cpu.h> 15 14 #include <asm/cpu-info.h>
-1
include/asm-mips/cpu-info.h
··· 12 12 #ifndef __ASM_CPU_INFO_H 13 13 #define __ASM_CPU_INFO_H 14 14 15 - #include <linux/config.h> 16 15 #include <asm/cache.h> 17 16 18 17 #ifdef CONFIG_SGI_IP27
-1
include/asm-mips/ddb5xxx/ddb5477.h
··· 17 17 #ifndef __ASM_DDB5XXX_DDB5477_H 18 18 #define __ASM_DDB5XXX_DDB5477_H 19 19 20 - #include <linux/config.h> 21 20 22 21 /* 23 22 * This contains macros that are specific to DDB5477 or renamed from
-1
include/asm-mips/ddb5xxx/ddb5xxx.h
··· 18 18 #ifndef __ASM_DDB5XXX_DDB5XXX_H 19 19 #define __ASM_DDB5XXX_DDB5XXX_H 20 20 21 - #include <linux/config.h> 22 21 #include <linux/types.h> 23 22 24 23 /*
-1
include/asm-mips/debug.h
··· 15 15 #ifndef _ASM_DEBUG_H 16 16 #define _ASM_DEBUG_H 17 17 18 - #include <linux/config.h> 19 18 20 19 /* 21 20 * run-time macros for catching spurious errors. Eable CONFIG_RUNTIME_DEBUG in
-1
include/asm-mips/dec/prom.h
··· 15 15 #ifndef _ASM_DEC_PROM_H 16 16 #define _ASM_DEC_PROM_H 17 17 18 - #include <linux/config.h> 19 18 #include <linux/types.h> 20 19 21 20 #include <asm/addrspace.h>
-1
include/asm-mips/delay.h
··· 10 10 #ifndef _ASM_DELAY_H 11 11 #define _ASM_DELAY_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/param.h> 15 14 #include <linux/smp.h> 16 15 #include <asm/compiler.h>
-1
include/asm-mips/dma.h
··· 12 12 #ifndef _ASM_DMA_H 13 13 #define _ASM_DMA_H 14 14 15 - #include <linux/config.h> 16 15 #include <asm/io.h> /* need byte IO */ 17 16 #include <linux/spinlock.h> /* And spinlocks */ 18 17 #include <linux/delay.h>
-1
include/asm-mips/elf.h
··· 8 8 #ifndef _ASM_ELF_H 9 9 #define _ASM_ELF_H 10 10 11 - #include <linux/config.h> 12 11 13 12 /* ELF header e_flags defines. */ 14 13 /* MIPS architecture level. */
-1
include/asm-mips/fcntl.h
··· 8 8 #ifndef _ASM_FCNTL_H 9 9 #define _ASM_FCNTL_H 10 10 11 - #include <linux/config.h> 12 11 13 12 #define O_APPEND 0x0008 14 13 #define O_SYNC 0x0010
-1
include/asm-mips/fixmap.h
··· 13 13 #ifndef _ASM_FIXMAP_H 14 14 #define _ASM_FIXMAP_H 15 15 16 - #include <linux/config.h> 17 16 #include <asm/page.h> 18 17 #ifdef CONFIG_HIGHMEM 19 18 #include <linux/threads.h>
-1
include/asm-mips/fpu.h
··· 10 10 #ifndef _ASM_FPU_H 11 11 #define _ASM_FPU_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/sched.h> 15 14 #include <linux/thread_info.h> 16 15
-1
include/asm-mips/futex.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 #include <linux/futex.h> 8 7 #include <asm/errno.h> 9 8 #include <asm/uaccess.h>
-1
include/asm-mips/hazards.h
··· 10 10 #ifndef _ASM_HAZARDS_H 11 11 #define _ASM_HAZARDS_H 12 12 13 - #include <linux/config.h> 14 13 15 14 #ifdef __ASSEMBLY__ 16 15
-1
include/asm-mips/highmem.h
··· 19 19 20 20 #ifdef __KERNEL__ 21 21 22 - #include <linux/config.h> 23 22 #include <linux/init.h> 24 23 #include <linux/interrupt.h> 25 24 #include <asm/kmap_types.h>
-1
include/asm-mips/interrupt.h
··· 11 11 #ifndef _ASM_INTERRUPT_H 12 12 #define _ASM_INTERRUPT_H 13 13 14 - #include <linux/config.h> 15 14 #include <asm/hazards.h> 16 15 17 16 __asm__ (
-1
include/asm-mips/io.h
··· 12 12 #ifndef _ASM_IO_H 13 13 #define _ASM_IO_H 14 14 15 - #include <linux/config.h> 16 15 #include <linux/compiler.h> 17 16 #include <linux/kernel.h> 18 17 #include <linux/types.h>
-1
include/asm-mips/ip32/machine.h
··· 10 10 #ifndef _ASM_IP32_MACHINE_H 11 11 #define _ASM_IP32_MACHINE_H 12 12 13 - #include <linux/config.h> 14 13 15 14 #ifdef CONFIG_SGI_IP32 16 15
-1
include/asm-mips/irq.h
··· 9 9 #ifndef _ASM_IRQ_H 10 10 #define _ASM_IRQ_H 11 11 12 - #include <linux/config.h> 13 12 #include <linux/linkage.h> 14 13 15 14 #include <asm/mipsmtregs.h>
-1
include/asm-mips/isadep.h
··· 5 5 * 6 6 * Copyright (c) 1998 Harald Koerfgen 7 7 */ 8 - #include <linux/config.h> 9 8 10 9 #ifndef __ASM_ISADEP_H 11 10 #define __ASM_ISADEP_H
-1
include/asm-mips/jmr3927/irq.h
··· 12 12 13 13 #ifndef __ASSEMBLY__ 14 14 15 - #include <linux/config.h> 16 15 #include <asm/irq.h> 17 16 18 17 struct tb_irq_space {
-1
include/asm-mips/kmap_types.h
··· 1 1 #ifndef _ASM_KMAP_TYPES_H 2 2 #define _ASM_KMAP_TYPES_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_DEBUG_HIGHMEM 7 6 # define D(n) __KM_FENCE_##n ,
-1
include/asm-mips/local.h
··· 1 1 #ifndef _ASM_LOCAL_H 2 2 #define _ASM_LOCAL_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/percpu.h> 6 5 #include <asm/atomic.h> 7 6
-1
include/asm-mips/mach-au1x00/au1000.h
··· 35 35 #ifndef _AU1000_H_ 36 36 #define _AU1000_H_ 37 37 38 - #include <linux/config.h> 39 38 40 39 #ifndef _LANGUAGE_ASSEMBLY 41 40
-1
include/asm-mips/mach-au1x00/au1xxx.h
··· 23 23 #ifndef _AU1XXX_H_ 24 24 #define _AU1XXX_H_ 25 25 26 - #include <linux/config.h> 27 26 28 27 #include <asm/mach-au1x00/au1000.h> 29 28
-1
include/asm-mips/mach-au1x00/au1xxx_dbdma.h
··· 34 34 #ifndef _AU1000_DBDMA_H_ 35 35 #define _AU1000_DBDMA_H_ 36 36 37 - #include <linux/config.h> 38 37 39 38 #ifndef _LANGUAGE_ASSEMBLY 40 39
-1
include/asm-mips/mach-au1x00/au1xxx_ide.h
··· 29 29 * Note: for more information, please refer "AMD Alchemy Au1200/Au1550 IDE 30 30 * Interface and Linux Device Driver" Application Note. 31 31 */ 32 - #include <linux/config.h> 33 32 34 33 #ifdef CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA 35 34 #define DMA_WAIT_TIMEOUT 100
-1
include/asm-mips/mach-au1x00/au1xxx_psc.h
··· 33 33 #ifndef _AU1000_PSC_H_ 34 34 #define _AU1000_PSC_H_ 35 35 36 - #include <linux/config.h> 37 36 38 37 /* The PSC base addresses. */ 39 38 #ifdef CONFIG_SOC_AU1550
-1
include/asm-mips/mach-au1x00/ioremap.h
··· 9 9 #ifndef __ASM_MACH_AU1X00_IOREMAP_H 10 10 #define __ASM_MACH_AU1X00_IOREMAP_H 11 11 12 - #include <linux/config.h> 13 12 #include <linux/types.h> 14 13 15 14 #ifdef CONFIG_64BIT_PHYS_ADDR
-1
include/asm-mips/mach-cobalt/cpu-feature-overrides.h
··· 8 8 #ifndef __ASM_COBALT_CPU_FEATURE_OVERRIDES_H 9 9 #define __ASM_COBALT_CPU_FEATURE_OVERRIDES_H 10 10 11 - #include <linux/config.h> 12 11 13 12 #define cpu_has_tlb 1 14 13 #define cpu_has_4kex 1
-1
include/asm-mips/mach-db1x00/db1x00.h
··· 28 28 #ifndef __ASM_DB1X00_H 29 29 #define __ASM_DB1X00_H 30 30 31 - #include <linux/config.h> 32 31 33 32 #ifdef CONFIG_MIPS_DB1550 34 33 #define BCSR_KSEG1_ADDR 0xAF000000
-1
include/asm-mips/mach-generic/ide.h
··· 15 15 16 16 #ifdef __KERNEL__ 17 17 18 - #include <linux/config.h> 19 18 #include <linux/pci.h> 20 19 #include <linux/stddef.h> 21 20 #include <asm/processor.h>
-1
include/asm-mips/mach-generic/kmalloc.h
··· 1 1 #ifndef __ASM_MACH_GENERIC_KMALLOC_H 2 2 #define __ASM_MACH_GENERIC_KMALLOC_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifndef CONFIG_DMA_COHERENT 7 6 /*
-1
include/asm-mips/mach-generic/spaces.h
··· 10 10 #ifndef _ASM_MACH_GENERIC_SPACES_H 11 11 #define _ASM_MACH_GENERIC_SPACES_H 12 12 13 - #include <linux/config.h> 14 13 15 14 #ifdef CONFIG_32BIT 16 15
-1
include/asm-mips/mach-ip22/spaces.h
··· 10 10 #ifndef _ASM_MACH_IP22_SPACES_H 11 11 #define _ASM_MACH_IP22_SPACES_H 12 12 13 - #include <linux/config.h> 14 13 15 14 #ifdef CONFIG_32BIT 16 15
-1
include/asm-mips/mach-ip32/cpu-feature-overrides.h
··· 9 9 #ifndef __ASM_MACH_IP32_CPU_FEATURE_OVERRIDES_H 10 10 #define __ASM_MACH_IP32_CPU_FEATURE_OVERRIDES_H 11 11 12 - #include <linux/config.h> 13 12 14 13 /* 15 14 * R5000 has an interesting "restriction": ll(d)/sc(d)
-1
include/asm-mips/mach-ip32/kmalloc.h
··· 1 1 #ifndef __ASM_MACH_IP32_KMALLOC_H 2 2 #define __ASM_MACH_IP32_KMALLOC_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #if defined(CONFIG_CPU_R5000) || defined (CONFIG_CPU_RM7000) 7 6 #define ARCH_KMALLOC_MINALIGN 32
-1
include/asm-mips/mach-mips/cpu-feature-overrides.h
··· 9 9 #ifndef __ASM_MACH_MIPS_CPU_FEATURE_OVERRIDES_H 10 10 #define __ASM_MACH_MIPS_CPU_FEATURE_OVERRIDES_H 11 11 12 - #include <linux/config.h> 13 12 14 13 /* 15 14 * CPU feature overrides for MIPS boards
-1
include/asm-mips/mach-mips/irq.h
··· 1 1 #ifndef __ASM_MACH_MIPS_IRQ_H 2 2 #define __ASM_MACH_MIPS_IRQ_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #define NR_IRQS 256 7 6
-1
include/asm-mips/mach-pb1x00/pb1550.h
··· 27 27 #ifndef __ASM_PB1550_H 28 28 #define __ASM_PB1550_H 29 29 30 - #include <linux/config.h> 31 30 #include <linux/types.h> 32 31 33 32 #define DBDMA_AC97_TX_CHAN DSCR_CMD0_PSC1_TX
-1
include/asm-mips/mach-sim/cpu-feature-overrides.h
··· 8 8 #ifndef __ASM_MACH_SIM_CPU_FEATURE_OVERRIDES_H 9 9 #define __ASM_MACH_SIM_CPU_FEATURE_OVERRIDES_H 10 10 11 - #include <linux/config.h> 12 11 13 12 /* 14 13 * CPU feature overrides for MIPS boards
-1
include/asm-mips/mips-boards/generic.h
··· 20 20 #ifndef __ASM_MIPS_BOARDS_GENERIC_H 21 21 #define __ASM_MIPS_BOARDS_GENERIC_H 22 22 23 - #include <linux/config.h> 24 23 #include <asm/addrspace.h> 25 24 #include <asm/byteorder.h> 26 25 #include <asm/mips-boards/bonito64.h>
-1
include/asm-mips/mipsregs.h
··· 13 13 #ifndef _ASM_MIPSREGS_H 14 14 #define _ASM_MIPSREGS_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/linkage.h> 18 17 #include <asm/hazards.h> 19 18
-1
include/asm-mips/mmu_context.h
··· 11 11 #ifndef _ASM_MMU_CONTEXT_H 12 12 #define _ASM_MMU_CONTEXT_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/errno.h> 16 15 #include <linux/sched.h> 17 16 #include <linux/slab.h>
-1
include/asm-mips/mmzone.h
··· 5 5 #ifndef _ASM_MMZONE_H_ 6 6 #define _ASM_MMZONE_H_ 7 7 8 - #include <linux/config.h> 9 8 #include <asm/page.h> 10 9 #include <mmzone.h> 11 10
-1
include/asm-mips/module.h
··· 1 1 #ifndef _ASM_MODULE_H 2 2 #define _ASM_MODULE_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/list.h> 6 5 #include <asm/uaccess.h> 7 6
-1
include/asm-mips/msgbuf.h
··· 1 1 #ifndef _ASM_MSGBUF_H 2 2 #define _ASM_MSGBUF_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * The msqid64_ds structure for the MIPS architecture.
-1
include/asm-mips/paccess.h
··· 13 13 #ifndef _ASM_PACCESS_H 14 14 #define _ASM_PACCESS_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/errno.h> 18 17 19 18 #ifdef CONFIG_32BIT
-1
include/asm-mips/page.h
··· 9 9 #ifndef _ASM_PAGE_H 10 10 #define _ASM_PAGE_H 11 11 12 - #include <linux/config.h> 13 12 14 13 #ifdef __KERNEL__ 15 14
-1
include/asm-mips/pci.h
··· 6 6 #ifndef _ASM_PCI_H 7 7 #define _ASM_PCI_H 8 8 9 - #include <linux/config.h> 10 9 #include <linux/mm.h> 11 10 12 11 #ifdef __KERNEL__
-1
include/asm-mips/pgalloc.h
··· 9 9 #ifndef _ASM_PGALLOC_H 10 10 #define _ASM_PGALLOC_H 11 11 12 - #include <linux/config.h> 13 12 #include <linux/highmem.h> 14 13 #include <linux/mm.h> 15 14
-1
include/asm-mips/pgtable-32.h
··· 9 9 #ifndef _ASM_PGTABLE_32_H 10 10 #define _ASM_PGTABLE_32_H 11 11 12 - #include <linux/config.h> 13 12 #include <asm/addrspace.h> 14 13 #include <asm/page.h> 15 14
-1
include/asm-mips/pgtable-64.h
··· 9 9 #ifndef _ASM_PGTABLE_64_H 10 10 #define _ASM_PGTABLE_64_H 11 11 12 - #include <linux/config.h> 13 12 #include <linux/linkage.h> 14 13 15 14 #include <asm/addrspace.h>
-1
include/asm-mips/pgtable-bits.h
··· 10 10 #ifndef _ASM_PGTABLE_BITS_H 11 11 #define _ASM_PGTABLE_BITS_H 12 12 13 - #include <linux/config.h> 14 13 15 14 /* 16 15 * Note that we shift the lower 32bits of each EntryLo[01] entry
-1
include/asm-mips/pgtable.h
··· 8 8 #ifndef _ASM_PGTABLE_H 9 9 #define _ASM_PGTABLE_H 10 10 11 - #include <linux/config.h> 12 11 #ifdef CONFIG_32BIT 13 12 #include <asm/pgtable-32.h> 14 13 #endif
-1
include/asm-mips/prefetch.h
··· 8 8 #ifndef __ASM_PREFETCH_H 9 9 #define __ASM_PREFETCH_H 10 10 11 - #include <linux/config.h> 12 11 13 12 /* 14 13 * R5000 and RM5200 implements pref and prefx instructions but they're nops, so
-1
include/asm-mips/processor.h
··· 11 11 #ifndef _ASM_PROCESSOR_H 12 12 #define _ASM_PROCESSOR_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/cpumask.h> 16 15 #include <linux/threads.h> 17 16
-1
include/asm-mips/ptrace.h
··· 9 9 #ifndef _ASM_PTRACE_H 10 10 #define _ASM_PTRACE_H 11 11 12 - #include <linux/config.h> 13 12 14 13 #include <asm/isadep.h> 15 14
-1
include/asm-mips/reg.h
··· 12 12 #ifndef __ASM_MIPS_REG_H 13 13 #define __ASM_MIPS_REG_H 14 14 15 - #include <linux/config.h> 16 15 17 16 #if defined(CONFIG_32BIT) || defined(WANT_COMPAT_REG_H) 18 17
-1
include/asm-mips/resource.h
··· 9 9 #ifndef _ASM_RESOURCE_H 10 10 #define _ASM_RESOURCE_H 11 11 12 - #include <linux/config.h> 13 12 14 13 /* 15 14 * These five resource limit IDs have a MIPS/Linux-specific ordering,
-1
include/asm-mips/serial.h
··· 9 9 #ifndef _ASM_SERIAL_H 10 10 #define _ASM_SERIAL_H 11 11 12 - #include <linux/config.h> 13 12 14 13 /* 15 14 * This assumes you have a 1.8432 MHz clock for your UART.
-1
include/asm-mips/sgiarcs.h
··· 12 12 #ifndef _ASM_SGIARCS_H 13 13 #define _ASM_SGIARCS_H 14 14 15 - #include <linux/config.h> 16 15 #include <asm/types.h> 17 16 #include <asm/arc/types.h> 18 17
-1
include/asm-mips/sibyte/board.h
··· 19 19 #ifndef _SIBYTE_BOARD_H 20 20 #define _SIBYTE_BOARD_H 21 21 22 - #include <linux/config.h> 23 22 24 23 #if defined(CONFIG_SIBYTE_SWARM) || defined(CONFIG_SIBYTE_PTSWARM) || \ 25 24 defined(CONFIG_SIBYTE_CRHONE) || defined(CONFIG_SIBYTE_CRHINE) || \
-1
include/asm-mips/sibyte/carmel.h
··· 18 18 #ifndef __ASM_SIBYTE_CARMEL_H 19 19 #define __ASM_SIBYTE_CARMEL_H 20 20 21 - #include <linux/config.h> 22 21 23 22 #include <asm/sibyte/sb1250.h> 24 23 #include <asm/sibyte/sb1250_int.h>
-1
include/asm-mips/sibyte/sentosa.h
··· 18 18 #ifndef __ASM_SIBYTE_SENTOSA_H 19 19 #define __ASM_SIBYTE_SENTOSA_H 20 20 21 - #include <linux/config.h> 22 21 #include <asm/sibyte/sb1250.h> 23 22 #include <asm/sibyte/sb1250_int.h> 24 23
-1
include/asm-mips/sibyte/swarm.h
··· 18 18 #ifndef __ASM_SIBYTE_SWARM_H 19 19 #define __ASM_SIBYTE_SWARM_H 20 20 21 - #include <linux/config.h> 22 21 #include <asm/sibyte/sb1250.h> 23 22 #include <asm/sibyte/sb1250_int.h> 24 23
-1
include/asm-mips/siginfo.h
··· 9 9 #ifndef _ASM_SIGINFO_H 10 10 #define _ASM_SIGINFO_H 11 11 12 - #include <linux/config.h> 13 12 14 13 #define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2*sizeof(int)) 15 14 #undef __ARCH_SI_TRAPNO /* exception code needs to fill this ... */
-1
include/asm-mips/signal.h
··· 9 9 #ifndef _ASM_SIGNAL_H 10 10 #define _ASM_SIGNAL_H 11 11 12 - #include <linux/config.h> 13 12 #include <linux/types.h> 14 13 15 14 #define _NSIG 128
-1
include/asm-mips/sim.h
··· 9 9 #ifndef _ASM_SIM_H 10 10 #define _ASM_SIM_H 11 11 12 - #include <linux/config.h> 13 12 14 13 #include <asm/asm-offsets.h> 15 14
-1
include/asm-mips/smp.h
··· 11 11 #ifndef __ASM_SMP_H 12 12 #define __ASM_SMP_H 13 13 14 - #include <linux/config.h> 15 14 16 15 #ifdef CONFIG_SMP 17 16
-1
include/asm-mips/sn/addrs.h
··· 9 9 #ifndef _ASM_SN_ADDRS_H 10 10 #define _ASM_SN_ADDRS_H 11 11 12 - #include <linux/config.h> 13 12 14 13 #ifndef __ASSEMBLY__ 15 14 #include <linux/types.h>
-1
include/asm-mips/sn/agent.h
··· 11 11 #ifndef _ASM_SGI_SN_AGENT_H 12 12 #define _ASM_SGI_SN_AGENT_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/topology.h> 16 15 #include <asm/sn/addrs.h> 17 16 #include <asm/sn/arch.h>
-1
include/asm-mips/sn/arch.h
··· 11 11 #ifndef _ASM_SN_ARCH_H 12 12 #define _ASM_SN_ARCH_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/types.h> 16 15 #include <asm/sn/types.h> 17 16 #ifdef CONFIG_SGI_IP27
-1
include/asm-mips/sn/io.h
··· 9 9 #ifndef _ASM_SN_IO_H 10 10 #define _ASM_SN_IO_H 11 11 12 - #include <linux/config.h> 13 12 #if defined (CONFIG_SGI_IP27) 14 13 #include <asm/sn/sn0/hubio.h> 15 14 #endif
-1
include/asm-mips/sn/klconfig.h
··· 27 27 * that offsets of existing fields do not change. 28 28 */ 29 29 30 - #include <linux/config.h> 31 30 #include <linux/types.h> 32 31 #include <asm/sn/types.h> 33 32
-1
include/asm-mips/sn/kldir.h
··· 11 11 #ifndef _ASM_SN_KLDIR_H 12 12 #define _ASM_SN_KLDIR_H 13 13 14 - #include <linux/config.h> 15 14 16 15 /* 17 16 * The kldir memory area resides at a fixed place in each node's memory and
-1
include/asm-mips/sn/launch.h
··· 9 9 #ifndef _ASM_SN_LAUNCH_H 10 10 #define _ASM_SN_LAUNCH_H 11 11 12 - #include <linux/config.h> 13 12 #include <asm/sn/types.h> 14 13 #include <asm/sn/addrs.h> 15 14
-1
include/asm-mips/sn/mapped_kernel.h
··· 20 20 * code. So no jumps can be done before we have switched to using 21 21 * cksseg addresses. 22 22 */ 23 - #include <linux/config.h> 24 23 #include <asm/addrspace.h> 25 24 26 25 #define REP_BASE CAC_BASE
-1
include/asm-mips/sn/sn0/addrs.h
··· 11 11 #ifndef _ASM_SN_SN0_ADDRS_H 12 12 #define _ASM_SN_SN0_ADDRS_H 13 13 14 - #include <linux/config.h> 15 14 16 15 /* 17 16 * SN0 (on a T5) Address map
-1
include/asm-mips/sn/sn0/arch.h
··· 11 11 #ifndef _ASM_SN_SN0_ARCH_H 12 12 #define _ASM_SN_SN0_ARCH_H 13 13 14 - #include <linux/config.h> 15 14 16 15 #ifndef SN0XXL /* 128 cpu SMP max */ 17 16 /*
-1
include/asm-mips/sn/sn0/hubmd.h
··· 11 11 #ifndef _ASM_SN_SN0_HUBMD_H 12 12 #define _ASM_SN_SN0_HUBMD_H 13 13 14 - #include <linux/config.h> 15 14 16 15 /* 17 16 * Hub Memory/Directory interface registers
-1
include/asm-mips/stackframe.h
··· 10 10 #ifndef _ASM_STACKFRAME_H 11 11 #define _ASM_STACKFRAME_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/threads.h> 15 14 16 15 #include <asm/asm.h>
-1
include/asm-mips/string.h
··· 10 10 #ifndef _ASM_STRING_H 11 11 #define _ASM_STRING_H 12 12 13 - #include <linux/config.h> 14 13 15 14 /* 16 15 * Most of the inline functions are rather naive implementations so I just
-1
include/asm-mips/system.h
··· 12 12 #ifndef _ASM_SYSTEM_H 13 13 #define _ASM_SYSTEM_H 14 14 15 - #include <linux/config.h> 16 15 #include <linux/types.h> 17 16 18 17 #include <asm/addrspace.h>
-1
include/asm-mips/thread_info.h
··· 9 9 10 10 #ifdef __KERNEL__ 11 11 12 - #include <linux/config.h> 13 12 14 13 #ifndef __ASSEMBLY__ 15 14
-1
include/asm-mips/tlbflush.h
··· 1 1 #ifndef __ASM_TLBFLUSH_H 2 2 #define __ASM_TLBFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 7 6 /*
-1
include/asm-mips/tx4927/toshiba_rbtx4927.h
··· 27 27 #ifndef __ASM_TX4927_TOSHIBA_RBTX4927_H 28 28 #define __ASM_TX4927_TOSHIBA_RBTX4927_H 29 29 30 - #include <linux/config.h> 31 30 #include <asm/tx4927/tx4927.h> 32 31 #include <asm/tx4927/tx4927_mips.h> 33 32 #ifdef CONFIG_PCI
-1
include/asm-mips/types.h
··· 52 52 53 53 #ifndef __ASSEMBLY__ 54 54 55 - #include <linux/config.h> 56 55 57 56 typedef __signed char s8; 58 57 typedef unsigned char u8;
-1
include/asm-mips/uaccess.h
··· 9 9 #ifndef _ASM_UACCESS_H 10 10 #define _ASM_UACCESS_H 11 11 12 - #include <linux/config.h> 13 12 #include <linux/kernel.h> 14 13 #include <linux/errno.h> 15 14 #include <linux/thread_info.h>
+3 -4
include/asm-mips/unistd.h
··· 905 905 #define __NR_N32_Linux 6000 906 906 #define __NR_N32_Linux_syscalls 268 907 907 908 + #ifdef __KERNEL__ 909 + 908 910 #ifndef __ASSEMBLY__ 909 911 910 912 /* XXX - _foo needs to be __foo, while __NR_bar could be _NR_bar. */ ··· 1170 1168 1171 1169 #endif /* (_MIPS_SIM == _MIPS_SIM_NABI32) || (_MIPS_SIM == _MIPS_SIM_ABI64) */ 1172 1170 1173 - #ifdef __KERNEL__ 1174 - 1175 - #include <linux/config.h> 1176 1171 1177 1172 #define __ARCH_WANT_IPC_PARSE_VERSION 1178 1173 #define __ARCH_WANT_OLD_READDIR ··· 1196 1197 # ifdef CONFIG_MIPS32_O32 1197 1198 # define __ARCH_WANT_COMPAT_SYS_TIME 1198 1199 # endif 1199 - #endif 1200 1200 1201 1201 #ifdef __KERNEL_SYSCALLS__ 1202 1202 ··· 1246 1248 */ 1247 1249 #define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall") 1248 1250 1251 + #endif /* __KERNEL__ */ 1249 1252 #endif /* _ASM_UNISTD_H */
-1
include/asm-mips/vr41xx/vrc4173.h
··· 24 24 #ifndef __NEC_VRC4173_H 25 25 #define __NEC_VRC4173_H 26 26 27 - #include <linux/config.h> 28 27 #include <asm/io.h> 29 28 30 29 /*
-1
include/asm-mips/war.h
··· 8 8 #ifndef _ASM_WAR_H 9 9 #define _ASM_WAR_H 10 10 11 - #include <linux/config.h> 12 11 13 12 /* 14 13 * Another R4600 erratum. Due to the lack of errata information the exact
-1
include/asm-mips/wbflush.h
··· 11 11 #ifndef _ASM_WBFLUSH_H 12 12 #define _ASM_WBFLUSH_H 13 13 14 - #include <linux/config.h> 15 14 16 15 #ifdef CONFIG_CPU_HAS_WB 17 16
-1
include/asm-parisc/atomic.h
··· 5 5 #ifndef _ASM_PARISC_ATOMIC_H_ 6 6 #define _ASM_PARISC_ATOMIC_H_ 7 7 8 - #include <linux/config.h> 9 8 #include <linux/types.h> 10 9 #include <asm/system.h> 11 10
-1
include/asm-parisc/cache.h
··· 5 5 #ifndef __ARCH_PARISC_CACHE_H 6 6 #define __ARCH_PARISC_CACHE_H 7 7 8 - #include <linux/config.h> 9 8 10 9 /* 11 10 * PA 2.0 processors have 64-byte cachelines; PA 1.1 processors have
-1
include/asm-parisc/cacheflush.h
··· 1 1 #ifndef _PARISC_CACHEFLUSH_H 2 2 #define _PARISC_CACHEFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 #include <asm/cache.h> /* for flush_user_dcache_range_asm() proto */ 7 6
-1
include/asm-parisc/dma-mapping.h
··· 1 1 #ifndef _PARISC_DMA_MAPPING_H 2 2 #define _PARISC_DMA_MAPPING_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 #include <asm/cacheflush.h> 7 6 #include <asm/scatterlist.h>
-1
include/asm-parisc/dma.h
··· 9 9 #ifndef _ASM_DMA_H 10 10 #define _ASM_DMA_H 11 11 12 - #include <linux/config.h> 13 12 #include <asm/io.h> /* need byte IO */ 14 13 #include <asm/system.h> 15 14
-1
include/asm-parisc/io.h
··· 1 1 #ifndef _ASM_IO_H 2 2 #define _ASM_IO_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/types.h> 6 5 #include <asm/pgtable.h> 7 6
-1
include/asm-parisc/irq.h
··· 7 7 #ifndef _ASM_PARISC_IRQ_H 8 8 #define _ASM_PARISC_IRQ_H 9 9 10 - #include <linux/config.h> 11 10 #include <linux/cpumask.h> 12 11 #include <asm/types.h> 13 12
-1
include/asm-parisc/kmap_types.h
··· 1 1 #ifndef _ASM_KMAP_TYPES_H 2 2 #define _ASM_KMAP_TYPES_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_DEBUG_HIGHMEM 7 6 # define D(n) __KM_FENCE_##n ,
-1
include/asm-parisc/page.h
··· 10 10 11 11 12 12 #ifdef __KERNEL__ 13 - #include <linux/config.h> 14 13 15 14 #if defined(CONFIG_PARISC_PAGE_SIZE_4KB) 16 15 # define PAGE_SHIFT 12 /* 4k */
-1
include/asm-parisc/param.h
··· 2 2 #define _ASMPARISC_PARAM_H 3 3 4 4 #ifdef __KERNEL__ 5 - #include <linux/config.h> 6 5 # ifdef CONFIG_PA20 7 6 # define HZ 1000 /* Faster machines */ 8 7 # else
-1
include/asm-parisc/pci.h
··· 1 1 #ifndef __ASM_PARISC_PCI_H 2 2 #define __ASM_PARISC_PCI_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/scatterlist.h> 6 5 7 6
-1
include/asm-parisc/pdc.h
··· 1 1 #ifndef _PARISC_PDC_H 2 2 #define _PARISC_PDC_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * PDC return values ...
-1
include/asm-parisc/pgtable.h
··· 3 3 4 4 #include <asm-generic/4level-fixup.h> 5 5 6 - #include <linux/config.h> 7 6 #include <asm/fixmap.h> 8 7 9 8 #ifndef __ASSEMBLY__
-1
include/asm-parisc/processor.h
··· 9 9 #define __ASM_PARISC_PROCESSOR_H 10 10 11 11 #ifndef __ASSEMBLY__ 12 - #include <linux/config.h> 13 12 #include <linux/threads.h> 14 13 #include <linux/spinlock_types.h> 15 14
-1
include/asm-parisc/psw.h
··· 1 1 #ifndef _PARISC_PSW_H 2 2 3 - #include <linux/config.h> 4 3 5 4 #define PSW_I 0x00000001 6 5 #define PSW_D 0x00000002
-1
include/asm-parisc/smp.h
··· 1 1 #ifndef __ASM_SMP_H 2 2 #define __ASM_SMP_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #if defined(CONFIG_SMP) 7 6
-1
include/asm-parisc/system.h
··· 1 1 #ifndef __PARISC_SYSTEM_H 2 2 #define __PARISC_SYSTEM_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/psw.h> 6 5 7 6 /* The program status word as bitfields. */
-1
include/asm-parisc/tlbflush.h
··· 3 3 4 4 /* TLB flushing routines.... */ 5 5 6 - #include <linux/config.h> 7 6 #include <linux/mm.h> 8 7 #include <asm/mmu_context.h> 9 8
+2 -2
include/asm-parisc/unistd.h
··· 792 792 #define HPUX_GATEWAY_ADDR 0xC0000004 793 793 #define LINUX_GATEWAY_ADDR 0x100 794 794 795 + #ifdef __KERNEL__ 795 796 #ifndef __ASSEMBLY__ 796 797 797 798 #define SYS_ify(syscall_name) __NR_##syscall_name ··· 935 934 return K_INLINE_SYSCALL(name, 5, arg1, arg2, arg3, arg4, arg5); \ 936 935 } 937 936 938 - #ifdef __KERNEL__ 939 937 #define __ARCH_WANT_OLD_READDIR 940 938 #define __ARCH_WANT_STAT64 941 939 #define __ARCH_WANT_SYS_ALARM ··· 956 956 #define __ARCH_WANT_SYS_SIGPENDING 957 957 #define __ARCH_WANT_SYS_SIGPROCMASK 958 958 #define __ARCH_WANT_SYS_RT_SIGACTION 959 - #endif 960 959 961 960 /* mmap & mmap2 take 6 arguments */ 962 961 #define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4,type5,arg5,type6,arg6) \ ··· 1055 1056 */ 1056 1057 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 1057 1058 1059 + #endif /* __KERNEL__ */ 1058 1060 #endif /* _ASM_PARISC_UNISTD_H_ */
-1
include/asm-powerpc/abs_addr.h
··· 2 2 #define _ASM_POWERPC_ABS_ADDR_H 3 3 #ifdef __KERNEL__ 4 4 5 - #include <linux/config.h> 6 5 7 6 /* 8 7 * c 2001 PPC 64 Team, IBM Corp
-1
include/asm-powerpc/cache.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 8 7 /* bytes per L1 cache line */ 9 8 #if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
-1
include/asm-powerpc/dma-mapping.h
··· 8 8 #define _ASM_DMA_MAPPING_H 9 9 #ifdef __KERNEL__ 10 10 11 - #include <linux/config.h> 12 11 #include <linux/types.h> 13 12 #include <linux/cache.h> 14 13 /* need struct page definitions */
-1
include/asm-powerpc/dma.h
··· 22 22 * with a grain of salt. 23 23 */ 24 24 25 - #include <linux/config.h> 26 25 #include <asm/io.h> 27 26 #include <linux/spinlock.h> 28 27 #include <asm/system.h>
-1
include/asm-powerpc/eeh.h
··· 21 21 #define _PPC64_EEH_H 22 22 #ifdef __KERNEL__ 23 23 24 - #include <linux/config.h> 25 24 #include <linux/init.h> 26 25 #include <linux/list.h> 27 26 #include <linux/string.h>
+4 -5
include/asm-powerpc/elf.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 #include <linux/sched.h> /* for task_struct */ 6 + #include <asm/page.h> 7 + #include <asm/string.h> 6 8 #endif 7 9 8 10 #include <asm/types.h> 9 11 #include <asm/ptrace.h> 10 12 #include <asm/cputable.h> 11 13 #include <asm/auxvec.h> 12 - #include <asm/page.h> 13 - #include <asm/string.h> 14 14 15 15 /* PowerPC relocations defined by the ABIs */ 16 16 #define R_PPC_NONE 0 ··· 129 129 /* Assumption: ELF_ARCH == EM_PPC and ELF_CLASS == ELFCLASS32 */ 130 130 typedef elf_greg_t32 elf_greg_t; 131 131 typedef elf_gregset_t32 elf_gregset_t; 132 - # define elf_addr_t u32 132 + # define elf_addr_t __u32 133 133 #endif /* ELF_ARCH */ 134 134 135 135 /* Floating point registers */ ··· 161 161 typedef elf_vrreg_t elf_vrregset_t32[ELF_NVRREG32]; 162 162 #endif 163 163 164 + #ifdef __KERNEL__ 164 165 /* 165 166 * This is used to ensure we don't load something for the wrong architecture. 166 167 */ ··· 176 175 that it will "exec", and that there is sufficient room for the brk. */ 177 176 178 177 #define ELF_ET_DYN_BASE (0x08000000) 179 - 180 - #ifdef __KERNEL__ 181 178 182 179 /* Common routine for both 32-bit and 64-bit processes */ 183 180 static inline void ppc_elf_core_copy_regs(elf_gregset_t elf_regs,
-1
include/asm-powerpc/floppy.h
··· 11 11 #define __ASM_POWERPC_FLOPPY_H 12 12 #ifdef __KERNEL__ 13 13 14 - #include <linux/config.h> 15 14 #include <asm/machdep.h> 16 15 17 16 #define fd_inb(port) inb_p(port)
-1
include/asm-powerpc/hw_irq.h
··· 6 6 7 7 #ifdef __KERNEL__ 8 8 9 - #include <linux/config.h> 10 9 #include <linux/errno.h> 11 10 #include <asm/ptrace.h> 12 11 #include <asm/processor.h>
-1
include/asm-powerpc/ide.h
··· 22 22 #endif 23 23 24 24 #ifndef __powerpc64__ 25 - #include <linux/config.h> 26 25 #include <linux/hdreg.h> 27 26 #include <linux/ioport.h> 28 27 #include <asm/io.h>
-1
include/asm-powerpc/iommu.h
··· 22 22 #define _ASM_IOMMU_H 23 23 #ifdef __KERNEL__ 24 24 25 - #include <linux/config.h> 26 25 #include <asm/types.h> 27 26 #include <linux/spinlock.h> 28 27 #include <linux/device.h>
-1
include/asm-powerpc/irq.h
··· 9 9 * 2 of the License, or (at your option) any later version. 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 #include <linux/threads.h> 14 13 15 14 #include <asm/types.h>
-1
include/asm-powerpc/iseries/iseries_io.h
··· 1 1 #ifndef _ASM_POWERPC_ISERIES_ISERIES_IO_H 2 2 #define _ASM_POWERPC_ISERIES_ISERIES_IO_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_PPC_ISERIES 7 6 #include <linux/types.h>
-1
include/asm-powerpc/machdep.h
··· 9 9 * 2 of the License, or (at your option) any later version. 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 #include <linux/seq_file.h> 14 13 #include <linux/init.h> 15 14 #include <linux/dma-mapping.h>
-1
include/asm-powerpc/mmzone.h
··· 8 8 #define _ASM_MMZONE_H_ 9 9 #ifdef __KERNEL__ 10 10 11 - #include <linux/config.h> 12 11 13 12 /* 14 13 * generic non-linear memory support:
-1
include/asm-powerpc/paca.h
··· 16 16 #define _ASM_POWERPC_PACA_H 17 17 #ifdef __KERNEL__ 18 18 19 - #include <linux/config.h> 20 19 #include <asm/types.h> 21 20 #include <asm/lppaca.h> 22 21 #include <asm/mmu.h>
-1
include/asm-powerpc/page.h
··· 11 11 */ 12 12 13 13 #ifdef __KERNEL__ 14 - #include <linux/config.h> 15 14 #include <asm/asm-compat.h> 16 15 17 16 /*
-1
include/asm-powerpc/pgtable.h
··· 12 12 */ 13 13 14 14 #ifndef __ASSEMBLY__ 15 - #include <linux/config.h> 16 15 #include <linux/stddef.h> 17 16 #include <asm/processor.h> /* For TASK_SIZE */ 18 17 #include <asm/mmu.h>
-1
include/asm-powerpc/ppc_asm.h
··· 5 5 #define _ASM_POWERPC_PPC_ASM_H 6 6 7 7 #include <linux/stringify.h> 8 - #include <linux/config.h> 9 8 #include <asm/asm-compat.h> 10 9 11 10 #ifndef __ASSEMBLY__
-1
include/asm-powerpc/prom.h
··· 15 15 * as published by the Free Software Foundation; either version 16 16 * 2 of the License, or (at your option) any later version. 17 17 */ 18 - #include <linux/config.h> 19 18 #include <linux/types.h> 20 19 #include <linux/proc_fs.h> 21 20 #include <asm/atomic.h>
-1
include/asm-powerpc/smp.h
··· 17 17 #define _ASM_POWERPC_SMP_H 18 18 #ifdef __KERNEL__ 19 19 20 - #include <linux/config.h> 21 20 #include <linux/threads.h> 22 21 #include <linux/cpumask.h> 23 22 #include <linux/kernel.h>
-1
include/asm-powerpc/smu.h
··· 5 5 * Definitions for talking to the SMU chip in newer G5 PowerMacs 6 6 */ 7 7 #ifdef __KERNEL__ 8 - #include <linux/config.h> 9 8 #include <linux/list.h> 10 9 #endif 11 10 #include <linux/types.h>
-1
include/asm-powerpc/spu.h
··· 24 24 #define _SPU_H 25 25 #ifdef __KERNEL__ 26 26 27 - #include <linux/config.h> 28 27 #include <linux/kref.h> 29 28 #include <linux/workqueue.h> 30 29
-1
include/asm-powerpc/thread_info.h
··· 21 21 #define THREAD_SIZE (1 << THREAD_SHIFT) 22 22 23 23 #ifndef __ASSEMBLY__ 24 - #include <linux/config.h> 25 24 #include <linux/cache.h> 26 25 #include <asm/processor.h> 27 26 #include <asm/page.h>
-1
include/asm-powerpc/time.h
··· 14 14 #define __POWERPC_TIME_H 15 15 16 16 #ifdef __KERNEL__ 17 - #include <linux/config.h> 18 17 #include <linux/types.h> 19 18 #include <linux/percpu.h> 20 19
-1
include/asm-powerpc/timex.h
··· 7 7 * PowerPC architecture timex specifications 8 8 */ 9 9 10 - #include <linux/config.h> 11 10 #include <asm/cputable.h> 12 11 13 12 #define CLOCK_TICK_RATE 1024000 /* Underlying HZ */
-1
include/asm-powerpc/tlb.h
··· 13 13 #define _ASM_POWERPC_TLB_H 14 14 #ifdef __KERNEL__ 15 15 16 - #include <linux/config.h> 17 16 #ifndef __powerpc64__ 18 17 #include <asm/pgtable.h> 19 18 #endif
-1
include/asm-powerpc/tlbflush.h
··· 17 17 */ 18 18 #ifdef __KERNEL__ 19 19 20 - #include <linux/config.h> 21 20 22 21 struct mm_struct; 23 22
-1
include/asm-powerpc/topology.h
··· 2 2 #define _ASM_POWERPC_TOPOLOGY_H 3 3 #ifdef __KERNEL__ 4 4 5 - #include <linux/config.h> 6 5 7 6 struct sys_device; 8 7 struct device_node;
-1
include/asm-powerpc/types.h
··· 64 64 65 65 #ifndef __ASSEMBLY__ 66 66 67 - #include <linux/config.h> 68 67 69 68 typedef signed char s8; 70 69 typedef unsigned char u8;
+3 -5
include/asm-powerpc/unistd.h
··· 324 324 #define __NR_get_robust_list 299 325 325 #define __NR_set_robust_list 300 326 326 327 + #ifdef __KERNEL__ 328 + 327 329 #define __NR_syscalls 301 328 330 329 - #ifdef __KERNEL__ 330 331 #define __NR__exit __NR_exit 331 332 #define NR_syscalls __NR_syscalls 332 - #endif 333 333 334 334 #ifndef __ASSEMBLY__ 335 335 ··· 441 441 __syscall_nr(6, type, name, arg1, arg2, arg3, arg4, arg5, arg6); \ 442 442 } 443 443 444 - #ifdef __KERNEL__ 445 444 446 - #include <linux/config.h> 447 445 #include <linux/types.h> 448 446 #include <linux/compiler.h> 449 447 #include <linux/linkage.h> ··· 497 499 #define cond_syscall(x) asm(".weak\t." #x "\n\t.set\t." #x ",.sys_ni_syscall") 498 500 #endif 499 501 500 - #endif /* __KERNEL__ */ 501 502 502 503 #endif /* __ASSEMBLY__ */ 504 + #endif /* __KERNEL__ */ 503 505 504 506 #endif /* _ASM_PPC_UNISTD_H_ */
-1
include/asm-powerpc/vga.h
··· 12 12 13 13 #include <asm/io.h> 14 14 15 - #include <linux/config.h> 16 15 17 16 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_MDA_CONSOLE) 18 17
-1
include/asm-powerpc/vio.h
··· 15 15 #define _ASM_POWERPC_VIO_H 16 16 #ifdef __KERNEL__ 17 17 18 - #include <linux/config.h> 19 18 #include <linux/init.h> 20 19 #include <linux/errno.h> 21 20 #include <linux/device.h>
-1
include/asm-ppc/amigahw.h
··· 2 2 #ifndef __ASMPPC_AMIGAHW_H 3 3 #define __ASMPPC_AMIGAHW_H 4 4 5 - #include <linux/config.h> 6 5 #include <asm-m68k/amigahw.h> 7 6 8 7 #undef CHIP_PHYSADDR
-1
include/asm-ppc/bootinfo.h
··· 9 9 #ifndef _PPC_BOOTINFO_H 10 10 #define _PPC_BOOTINFO_H 11 11 12 - #include <linux/config.h> 13 12 #include <asm/page.h> 14 13 15 14 #if defined(CONFIG_APUS) && !defined(__BOOTER__)
-1
include/asm-ppc/commproc.h
··· 17 17 #ifndef __CPM_8XX__ 18 18 #define __CPM_8XX__ 19 19 20 - #include <linux/config.h> 21 20 #include <asm/8xx_immap.h> 22 21 #include <asm/ptrace.h> 23 22
-1
include/asm-ppc/ibm403.h
··· 12 12 #ifndef __ASM_IBM403_H__ 13 13 #define __ASM_IBM403_H__ 14 14 15 - #include <linux/config.h> 16 15 17 16 #if defined(CONFIG_403GCX) 18 17
-1
include/asm-ppc/ibm44x.h
··· 17 17 #ifndef __ASM_IBM44x_H__ 18 18 #define __ASM_IBM44x_H__ 19 19 20 - #include <linux/config.h> 21 20 22 21 #ifndef NR_BOARD_IRQS 23 22 #define NR_BOARD_IRQS 0
-1
include/asm-ppc/ibm4xx.h
··· 14 14 #ifndef __ASM_IBM4XX_H__ 15 15 #define __ASM_IBM4XX_H__ 16 16 17 - #include <linux/config.h> 18 17 #include <asm/types.h> 19 18 20 19 #ifdef CONFIG_40x
-1
include/asm-ppc/io.h
··· 2 2 #ifndef _PPC_IO_H 3 3 #define _PPC_IO_H 4 4 5 - #include <linux/config.h> 6 5 #include <linux/string.h> 7 6 #include <linux/types.h> 8 7
-1
include/asm-ppc/machdep.h
··· 2 2 #ifndef _PPC_MACHDEP_H 3 3 #define _PPC_MACHDEP_H 4 4 5 - #include <linux/config.h> 6 5 #include <linux/init.h> 7 6 #include <linux/kexec.h> 8 7
-1
include/asm-ppc/mmu.h
··· 6 6 #ifndef _PPC_MMU_H_ 7 7 #define _PPC_MMU_H_ 8 8 9 - #include <linux/config.h> 10 9 11 10 #ifndef __ASSEMBLY__ 12 11
-1
include/asm-ppc/mmu_context.h
··· 2 2 #ifndef __PPC_MMU_CONTEXT_H 3 3 #define __PPC_MMU_CONTEXT_H 4 4 5 - #include <linux/config.h> 6 5 #include <asm/atomic.h> 7 6 #include <asm/bitops.h> 8 7 #include <asm/mmu.h>
-1
include/asm-ppc/mpc8260.h
··· 8 8 #ifndef __ASM_PPC_MPC8260_H__ 9 9 #define __ASM_PPC_MPC8260_H__ 10 10 11 - #include <linux/config.h> 12 11 13 12 #ifdef CONFIG_8260 14 13
-1
include/asm-ppc/mpc83xx.h
··· 17 17 #ifndef __ASM_MPC83xx_H__ 18 18 #define __ASM_MPC83xx_H__ 19 19 20 - #include <linux/config.h> 21 20 #include <asm/mmu.h> 22 21 23 22 #ifdef CONFIG_83xx
-1
include/asm-ppc/mpc85xx.h
··· 17 17 #ifndef __ASM_MPC85xx_H__ 18 18 #define __ASM_MPC85xx_H__ 19 19 20 - #include <linux/config.h> 21 20 #include <asm/mmu.h> 22 21 23 22 #ifdef CONFIG_85xx
-1
include/asm-ppc/mpc8xx.h
··· 8 8 #ifndef __CONFIG_8xx_DEFS 9 9 #define __CONFIG_8xx_DEFS 10 10 11 - #include <linux/config.h> 12 11 13 12 #ifdef CONFIG_8xx 14 13
-1
include/asm-ppc/mv64x60.h
··· 17 17 #include <linux/init.h> 18 18 #include <linux/pci.h> 19 19 #include <linux/slab.h> 20 - #include <linux/config.h> 21 20 22 21 #include <asm/byteorder.h> 23 22 #include <asm/io.h>
-1
include/asm-ppc/ocp.h
··· 26 26 27 27 #include <linux/init.h> 28 28 #include <linux/list.h> 29 - #include <linux/config.h> 30 29 #include <linux/devfs_fs_kernel.h> 31 30 #include <linux/device.h> 32 31
-1
include/asm-ppc/open_pic.h
··· 12 12 #ifndef _PPC_KERNEL_OPEN_PIC_H 13 13 #define _PPC_KERNEL_OPEN_PIC_H 14 14 15 - #include <linux/config.h> 16 15 #include <linux/irq.h> 17 16 18 17 #define OPENPIC_SIZE 0x40000
-2
include/asm-ppc/page.h
··· 1 1 #ifndef _PPC_PAGE_H 2 2 #define _PPC_PAGE_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/asm-compat.h> 6 5 7 6 /* PAGE_SHIFT determines the page size */ ··· 14 15 #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) 15 16 16 17 #ifdef __KERNEL__ 17 - #include <linux/config.h> 18 18 19 19 /* This must match what is in arch/ppc/Makefile */ 20 20 #define PAGE_OFFSET CONFIG_KERNEL_START
-1
include/asm-ppc/pc_serial.h
··· 9 9 * anyone using any of those on a PPC platform. -- paulus 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 14 13 /* 15 14 * This assumes you have a 1.8432 MHz clock for your UART.
-1
include/asm-ppc/pgalloc.h
··· 2 2 #ifndef _PPC_PGALLOC_H 3 3 #define _PPC_PGALLOC_H 4 4 5 - #include <linux/config.h> 6 5 #include <linux/threads.h> 7 6 8 7 extern void __bad_pte(pmd_t *pmd);
-1
include/asm-ppc/pgtable.h
··· 4 4 5 5 #include <asm-generic/4level-fixup.h> 6 6 7 - #include <linux/config.h> 8 7 9 8 #ifndef __ASSEMBLY__ 10 9 #include <linux/sched.h>
-1
include/asm-ppc/ppc4xx_dma.h
··· 24 24 #ifndef __ASMPPC_PPC4xx_DMA_H 25 25 #define __ASMPPC_PPC4xx_DMA_H 26 26 27 - #include <linux/config.h> 28 27 #include <linux/types.h> 29 28 #include <asm/mmu.h> 30 29 #include <asm/ibm4xx.h>
-1
include/asm-ppc/ppc4xx_pic.h
··· 17 17 #ifndef __PPC4XX_PIC_H__ 18 18 #define __PPC4XX_PIC_H__ 19 19 20 - #include <linux/config.h> 21 20 #include <linux/types.h> 22 21 #include <linux/irq.h> 23 22
-1
include/asm-ppc/serial.h
··· 6 6 #ifndef __ASM_SERIAL_H__ 7 7 #define __ASM_SERIAL_H__ 8 8 9 - #include <linux/config.h> 10 9 11 10 #if defined(CONFIG_EV64260) 12 11 #include <platforms/ev64260.h>
-1
include/asm-ppc/smp.h
··· 10 10 #ifndef _PPC_SMP_H 11 11 #define _PPC_SMP_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/kernel.h> 15 14 #include <linux/bitops.h> 16 15 #include <linux/errno.h>
-1
include/asm-ppc/time.h
··· 9 9 #ifndef __ASM_TIME_H__ 10 10 #define __ASM_TIME_H__ 11 11 12 - #include <linux/config.h> 13 12 #include <linux/types.h> 14 13 #include <linux/rtc.h> 15 14 #include <linux/threads.h>
-1
include/asm-s390/bitops.h
··· 12 12 * Copyright (C) 1992, Linus Torvalds 13 13 * 14 14 */ 15 - #include <linux/config.h> 16 15 #include <linux/compiler.h> 17 16 18 17 /*
+1 -1
include/asm-s390/cmb.h
··· 47 47 /* reset channel measurement block */ 48 48 #define BIODASDRESETCMB _IO(DASD_IOCTL_LETTER,34) 49 49 /* read channel measurement data */ 50 - #define BIODASDREADCMB _IOWR(DASD_IOCTL_LETTER,32,u64) 50 + #define BIODASDREADCMB _IOWR(DASD_IOCTL_LETTER,32,__u64) 51 51 /* read channel measurement data */ 52 52 #define BIODASDREADALLCMB _IOWR(DASD_IOCTL_LETTER,33,struct cmbdata) 53 53
-1
include/asm-s390/debug.h
··· 9 9 #ifndef DEBUG_H 10 10 #define DEBUG_H 11 11 12 - #include <linux/config.h> 13 12 #include <linux/fs.h> 14 13 #include <linux/string.h> 15 14
-1
include/asm-s390/hardirq.h
··· 12 12 #ifndef __ASM_HARDIRQ_H 13 13 #define __ASM_HARDIRQ_H 14 14 15 - #include <linux/config.h> 16 15 #include <linux/threads.h> 17 16 #include <linux/sched.h> 18 17 #include <linux/cache.h>
-1
include/asm-s390/idals.h
··· 13 13 #ifndef _S390_IDALS_H 14 14 #define _S390_IDALS_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/errno.h> 18 17 #include <linux/err.h> 19 18 #include <linux/types.h>
-1
include/asm-s390/local.h
··· 1 1 #ifndef _ASM_LOCAL_H 2 2 #define _ASM_LOCAL_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/percpu.h> 6 5 #include <asm/atomic.h> 7 6
-1
include/asm-s390/lowcore.h
··· 124 124 125 125 #ifndef __ASSEMBLY__ 126 126 127 - #include <linux/config.h> 128 127 #include <asm/processor.h> 129 128 #include <linux/types.h> 130 129 #include <asm/sigp.h>
+3 -3
include/asm-s390/page.h
··· 9 9 #ifndef _S390_PAGE_H 10 10 #define _S390_PAGE_H 11 11 12 - #include <asm/setup.h> 13 12 #include <asm/types.h> 14 13 15 14 /* PAGE_SHIFT determines the page size */ ··· 19 20 #define PAGE_DEFAULT_KEY (PAGE_DEFAULT_ACC << 4) 20 21 21 22 #ifdef __KERNEL__ 23 + #include <asm/setup.h> 22 24 #ifndef __ASSEMBLY__ 23 25 24 26 #ifndef __s390x__ ··· 189 189 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ 190 190 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 191 191 192 - #endif /* __KERNEL__ */ 193 - 194 192 #include <asm-generic/memory_model.h> 195 193 #include <asm-generic/page.h> 194 + 195 + #endif /* __KERNEL__ */ 196 196 197 197 #endif /* _S390_PAGE_H */
-1
include/asm-s390/pgalloc.h
··· 13 13 #ifndef _S390_PGALLOC_H 14 14 #define _S390_PGALLOC_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/threads.h> 18 17 #include <linux/gfp.h> 19 18 #include <linux/mm.h>
+25 -13
include/asm-s390/posix_types.h
··· 76 76 } __kernel_fsid_t; 77 77 78 78 79 - #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) 79 + #ifdef __KERNEL__ 80 80 81 - #ifndef _S390_BITOPS_H 82 - #include <asm/bitops.h> 83 - #endif 81 + #undef __FD_SET 82 + static inline void __FD_SET(unsigned long fd, __kernel_fd_set *fdsetp) 83 + { 84 + unsigned long _tmp = fd / __NFDBITS; 85 + unsigned long _rem = fd % __NFDBITS; 86 + fdsetp->fds_bits[_tmp] |= (1UL<<_rem); 87 + } 84 88 85 - #undef __FD_SET 86 - #define __FD_SET(fd,fdsetp) set_bit((fd),(fdsetp)->fds_bits) 89 + #undef __FD_CLR 90 + static inline void __FD_CLR(unsigned long fd, __kernel_fd_set *fdsetp) 91 + { 92 + unsigned long _tmp = fd / __NFDBITS; 93 + unsigned long _rem = fd % __NFDBITS; 94 + fdsetp->fds_bits[_tmp] &= ~(1UL<<_rem); 95 + } 87 96 88 - #undef __FD_CLR 89 - #define __FD_CLR(fd,fdsetp) clear_bit((fd),(fdsetp)->fds_bits) 90 - 91 - #undef __FD_ISSET 92 - #define __FD_ISSET(fd,fdsetp) test_bit((fd),(fdsetp)->fds_bits) 97 + #undef __FD_ISSET 98 + static inline int __FD_ISSET(unsigned long fd, const __kernel_fd_set *fdsetp) 99 + { 100 + unsigned long _tmp = fd / __NFDBITS; 101 + unsigned long _rem = fd % __NFDBITS; 102 + return (fdsetp->fds_bits[_tmp] & (1UL<<_rem)) != 0; 103 + } 93 104 94 105 #undef __FD_ZERO 95 - #define __FD_ZERO(fdsetp) (memset ((fdsetp), 0, sizeof(*(fd_set *)(fdsetp)))) 106 + #define __FD_ZERO(fdsetp) \ 107 + ((void) memset ((__ptr_t) (fdsetp), 0, sizeof (__kernel_fd_set))) 96 108 97 - #endif /* defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)*/ 109 + #endif /* __KERNEL__ */ 98 110 99 111 #endif
+3 -3
include/asm-s390/ptrace.h
··· 181 181 #define PTRACE_OLDSETOPTIONS 21 182 182 183 183 #ifndef __ASSEMBLY__ 184 - #include <linux/config.h> 185 184 #include <linux/stddef.h> 186 185 #include <linux/types.h> 187 - #include <asm/setup.h> 188 - #include <asm/page.h> 189 186 190 187 typedef union 191 188 { ··· 298 301 } s390_regs; 299 302 300 303 #ifdef __KERNEL__ 304 + #include <asm/setup.h> 305 + #include <asm/page.h> 306 + 301 307 /* 302 308 * The pt_regs struct defines the way the registers are stored on 303 309 * the stack during a system call.
-1
include/asm-s390/sfp-machine.h
··· 25 25 #ifndef _SFP_MACHINE_H 26 26 #define _SFP_MACHINE_H 27 27 28 - #include <linux/config.h> 29 28 30 29 #define _FP_W_TYPE_SIZE 32 31 30 #define _FP_W_TYPE unsigned long
-1
include/asm-s390/smp.h
··· 10 10 #ifndef __ASM_SMP_H 11 11 #define __ASM_SMP_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/threads.h> 15 14 #include <linux/cpumask.h> 16 15 #include <linux/bitops.h>
-1
include/asm-s390/system.h
··· 11 11 #ifndef __ASM_SYSTEM_H 12 12 #define __ASM_SYSTEM_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/kernel.h> 16 15 #include <asm/types.h> 17 16 #include <asm/ptrace.h>
-1
include/asm-s390/tlbflush.h
··· 1 1 #ifndef _S390_TLBFLUSH_H 2 2 #define _S390_TLBFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 #include <asm/processor.h> 7 6
-1
include/asm-s390/types.h
··· 58 58 59 59 #ifndef __ASSEMBLY__ 60 60 61 - #include <linux/config.h> 62 61 63 62 typedef signed char s8; 64 63 typedef unsigned char u8;
+4 -4
include/asm-s390/unistd.h
··· 392 392 393 393 #endif 394 394 395 + #ifdef __KERNEL__ 396 + 395 397 /* user-visible error numbers are in the range -1 - -122: see <asm-s390/errno.h> */ 396 398 397 399 #define __syscall_return(type, res) \ ··· 548 546 __syscall_return(type,__res); \ 549 547 } 550 548 551 - #ifdef __KERNEL__ 552 549 #define __ARCH_WANT_IPC_PARSE_VERSION 553 550 #define __ARCH_WANT_OLD_READDIR 554 551 #define __ARCH_WANT_SYS_ALARM ··· 574 573 # define __ARCH_WANT_COMPAT_SYS_TIME 575 574 # define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND 576 575 # endif 577 - #endif 578 576 579 577 #ifdef __KERNEL_SYSCALLS__ 580 578 581 - #include <linux/config.h> 582 579 #include <linux/compiler.h> 583 580 #include <linux/types.h> 584 581 #include <asm/ptrace.h> ··· 624 625 struct sigaction __user *oact, 625 626 size_t sigsetsize); 626 627 627 - #endif 628 + #endif /* __KERNEL_SYSCALLS__ */ 628 629 629 630 /* 630 631 * "Conditional" syscalls ··· 634 635 */ 635 636 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 636 637 638 + #endif /* __KERNEL__ */ 637 639 #endif /* _ASM_S390_UNISTD_H_ */
+19 -19
include/asm-s390/vtoc.h
··· 177 177 } __attribute__ ((packed)); 178 178 179 179 struct vtoc_cms_label { 180 - u8 label_id[4]; /* Label identifier */ 181 - u8 vol_id[6]; /* Volid */ 182 - u16 version_id; /* Version identifier */ 183 - u32 block_size; /* Disk block size */ 184 - u32 origin_ptr; /* Disk origin pointer */ 185 - u32 usable_count; /* Number of usable cylinders/blocks */ 186 - u32 formatted_count; /* Maximum number of formatted cylinders/ 180 + __u8 label_id[4]; /* Label identifier */ 181 + __u8 vol_id[6]; /* Volid */ 182 + __u16 version_id; /* Version identifier */ 183 + __u32 block_size; /* Disk block size */ 184 + __u32 origin_ptr; /* Disk origin pointer */ 185 + __u32 usable_count; /* Number of usable cylinders/blocks */ 186 + __u32 formatted_count; /* Maximum number of formatted cylinders/ 187 187 * blocks */ 188 - u32 block_count; /* Disk size in CMS blocks */ 189 - u32 used_count; /* Number of CMS blocks in use */ 190 - u32 fst_size; /* File Status Table (FST) size */ 191 - u32 fst_count; /* Number of FSTs per CMS block */ 192 - u8 format_date[6]; /* Disk FORMAT date */ 193 - u8 reserved1[2]; 194 - u32 disk_offset; /* Disk offset when reserved*/ 195 - u32 map_block; /* Allocation Map Block with next hole */ 196 - u32 hblk_disp; /* Displacement into HBLK data of next hole */ 197 - u32 user_disp; /* Displacement into user part of Allocation 188 + __u32 block_count; /* Disk size in CMS blocks */ 189 + __u32 used_count; /* Number of CMS blocks in use */ 190 + __u32 fst_size; /* File Status Table (FST) size */ 191 + __u32 fst_count; /* Number of FSTs per CMS block */ 192 + __u8 format_date[6]; /* Disk FORMAT date */ 193 + __u8 reserved1[2]; 194 + __u32 disk_offset; /* Disk offset when reserved*/ 195 + __u32 map_block; /* Allocation Map Block with next hole */ 196 + __u32 hblk_disp; /* Displacement into HBLK data of next hole */ 197 + __u32 user_disp; /* Displacement into user part of Allocation 198 198 * map */ 199 - u8 reserved2[4]; 200 - u8 segment_name[8]; /* Name of shared segment */ 199 + __u8 reserved2[4]; 200 + __u8 segment_name[8]; /* Name of shared segment */ 201 201 } __attribute__ ((packed)); 202 202 203 203 #endif /* _ASM_S390_VTOC_H */
+212
include/asm-s390/z90crypt.h
··· 1 + /* 2 + * include/asm-s390/z90crypt.h 3 + * 4 + * z90crypt 1.3.3 (user-visible header) 5 + * 6 + * Copyright (C) 2001, 2005 IBM Corporation 7 + * Author(s): Robert Burroughs 8 + * Eric Rossman (edrossma@us.ibm.com) 9 + * 10 + * Hotplug & misc device support: Jochen Roehrig (roehrig@de.ibm.com) 11 + * 12 + * This program is free software; you can redistribute it and/or modify 13 + * it under the terms of the GNU General Public License as published by 14 + * the Free Software Foundation; either version 2, or (at your option) 15 + * any later version. 16 + * 17 + * This program is distributed in the hope that it will be useful, 18 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 + * GNU General Public License for more details. 21 + * 22 + * You should have received a copy of the GNU General Public License 23 + * along with this program; if not, write to the Free Software 24 + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 25 + */ 26 + 27 + #ifndef __ASM_S390_Z90CRYPT_H 28 + #define __ASM_S390_Z90CRYPT_H 29 + #include <linux/ioctl.h> 30 + 31 + #define z90crypt_VERSION 1 32 + #define z90crypt_RELEASE 3 // 2 = PCIXCC, 3 = rewrite for coding standards 33 + #define z90crypt_VARIANT 3 // 3 = CEX2A support 34 + 35 + /** 36 + * struct ica_rsa_modexpo 37 + * 38 + * Requirements: 39 + * - outputdatalength is at least as large as inputdatalength. 40 + * - All key parts are right justified in their fields, padded on 41 + * the left with zeroes. 42 + * - length(b_key) = inputdatalength 43 + * - length(n_modulus) = inputdatalength 44 + */ 45 + struct ica_rsa_modexpo { 46 + char __user * inputdata; 47 + unsigned int inputdatalength; 48 + char __user * outputdata; 49 + unsigned int outputdatalength; 50 + char __user * b_key; 51 + char __user * n_modulus; 52 + }; 53 + 54 + /** 55 + * struct ica_rsa_modexpo_crt 56 + * 57 + * Requirements: 58 + * - inputdatalength is even. 59 + * - outputdatalength is at least as large as inputdatalength. 60 + * - All key parts are right justified in their fields, padded on 61 + * the left with zeroes. 62 + * - length(bp_key) = inputdatalength/2 + 8 63 + * - length(bq_key) = inputdatalength/2 64 + * - length(np_key) = inputdatalength/2 + 8 65 + * - length(nq_key) = inputdatalength/2 66 + * - length(u_mult_inv) = inputdatalength/2 + 8 67 + */ 68 + struct ica_rsa_modexpo_crt { 69 + char __user * inputdata; 70 + unsigned int inputdatalength; 71 + char __user * outputdata; 72 + unsigned int outputdatalength; 73 + char __user * bp_key; 74 + char __user * bq_key; 75 + char __user * np_prime; 76 + char __user * nq_prime; 77 + char __user * u_mult_inv; 78 + }; 79 + 80 + #define Z90_IOCTL_MAGIC 'z' // NOTE: Need to allocate from linux folks 81 + 82 + /** 83 + * Interface notes: 84 + * 85 + * The ioctl()s which are implemented (along with relevant details) 86 + * are: 87 + * 88 + * ICARSAMODEXPO 89 + * Perform an RSA operation using a Modulus-Exponent pair 90 + * This takes an ica_rsa_modexpo struct as its arg. 91 + * 92 + * NOTE: please refer to the comments preceding this structure 93 + * for the implementation details for the contents of the 94 + * block 95 + * 96 + * ICARSACRT 97 + * Perform an RSA operation using a Chinese-Remainder Theorem key 98 + * This takes an ica_rsa_modexpo_crt struct as its arg. 99 + * 100 + * NOTE: please refer to the comments preceding this structure 101 + * for the implementation details for the contents of the 102 + * block 103 + * 104 + * Z90STAT_TOTALCOUNT 105 + * Return an integer count of all device types together. 106 + * 107 + * Z90STAT_PCICACOUNT 108 + * Return an integer count of all PCICAs. 109 + * 110 + * Z90STAT_PCICCCOUNT 111 + * Return an integer count of all PCICCs. 112 + * 113 + * Z90STAT_PCIXCCMCL2COUNT 114 + * Return an integer count of all MCL2 PCIXCCs. 115 + * 116 + * Z90STAT_PCIXCCMCL3COUNT 117 + * Return an integer count of all MCL3 PCIXCCs. 118 + * 119 + * Z90STAT_CEX2CCOUNT 120 + * Return an integer count of all CEX2Cs. 121 + * 122 + * Z90STAT_CEX2ACOUNT 123 + * Return an integer count of all CEX2As. 124 + * 125 + * Z90STAT_REQUESTQ_COUNT 126 + * Return an integer count of the number of entries waiting to be 127 + * sent to a device. 128 + * 129 + * Z90STAT_PENDINGQ_COUNT 130 + * Return an integer count of the number of entries sent to a 131 + * device awaiting the reply. 132 + * 133 + * Z90STAT_TOTALOPEN_COUNT 134 + * Return an integer count of the number of open file handles. 135 + * 136 + * Z90STAT_DOMAIN_INDEX 137 + * Return the integer value of the Cryptographic Domain. 138 + * 139 + * Z90STAT_STATUS_MASK 140 + * Return an 64 element array of unsigned chars for the status of 141 + * all devices. 142 + * 0x01: PCICA 143 + * 0x02: PCICC 144 + * 0x03: PCIXCC_MCL2 145 + * 0x04: PCIXCC_MCL3 146 + * 0x05: CEX2C 147 + * 0x06: CEX2A 148 + * 0x0d: device is disabled via the proc filesystem 149 + * 150 + * Z90STAT_QDEPTH_MASK 151 + * Return an 64 element array of unsigned chars for the queue 152 + * depth of all devices. 153 + * 154 + * Z90STAT_PERDEV_REQCNT 155 + * Return an 64 element array of unsigned integers for the number 156 + * of successfully completed requests per device since the device 157 + * was detected and made available. 158 + * 159 + * ICAZ90STATUS (deprecated) 160 + * Return some device driver status in a ica_z90_status struct 161 + * This takes an ica_z90_status struct as its arg. 162 + * 163 + * NOTE: this ioctl() is deprecated, and has been replaced with 164 + * single ioctl()s for each type of status being requested 165 + * 166 + * Z90STAT_PCIXCCCOUNT (deprecated) 167 + * Return an integer count of all PCIXCCs (MCL2 + MCL3). 168 + * This is DEPRECATED now that MCL3 PCIXCCs are treated differently from 169 + * MCL2 PCIXCCs. 170 + * 171 + * Z90QUIESCE (not recommended) 172 + * Quiesce the driver. This is intended to stop all new 173 + * requests from being processed. Its use is NOT recommended, 174 + * except in circumstances where there is no other way to stop 175 + * callers from accessing the driver. Its original use was to 176 + * allow the driver to be "drained" of work in preparation for 177 + * a system shutdown. 178 + * 179 + * NOTE: once issued, this ban on new work cannot be undone 180 + * except by unloading and reloading the driver. 181 + */ 182 + 183 + /** 184 + * Supported ioctl calls 185 + */ 186 + #define ICARSAMODEXPO _IOC(_IOC_READ|_IOC_WRITE, Z90_IOCTL_MAGIC, 0x05, 0) 187 + #define ICARSACRT _IOC(_IOC_READ|_IOC_WRITE, Z90_IOCTL_MAGIC, 0x06, 0) 188 + 189 + /* DEPRECATED status calls (bound for removal at some point) */ 190 + #define ICAZ90STATUS _IOR(Z90_IOCTL_MAGIC, 0x10, struct ica_z90_status) 191 + #define Z90STAT_PCIXCCCOUNT _IOR(Z90_IOCTL_MAGIC, 0x43, int) 192 + 193 + /* unrelated to ICA callers */ 194 + #define Z90QUIESCE _IO(Z90_IOCTL_MAGIC, 0x11) 195 + 196 + /* New status calls */ 197 + #define Z90STAT_TOTALCOUNT _IOR(Z90_IOCTL_MAGIC, 0x40, int) 198 + #define Z90STAT_PCICACOUNT _IOR(Z90_IOCTL_MAGIC, 0x41, int) 199 + #define Z90STAT_PCICCCOUNT _IOR(Z90_IOCTL_MAGIC, 0x42, int) 200 + #define Z90STAT_PCIXCCMCL2COUNT _IOR(Z90_IOCTL_MAGIC, 0x4b, int) 201 + #define Z90STAT_PCIXCCMCL3COUNT _IOR(Z90_IOCTL_MAGIC, 0x4c, int) 202 + #define Z90STAT_CEX2CCOUNT _IOR(Z90_IOCTL_MAGIC, 0x4d, int) 203 + #define Z90STAT_CEX2ACOUNT _IOR(Z90_IOCTL_MAGIC, 0x4e, int) 204 + #define Z90STAT_REQUESTQ_COUNT _IOR(Z90_IOCTL_MAGIC, 0x44, int) 205 + #define Z90STAT_PENDINGQ_COUNT _IOR(Z90_IOCTL_MAGIC, 0x45, int) 206 + #define Z90STAT_TOTALOPEN_COUNT _IOR(Z90_IOCTL_MAGIC, 0x46, int) 207 + #define Z90STAT_DOMAIN_INDEX _IOR(Z90_IOCTL_MAGIC, 0x47, int) 208 + #define Z90STAT_STATUS_MASK _IOR(Z90_IOCTL_MAGIC, 0x48, char[64]) 209 + #define Z90STAT_QDEPTH_MASK _IOR(Z90_IOCTL_MAGIC, 0x49, char[64]) 210 + #define Z90STAT_PERDEV_REQCNT _IOR(Z90_IOCTL_MAGIC, 0x4a, int[64]) 211 + 212 + #endif /* __ASM_S390_Z90CRYPT_H */
-1
include/asm-sh/bug.h
··· 1 1 #ifndef __ASM_SH_BUG_H 2 2 #define __ASM_SH_BUG_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_BUG 7 6 /*
-1
include/asm-sh/checksum.h
··· 9 9 * Copyright (C) 1999 by Kaz Kojima & Niibe Yutaka 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 #include <linux/in6.h> 14 13 15 14 /*
-1
include/asm-sh/dma-mapping.h
··· 1 1 #ifndef __ASM_SH_DMA_MAPPING_H 2 2 #define __ASM_SH_DMA_MAPPING_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 #include <asm/scatterlist.h> 7 6 #include <asm/cacheflush.h>
-1
include/asm-sh/dma.h
··· 11 11 #define __ASM_SH_DMA_H 12 12 #ifdef __KERNEL__ 13 13 14 - #include <linux/config.h> 15 14 #include <linux/spinlock.h> 16 15 #include <linux/wait.h> 17 16 #include <linux/sysdev.h>
-1
include/asm-sh/fixmap.h
··· 13 13 #ifndef _ASM_FIXMAP_H 14 14 #define _ASM_FIXMAP_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/kernel.h> 18 17 #include <asm/page.h> 19 18 #ifdef CONFIG_HIGHMEM
-1
include/asm-sh/hardirq.h
··· 1 1 #ifndef __ASM_SH_HARDIRQ_H 2 2 #define __ASM_SH_HARDIRQ_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/threads.h> 6 5 #include <linux/irq.h> 7 6
-1
include/asm-sh/hd64461/hd64461.h
··· 5 5 * Copyright (C) 2000 YAEGASHI Takeshi 6 6 * Hitachi HD64461 companion chip support 7 7 */ 8 - #include <linux/config.h> 9 8 10 9 /* Constants for PCMCIA mappings */ 11 10 #define HD64461_PCC_WINDOW 0x01000000
-1
include/asm-sh/hd64465/hd64465.h
··· 11 11 * Derived from <asm/hd64461.h> which bore the message: 12 12 * Copyright (C) 2000 YAEGASHI Takeshi 13 13 */ 14 - #include <linux/config.h> 15 14 #include <asm/io.h> 16 15 #include <asm/irq.h> 17 16
-1
include/asm-sh/ide.h
··· 14 14 15 15 #ifdef __KERNEL__ 16 16 17 - #include <linux/config.h> 18 17 19 18 #define ide_default_io_ctl(base) (0) 20 19
-1
include/asm-sh/io.h
··· 23 23 * inb by default expands to _inb, but the machine specific code may 24 24 * define it to __inb if it chooses. 25 25 */ 26 - #include <linux/config.h> 27 26 #include <asm/cache.h> 28 27 #include <asm/system.h> 29 28 #include <asm/addrspace.h>
-1
include/asm-sh/irq.h
··· 11 11 * 12 12 */ 13 13 14 - #include <linux/config.h> 15 14 #include <asm/machvec.h> 16 15 #include <asm/ptrace.h> /* for pt_regs */ 17 16
-1
include/asm-sh/keyboard.h
··· 5 5 */ 6 6 7 7 #include <linux/kd.h> 8 - #include <linux/config.h> 9 8 #include <asm/machvec.h> 10 9 11 10 #ifdef CONFIG_SH_MPC1211
-1
include/asm-sh/kmap_types.h
··· 3 3 4 4 /* Dummy header just to define km_type. */ 5 5 6 - #include <linux/config.h> 7 6 8 7 #ifdef CONFIG_DEBUG_HIGHMEM 9 8 # define D(n) __KM_FENCE_##n ,
-1
include/asm-sh/machvec.h
··· 10 10 #ifndef _ASM_SH_MACHVEC_H 11 11 #define _ASM_SH_MACHVEC_H 1 12 12 13 - #include <linux/config.h> 14 13 #include <linux/types.h> 15 14 #include <linux/time.h> 16 15
-1
include/asm-sh/machvec_init.h
··· 12 12 #ifndef __SH_MACHVEC_INIT_H 13 13 #define __SH_MACHVEC_INIT_H 14 14 15 - #include <linux/config.h> 16 15 17 16 /* 18 17 * In a GENERIC kernel, we have lots of these vectors floating about,
-1
include/asm-sh/mpc1211/dma.h
··· 8 8 #ifndef _ASM_MPC1211_DMA_H 9 9 #define _ASM_MPC1211_DMA_H 10 10 11 - #include <linux/config.h> 12 11 #include <linux/spinlock.h> /* And spinlocks */ 13 12 #include <asm/io.h> /* need byte IO */ 14 13 #include <linux/delay.h>
-1
include/asm-sh/overdrive/overdrive.h
··· 6 6 * 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 11 10 #ifndef __OVERDRIVE_H__ 12 11 #define __OVERDRIVE_H__
-1
include/asm-sh/page.h
··· 13 13 [ P4 control ] 0xE0000000 14 14 */ 15 15 16 - #include <linux/config.h> 17 16 18 17 /* PAGE_SHIFT determines the page size */ 19 18 #define PAGE_SHIFT 12
-1
include/asm-sh/pgtable.h
··· 8 8 * Copyright (C) 2002, 2003, 2004 Paul Mundt 9 9 */ 10 10 11 - #include <linux/config.h> 12 11 #include <asm/pgtable-2level.h> 13 12 14 13 /*
-1
include/asm-sh/serial.h
··· 7 7 #ifndef _ASM_SERIAL_H 8 8 #define _ASM_SERIAL_H 9 9 10 - #include <linux/config.h> 11 10 #include <linux/kernel.h> 12 11 13 12 #ifdef CONFIG_SH_EC3104
-1
include/asm-sh/smp.h
··· 10 10 #ifndef __ASM_SH_SMP_H 11 11 #define __ASM_SH_SMP_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/bitops.h> 15 14 #include <linux/cpumask.h> 16 15
-1
include/asm-sh/system.h
··· 6 6 * Copyright (C) 2002 Paul Mundt 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 11 10 /* 12 11 * switch_to() should switch tasks to task nr n, first
-1
include/asm-sh/types.h
··· 35 35 36 36 #ifndef __ASSEMBLY__ 37 37 38 - #include <linux/config.h> 39 38 40 39 typedef __signed__ char s8; 41 40 typedef unsigned char u8;
+4 -3
include/asm-sh/unistd.h
··· 304 304 305 305 #define NR_syscalls 293 306 306 307 + #ifdef __KERNEL__ 308 + 307 309 /* user-visible error numbers are in the range -1 - -124: see <asm-sh/errno.h> */ 308 310 309 311 #define __syscall_return(type, res) \ ··· 422 420 __syscall_return(type,__sc0); \ 423 421 } 424 422 425 - #ifdef __KERNEL__ 426 423 #define __ARCH_WANT_IPC_PARSE_VERSION 427 424 #define __ARCH_WANT_OLD_READDIR 428 425 #define __ARCH_WANT_OLD_STAT ··· 444 443 #define __ARCH_WANT_SYS_SIGPENDING 445 444 #define __ARCH_WANT_SYS_SIGPROCMASK 446 445 #define __ARCH_WANT_SYS_RT_SIGACTION 447 - #endif 448 446 449 447 #ifdef __KERNEL_SYSCALLS__ 450 448 ··· 513 513 struct sigaction __user *oact, 514 514 size_t sigsetsize); 515 515 516 - #endif 516 + #endif /* __KERNEL_SYSCALLS__ */ 517 517 518 518 /* 519 519 * "Conditional" syscalls ··· 525 525 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 526 526 #endif 527 527 528 + #endif /* __KERNEL__ */ 528 529 #endif /* __ASM_SH_UNISTD_H */
-1
include/asm-sh/watchdog.h
··· 13 13 #ifdef __KERNEL__ 14 14 15 15 #include <linux/types.h> 16 - #include <linux/config.h> 17 16 #include <asm/cpu/watchdog.h> 18 17 #include <asm/io.h> 19 18
-1
include/asm-sh64/bug.h
··· 1 1 #ifndef __ASM_SH64_BUG_H 2 2 #define __ASM_SH64_BUG_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * Tell the user there is some problem, then force a segfault (in process
-1
include/asm-sh64/dma-mapping.h
··· 1 1 #ifndef __ASM_SH_DMA_MAPPING_H 2 2 #define __ASM_SH_DMA_MAPPING_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 #include <asm/scatterlist.h> 7 6 #include <asm/io.h>
-1
include/asm-sh64/hardirq.h
··· 1 1 #ifndef __ASM_SH64_HARDIRQ_H 2 2 #define __ASM_SH64_HARDIRQ_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/threads.h> 6 5 #include <linux/irq.h> 7 6
-1
include/asm-sh64/ide.h
··· 15 15 16 16 #ifdef __KERNEL__ 17 17 18 - #include <linux/config.h> 19 18 20 19 /* Without this, the initialisation of PCI IDE cards end up calling 21 20 * ide_init_hwif_ports, which won't work. */
-1
include/asm-sh64/irq.h
··· 12 12 * 13 13 */ 14 14 15 - #include <linux/config.h> 16 15 17 16 /* 18 17 * Encoded IRQs are not considered worth to be supported.
-1
include/asm-sh64/mmu_context.h
··· 26 26 */ 27 27 extern unsigned long mmu_context_cache; 28 28 29 - #include <linux/config.h> 30 29 #include <asm/page.h> 31 30 32 31
-1
include/asm-sh64/page.h
··· 17 17 * 18 18 */ 19 19 20 - #include <linux/config.h> 21 20 22 21 /* PAGE_SHIFT determines the page size */ 23 22 #define PAGE_SHIFT 12
-1
include/asm-sh64/param.h
··· 12 12 #ifndef __ASM_SH64_PARAM_H 13 13 #define __ASM_SH64_PARAM_H 14 14 15 - #include <linux/config.h> 16 15 17 16 #ifdef __KERNEL__ 18 17 # ifdef CONFIG_SH_WDT
-1
include/asm-sh64/pgtable.h
··· 22 22 #include <asm/processor.h> 23 23 #include <asm/page.h> 24 24 #include <linux/threads.h> 25 - #include <linux/config.h> 26 25 27 26 struct vm_area_struct; 28 27
-1
include/asm-sh64/system.h
··· 14 14 * 15 15 */ 16 16 17 - #include <linux/config.h> 18 17 #include <asm/registers.h> 19 18 #include <asm/processor.h> 20 19
+4 -3
include/asm-sh64/unistd.h
··· 344 344 #define __NR_inotify_add_watch 319 345 345 #define __NR_inotify_rm_watch 320 346 346 347 + #ifdef __KERNEL__ 348 + 347 349 #define NR_syscalls 321 348 350 349 351 /* user-visible error numbers are in the range -1 - -125: see <asm-sh64/errno.h> */ ··· 488 486 __syscall_return(type,__sc0); \ 489 487 } 490 488 491 - #ifdef __KERNEL__ 492 489 #define __ARCH_WANT_IPC_PARSE_VERSION 493 490 #define __ARCH_WANT_OLD_READDIR 494 491 #define __ARCH_WANT_OLD_STAT ··· 510 509 #define __ARCH_WANT_SYS_SIGPENDING 511 510 #define __ARCH_WANT_SYS_SIGPROCMASK 512 511 #define __ARCH_WANT_SYS_RT_SIGACTION 513 - #endif 514 512 515 513 #ifdef __KERNEL_SYSCALLS__ 516 514 ··· 550 550 { 551 551 return waitpid(-1,wait_stat,0); 552 552 } 553 - #endif 553 + #endif /* __KERNEL_SYSCALLS__ */ 554 554 555 555 /* 556 556 * "Conditional" syscalls ··· 562 562 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 563 563 #endif 564 564 565 + #endif /* __KERNEL__ */ 565 566 #endif /* __ASM_SH64_UNISTD_H */
-1
include/asm-sparc/asmmacro.h
··· 6 6 #ifndef _SPARC_ASMMACRO_H 7 7 #define _SPARC_ASMMACRO_H 8 8 9 - #include <linux/config.h> 10 9 #include <asm/btfixup.h> 11 10 #include <asm/asi.h> 12 11
-1
include/asm-sparc/atomic.h
··· 10 10 #ifndef __ARCH_SPARC_ATOMIC__ 11 11 #define __ARCH_SPARC_ATOMIC__ 12 12 13 - #include <linux/config.h> 14 13 15 14 typedef struct { volatile int counter; } atomic_t; 16 15
-1
include/asm-sparc/bugs.h
··· 5 5 */ 6 6 7 7 #include <asm/cpudata.h> 8 - #include <linux/config.h> 9 8 10 9 extern unsigned long loops_per_jiffy; 11 10
-1
include/asm-sparc/cacheflush.h
··· 1 1 #ifndef _SPARC_CACHEFLUSH_H 2 2 #define _SPARC_CACHEFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> /* Common for other includes */ 6 5 // #include <linux/kernel.h> from pgalloc.h 7 6 // #include <linux/sched.h> from pgalloc.h
-1
include/asm-sparc/delay.h
··· 7 7 #ifndef __SPARC_DELAY_H 8 8 #define __SPARC_DELAY_H 9 9 10 - #include <linux/config.h> 11 10 #include <asm/cpudata.h> 12 11 13 12 static inline void __delay(unsigned long loops)
-1
include/asm-sparc/dma-mapping.h
··· 1 1 #ifndef _ASM_SPARC_DMA_MAPPING_H 2 2 #define _ASM_SPARC_DMA_MAPPING_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_PCI 7 6 #include <asm-generic/dma-mapping.h>
-1
include/asm-sparc/dma.h
··· 7 7 #ifndef _ASM_SPARC_DMA_H 8 8 #define _ASM_SPARC_DMA_H 9 9 10 - #include <linux/config.h> 11 10 #include <linux/kernel.h> 12 11 #include <linux/types.h> 13 12
-1
include/asm-sparc/elf.h
··· 6 6 * ELF register definitions.. 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 #include <asm/ptrace.h> 11 10 12 11 #ifdef __KERNEL__
-1
include/asm-sparc/fixmap.h
··· 13 13 #ifndef _ASM_FIXMAP_H 14 14 #define _ASM_FIXMAP_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/kernel.h> 18 17 #include <asm/page.h> 19 18 #ifdef CONFIG_HIGHMEM
-1
include/asm-sparc/hardirq.h
··· 7 7 #ifndef __SPARC_HARDIRQ_H 8 8 #define __SPARC_HARDIRQ_H 9 9 10 - #include <linux/config.h> 11 10 #include <linux/threads.h> 12 11 #include <linux/spinlock.h> 13 12 #include <linux/cache.h>
-1
include/asm-sparc/ide.h
··· 11 11 12 12 #ifdef __KERNEL__ 13 13 14 - #include <linux/config.h> 15 14 #include <asm/pgtable.h> 16 15 #include <asm/io.h> 17 16 #include <asm/psr.h>
-1
include/asm-sparc/irq.h
··· 7 7 #ifndef _SPARC_IRQ_H 8 8 #define _SPARC_IRQ_H 9 9 10 - #include <linux/config.h> 11 10 #include <linux/linkage.h> 12 11 #include <linux/threads.h> /* For NR_CPUS */ 13 12 #include <linux/interrupt.h>
-1
include/asm-sparc/mostek.h
··· 9 9 #ifndef _SPARC_MOSTEK_H 10 10 #define _SPARC_MOSTEK_H 11 11 12 - #include <linux/config.h> 13 12 #include <asm/idprom.h> 14 13 #include <asm/io.h> 15 14
-1
include/asm-sparc/page.h
··· 8 8 #ifndef _SPARC_PAGE_H 9 9 #define _SPARC_PAGE_H 10 10 11 - #include <linux/config.h> 12 11 #ifdef CONFIG_SUN4 13 12 #define PAGE_SHIFT 13 14 13 #else
-1
include/asm-sparc/pgalloc.h
··· 2 2 #ifndef _SPARC_PGALLOC_H 3 3 #define _SPARC_PGALLOC_H 4 4 5 - #include <linux/config.h> 6 5 #include <linux/kernel.h> 7 6 #include <linux/sched.h> 8 7
-1
include/asm-sparc/pgtable.h
··· 11 11 12 12 #include <asm-generic/4level-fixup.h> 13 13 14 - #include <linux/config.h> 15 14 #include <linux/spinlock.h> 16 15 #include <linux/swap.h> 17 16 #include <asm/types.h>
-1
include/asm-sparc/sfp-machine.h
··· 25 25 #ifndef _SFP_MACHINE_H 26 26 #define _SFP_MACHINE_H 27 27 28 - #include <linux/config.h> 29 28 30 29 #define _FP_W_TYPE_SIZE 32 31 30 #define _FP_W_TYPE unsigned long
-1
include/asm-sparc/smp.h
··· 6 6 #ifndef _SPARC_SMP_H 7 7 #define _SPARC_SMP_H 8 8 9 - #include <linux/config.h> 10 9 #include <linux/threads.h> 11 10 #include <asm/head.h> 12 11 #include <asm/btfixup.h>
-2
include/asm-sparc/system.h
··· 1 1 /* $Id: system.h,v 1.86 2001/10/30 04:57:10 davem Exp $ */ 2 - #include <linux/config.h> 3 2 4 3 #ifndef __SPARC_SYSTEM_H 5 4 #define __SPARC_SYSTEM_H 6 5 7 - #include <linux/config.h> 8 6 #include <linux/kernel.h> 9 7 #include <linux/threads.h> /* NR_CPUS */ 10 8 #include <linux/thread_info.h>
-1
include/asm-sparc/timer.h
··· 4 4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 5 5 */ 6 6 7 - #include <linux/config.h> 8 7 9 8 #ifndef _SPARC_TIMER_H 10 9 #define _SPARC_TIMER_H
-1
include/asm-sparc/tlbflush.h
··· 1 1 #ifndef _SPARC_TLBFLUSH_H 2 2 #define _SPARC_TLBFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 // #include <asm/processor.h> 7 6
+2 -2
include/asm-sparc/unistd.h
··· 319 319 #define __NR_set_robust_list 300 320 320 #define __NR_get_robust_list 301 321 321 322 + #ifdef __KERNEL__ 322 323 /* WARNING: You MAY NOT add syscall numbers larger than 301, since 323 324 * all of the syscall tables in the Sparc kernel are 324 325 * sized to have 301 entries (starting at zero). Therefore ··· 456 455 return -1; \ 457 456 } 458 457 459 - #ifdef __KERNEL__ 460 458 #define __ARCH_WANT_IPC_PARSE_VERSION 461 459 #define __ARCH_WANT_OLD_READDIR 462 460 #define __ARCH_WANT_STAT64 ··· 477 477 #define __ARCH_WANT_SYS_SIGPENDING 478 478 #define __ARCH_WANT_SYS_SIGPROCMASK 479 479 #define __ARCH_WANT_SYS_RT_SIGSUSPEND 480 - #endif 481 480 482 481 #ifdef __KERNEL_SYSCALLS__ 483 482 ··· 533 534 */ 534 535 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 535 536 537 + #endif /* __KERNEL__ */ 536 538 #endif /* _SPARC_UNISTD_H */
-1
include/asm-sparc/vac-ops.h
··· 8 8 * Copyright (C) 1994, David S. Miller (davem@caip.rutgers.edu) 9 9 */ 10 10 11 - #include <linux/config.h> 12 11 #include <asm/sysen.h> 13 12 #include <asm/contregs.h> 14 13 #include <asm/asi.h>
-1
include/asm-sparc/winmacro.h
··· 7 7 #ifndef _SPARC_WINMACRO_H 8 8 #define _SPARC_WINMACRO_H 9 9 10 - #include <linux/config.h> 11 10 #include <asm/ptrace.h> 12 11 13 12 /* Store the register window onto the 8-byte aligned area starting
-1
include/asm-sparc64/atomic.h
··· 8 8 #ifndef __ARCH_SPARC64_ATOMIC__ 9 9 #define __ARCH_SPARC64_ATOMIC__ 10 10 11 - #include <linux/config.h> 12 11 #include <linux/types.h> 13 12 14 13 typedef struct { volatile int counter; } atomic_t;
-1
include/asm-sparc64/bitops.h
··· 7 7 #ifndef _SPARC64_BITOPS_H 8 8 #define _SPARC64_BITOPS_H 9 9 10 - #include <linux/config.h> 11 10 #include <linux/compiler.h> 12 11 #include <asm/byteorder.h> 13 12
-1
include/asm-sparc64/bugs.h
··· 4 4 * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) 5 5 */ 6 6 7 - #include <linux/config.h> 8 7 9 8 extern unsigned long loops_per_jiffy; 10 9
-1
include/asm-sparc64/cacheflush.h
··· 1 1 #ifndef _SPARC64_CACHEFLUSH_H 2 2 #define _SPARC64_CACHEFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/page.h> 6 5 7 6 #ifndef __ASSEMBLY__
-1
include/asm-sparc64/delay.h
··· 11 11 #ifndef __SPARC64_DELAY_H 12 12 #define __SPARC64_DELAY_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/param.h> 16 15 #include <asm/cpudata.h> 17 16
-1
include/asm-sparc64/dma-mapping.h
··· 1 1 #ifndef _ASM_SPARC64_DMA_MAPPING_H 2 2 #define _ASM_SPARC64_DMA_MAPPING_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_PCI 7 6
-1
include/asm-sparc64/dma.h
··· 7 7 #ifndef _ASM_SPARC64_DMA_H 8 8 #define _ASM_SPARC64_DMA_H 9 9 10 - #include <linux/config.h> 11 10 #include <linux/kernel.h> 12 11 #include <linux/types.h> 13 12 #include <linux/spinlock.h>
-1
include/asm-sparc64/floppy.h
··· 10 10 #ifndef __ASM_SPARC64_FLOPPY_H 11 11 #define __ASM_SPARC64_FLOPPY_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/init.h> 15 14 16 15 #include <asm/page.h>
-1
include/asm-sparc64/ide.h
··· 10 10 11 11 #ifdef __KERNEL__ 12 12 13 - #include <linux/config.h> 14 13 #include <asm/pgalloc.h> 15 14 #include <asm/io.h> 16 15 #include <asm/spitfire.h>
-1
include/asm-sparc64/irq.h
··· 8 8 #ifndef _SPARC64_IRQ_H 9 9 #define _SPARC64_IRQ_H 10 10 11 - #include <linux/config.h> 12 11 #include <linux/linkage.h> 13 12 #include <linux/kernel.h> 14 13 #include <linux/errno.h>
-1
include/asm-sparc64/kprobes.h
··· 1 1 #ifndef _SPARC64_KPROBES_H 2 2 #define _SPARC64_KPROBES_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/types.h> 6 5 #include <linux/percpu.h> 7 6
-1
include/asm-sparc64/mc146818rtc.h
··· 4 4 #ifndef __ASM_SPARC64_MC146818RTC_H 5 5 #define __ASM_SPARC64_MC146818RTC_H 6 6 7 - #include <linux/config.h> 8 7 #include <asm/io.h> 9 8 10 9 #ifndef RTC_PORT
-1
include/asm-sparc64/mmu.h
··· 1 1 #ifndef __MMU_H 2 2 #define __MMU_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/page.h> 6 5 #include <asm/const.h> 7 6 #include <asm/hypervisor.h>
-1
include/asm-sparc64/oplib.h
··· 9 9 #ifndef __SPARC64_OPLIB_H 10 10 #define __SPARC64_OPLIB_H 11 11 12 - #include <linux/config.h> 13 12 #include <asm/openprom.h> 14 13 15 14 /* OBP version string. */
-1
include/asm-sparc64/page.h
··· 3 3 #ifndef _SPARC64_PAGE_H 4 4 #define _SPARC64_PAGE_H 5 5 6 - #include <linux/config.h> 7 6 #include <asm/const.h> 8 7 9 8 #if defined(CONFIG_SPARC64_PAGE_SIZE_8KB)
-1
include/asm-sparc64/param.h
··· 1 1 #ifndef _ASMSPARC64_PARAM_H 2 2 #define _ASMSPARC64_PARAM_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef __KERNEL__ 7 6 # define HZ CONFIG_HZ /* Internal kernel timer frequency */
-1
include/asm-sparc64/pgalloc.h
··· 2 2 #ifndef _SPARC64_PGALLOC_H 3 3 #define _SPARC64_PGALLOC_H 4 4 5 - #include <linux/config.h> 6 5 #include <linux/kernel.h> 7 6 #include <linux/sched.h> 8 7 #include <linux/mm.h>
-1
include/asm-sparc64/pgtable.h
··· 14 14 15 15 #include <asm-generic/pgtable-nopud.h> 16 16 17 - #include <linux/config.h> 18 17 #include <linux/compiler.h> 19 18 #include <asm/types.h> 20 19 #include <asm/spitfire.h>
-1
include/asm-sparc64/processor.h
··· 13 13 */ 14 14 #define current_text_addr() ({ void *pc; __asm__("rd %%pc, %0" : "=r" (pc)); pc; }) 15 15 16 - #include <linux/config.h> 17 16 #include <asm/asi.h> 18 17 #include <asm/a.out.h> 19 18 #include <asm/pstate.h>
-1
include/asm-sparc64/siginfo.h
··· 11 11 12 12 #ifdef __KERNEL__ 13 13 14 - #include <linux/config.h> 15 14 #include <linux/compat.h> 16 15 17 16 #ifdef CONFIG_COMPAT
-1
include/asm-sparc64/signal.h
··· 6 6 7 7 #ifdef __KERNEL__ 8 8 #ifndef __ASSEMBLY__ 9 - #include <linux/config.h> 10 9 #include <linux/personality.h> 11 10 #include <linux/types.h> 12 11 #include <linux/compat.h>
-1
include/asm-sparc64/smp.h
··· 6 6 #ifndef _SPARC64_SMP_H 7 7 #define _SPARC64_SMP_H 8 8 9 - #include <linux/config.h> 10 9 #include <linux/threads.h> 11 10 #include <asm/asi.h> 12 11 #include <asm/starfire.h>
-1
include/asm-sparc64/spinlock.h
··· 6 6 #ifndef __SPARC64_SPINLOCK_H 7 7 #define __SPARC64_SPINLOCK_H 8 8 9 - #include <linux/config.h> 10 9 #include <linux/threads.h> /* For NR_CPUS */ 11 10 12 11 #ifndef __ASSEMBLY__
-1
include/asm-sparc64/system.h
··· 2 2 #ifndef __SPARC64_SYSTEM_H 3 3 #define __SPARC64_SYSTEM_H 4 4 5 - #include <linux/config.h> 6 5 #include <asm/ptrace.h> 7 6 #include <asm/processor.h> 8 7 #include <asm/visasm.h>
-1
include/asm-sparc64/timer.h
··· 9 9 10 10 #include <linux/types.h> 11 11 12 - #include <linux/config.h> 13 12 14 13 struct sparc64_tick_ops { 15 14 void (*init_tick)(unsigned long);
-1
include/asm-sparc64/tlb.h
··· 1 1 #ifndef _SPARC64_TLB_H 2 2 #define _SPARC64_TLB_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/swap.h> 6 5 #include <asm/pgalloc.h> 7 6 #include <asm/tlbflush.h>
-1
include/asm-sparc64/tlbflush.h
··· 1 1 #ifndef _SPARC64_TLBFLUSH_H 2 2 #define _SPARC64_TLBFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 #include <asm/mmu_context.h> 7 6
-1
include/asm-sparc64/ttable.h
··· 2 2 #ifndef _SPARC64_TTABLE_H 3 3 #define _SPARC64_TTABLE_H 4 4 5 - #include <linux/config.h> 6 5 #include <asm/utrap.h> 7 6 8 7 #ifdef __ASSEMBLY__
+2 -2
include/asm-sparc64/unistd.h
··· 321 321 #define __NR_set_robust_list 300 322 322 #define __NR_get_robust_list 301 323 323 324 + #ifdef __KERNEL__ 324 325 /* WARNING: You MAY NOT add syscall numbers larger than 301, since 325 326 * all of the syscall tables in the Sparc kernel are 326 327 * sized to have 301 entries (starting at zero). Therefore ··· 488 487 489 488 #endif /* __KERNEL_SYSCALLS__ */ 490 489 491 - #ifdef __KERNEL__ 492 490 /* sysconf options, for SunOS compatibility */ 493 491 #define _SC_ARG_MAX 1 494 492 #define _SC_CHILD_MAX 2 ··· 521 521 #define __ARCH_WANT_SYS_SIGPROCMASK 522 522 #define __ARCH_WANT_SYS_RT_SIGSUSPEND 523 523 #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND 524 - #endif 525 524 526 525 /* 527 526 * "Conditional" syscalls ··· 530 531 */ 531 532 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 532 533 534 + #endif /* __KERNEL__ */ 533 535 #endif /* _SPARC64_UNISTD_H */
-1
include/asm-um/a.out.h
··· 1 1 #ifndef __UM_A_OUT_H 2 2 #define __UM_A_OUT_H 3 3 4 - #include "linux/config.h" 5 4 #include "asm/arch/a.out.h" 6 5 #include "choose-mode.h" 7 6
-1
include/asm-um/cache.h
··· 1 1 #ifndef __UM_CACHE_H 2 2 #define __UM_CACHE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #if defined(CONFIG_UML_X86) && !defined(CONFIG_64BIT) 7 6 # define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT)
-1
include/asm-um/elf-ppc.h
··· 1 1 #ifndef __UM_ELF_PPC_H 2 2 #define __UM_ELF_PPC_H 3 3 4 - #include "linux/config.h" 5 4 6 5 extern long elf_aux_hwcap; 7 6 #define ELF_HWCAP (elf_aux_hwcap)
-1
include/asm-um/fixmap.h
··· 1 1 #ifndef __UM_FIXMAP_H 2 2 #define __UM_FIXMAP_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/kmap_types.h> 6 5 #include <asm/archparam.h> 7 6 #include <asm/elf.h>
-1
include/asm-um/hardirq.h
··· 3 3 #ifndef __ASM_UM_HARDIRQ_H 4 4 #define __ASM_UM_HARDIRQ_H 5 5 6 - #include <linux/config.h> 7 6 #include <linux/threads.h> 8 7 #include <linux/irq.h> 9 8
-1
include/asm-um/linkage.h
··· 3 3 4 4 #include "asm/arch/linkage.h" 5 5 6 - #include <linux/config.h> 7 6 8 7 /* <linux/linkage.h> will pick sane defaults */ 9 8 #ifdef CONFIG_GPROF
-1
include/asm-um/mmu_context.h
··· 7 7 #define __UM_MMU_CONTEXT_H 8 8 9 9 #include "linux/sched.h" 10 - #include "linux/config.h" 11 10 #include "choose-mode.h" 12 11 #include "um_mmu.h" 13 12
-1
include/asm-um/page.h
··· 9 9 10 10 struct page; 11 11 12 - #include <linux/config.h> 13 12 #include <asm/vm-flags.h> 14 13 15 14 /* PAGE_SHIFT determines the page size */
-1
include/asm-um/pgalloc.h
··· 8 8 #ifndef __UM_PGALLOC_H 9 9 #define __UM_PGALLOC_H 10 10 11 - #include "linux/config.h" 12 11 #include "linux/mm.h" 13 12 #include "asm/fixmap.h" 14 13
-1
include/asm-um/processor-generic.h
··· 10 10 11 11 struct task_struct; 12 12 13 - #include "linux/config.h" 14 13 #include "asm/ptrace.h" 15 14 #include "choose-mode.h" 16 15 #include "registers.h"
-1
include/asm-um/ptrace-generic.h
··· 8 8 9 9 #ifndef __ASSEMBLY__ 10 10 11 - #include "linux/config.h" 12 11 13 12 #define pt_regs pt_regs_subarch 14 13 #define show_regs show_regs_subarch
-1
include/asm-um/smp.h
··· 3 3 4 4 #ifdef CONFIG_SMP 5 5 6 - #include "linux/config.h" 7 6 #include "linux/bitops.h" 8 7 #include "asm/current.h" 9 8 #include "linux/cpumask.h"
-1
include/asm-um/thread_info.h
··· 8 8 9 9 #ifndef __ASSEMBLY__ 10 10 11 - #include <linux/config.h> 12 11 #include <asm/processor.h> 13 12 #include <asm/types.h> 14 13
-1
include/asm-v850/atomic.h
··· 14 14 #ifndef __V850_ATOMIC_H__ 15 15 #define __V850_ATOMIC_H__ 16 16 17 - #include <linux/config.h> 18 17 19 18 #include <asm/system.h> 20 19
-1
include/asm-v850/bitops.h
··· 14 14 #define __V850_BITOPS_H__ 15 15 16 16 17 - #include <linux/config.h> 18 17 #include <linux/compiler.h> /* unlikely */ 19 18 #include <asm/byteorder.h> /* swab32 */ 20 19 #include <asm/system.h> /* interrupt enable/disable */
-1
include/asm-v850/dma-mapping.h
··· 1 1 #ifndef __V850_DMA_MAPPING_H__ 2 2 #define __V850_DMA_MAPPING_H__ 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_PCI 7 6 #include <asm-generic/dma-mapping.h>
-1
include/asm-v850/hardirq.h
··· 1 1 #ifndef __V850_HARDIRQ_H__ 2 2 #define __V850_HARDIRQ_H__ 3 3 4 - #include <linux/config.h> 5 4 #include <linux/threads.h> 6 5 #include <linux/cache.h> 7 6
-1
include/asm-v850/machdep.h
··· 14 14 #ifndef __V850_MACHDEP_H__ 15 15 #define __V850_MACHDEP_H__ 16 16 17 - #include <linux/config.h> 18 17 19 18 /* chips */ 20 19 #ifdef CONFIG_V850E_MA1
-1
include/asm-v850/pgtable.h
··· 3 3 4 4 #include <asm-generic/4level-fixup.h> 5 5 6 - #include <linux/config.h> 7 6 #include <asm/page.h> 8 7 9 8
-1
include/asm-v850/processor.h
··· 14 14 #ifndef __V850_PROCESSOR_H__ 15 15 #define __V850_PROCESSOR_H__ 16 16 17 - #include <linux/config.h> 18 17 #ifndef __ASSEMBLY__ /* <linux/thread_info.h> is not asm-safe. */ 19 18 #include <linux/thread_info.h> 20 19 #endif
-1
include/asm-v850/serial.h
··· 6 6 * Copyright (C) 1999 by Ralf Baechle 7 7 * Copyright (C) 1999, 2000 Silicon Graphics, Inc. 8 8 */ 9 - #include <linux/config.h> 10 9 11 10 #ifdef CONFIG_RTE_CB_ME2 12 11
+4 -8
include/asm-v850/unistd.h
··· 14 14 #ifndef __V850_UNISTD_H__ 15 15 #define __V850_UNISTD_H__ 16 16 17 - #include <asm/clinkage.h> 18 - 19 17 #define __NR_restart_syscall 0 20 18 #define __NR_exit 1 21 19 #define __NR_fork 2 ··· 235 237 except the syscall number (r12). */ 236 238 #define SYSCALL_SHORT_CLOBBERS SYSCALL_CLOBBERS, "r13", "r14" 237 239 240 + #ifdef __KERNEL__ 238 241 239 - /* User programs sometimes end up including this header file 240 - (indirectly, via uClibc header files), so I'm a bit nervous just 241 - including <linux/compiler.h>. */ 242 + #include <asm/clinkage.h> 242 243 243 244 #define __syscall_return(type, res) \ 244 245 do { \ ··· 365 368 } 366 369 367 370 368 - #ifdef __KERNEL__ 369 371 #define __ARCH_WANT_IPC_PARSE_VERSION 370 372 #define __ARCH_WANT_OLD_READDIR 371 373 #define __ARCH_WANT_STAT64 ··· 385 389 #define __ARCH_WANT_SYS_SIGPENDING 386 390 #define __ARCH_WANT_SYS_SIGPROCMASK 387 391 #define __ARCH_WANT_SYS_RT_SIGACTION 388 - #endif 389 392 390 393 #ifdef __KERNEL_SYSCALLS__ 391 394 ··· 435 440 struct sigaction __user *oact, 436 441 size_t sigsetsize); 437 442 438 - #endif 443 + #endif /* __KERNEL_SYSCALLS__ */ 439 444 440 445 /* 441 446 * "Conditional" syscalls ··· 450 455 void name (void) __attribute__ ((weak, alias ("sys_ni_syscall"))); 451 456 #endif 452 457 458 + #endif /* __KERNEL__ */ 453 459 #endif /* __V850_UNISTD_H__ */
-1
include/asm-v850/v850e_uart.h
··· 19 19 #ifndef __V850_V850E_UART_H__ 20 20 #define __V850_V850E_UART_H__ 21 21 22 - #include <linux/config.h> 23 22 #include <linux/termios.h> 24 23 25 24 #include <asm/v850e_utils.h>
-1
include/asm-x86_64/apic.h
··· 1 1 #ifndef __ASM_APIC_H 2 2 #define __ASM_APIC_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/pm.h> 6 5 #include <asm/fixmap.h> 7 6 #include <asm/apicdef.h>
-1
include/asm-x86_64/atomic.h
··· 1 1 #ifndef __ARCH_X86_64_ATOMIC__ 2 2 #define __ARCH_X86_64_ATOMIC__ 3 3 4 - #include <linux/config.h> 5 4 #include <asm/types.h> 6 5 7 6 /* atomic_t should be 32 bit signed type */
-1
include/asm-x86_64/bitops.h
··· 5 5 * Copyright 1992, Linus Torvalds. 6 6 */ 7 7 8 - #include <linux/config.h> 9 8 10 9 #ifdef CONFIG_SMP 11 10 #define LOCK_PREFIX "lock ; "
-1
include/asm-x86_64/bugs.h
··· 10 10 * void check_bugs(void); 11 11 */ 12 12 13 - #include <linux/config.h> 14 13 #include <asm/processor.h> 15 14 #include <asm/i387.h> 16 15 #include <asm/msr.h>
-1
include/asm-x86_64/cache.h
··· 4 4 #ifndef __ARCH_X8664_CACHE_H 5 5 #define __ARCH_X8664_CACHE_H 6 6 7 - #include <linux/config.h> 8 7 9 8 /* L1 cache line size */ 10 9 #define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT)
-1
include/asm-x86_64/calling.h
··· 2 2 * Some macros to handle stack frames in assembly. 3 3 */ 4 4 5 - #include <linux/config.h> 6 5 7 6 #define R15 0 8 7 #define R14 8
-1
include/asm-x86_64/dma-mapping.h
··· 6 6 * documentation. 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 11 10 #include <asm/scatterlist.h> 12 11 #include <asm/io.h>
-1
include/asm-x86_64/dma.h
··· 8 8 #ifndef _ASM_DMA_H 9 9 #define _ASM_DMA_H 10 10 11 - #include <linux/config.h> 12 11 #include <linux/spinlock.h> /* And spinlocks */ 13 12 #include <asm/io.h> /* need byte IO */ 14 13 #include <linux/delay.h>
-1
include/asm-x86_64/dwarf2.h
··· 1 1 #ifndef _DWARF2_H 2 2 #define _DWARF2_H 1 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifndef __ASSEMBLY__ 7 6 #warning "asm/dwarf2.h should be only included in pure assembly files"
-1
include/asm-x86_64/fixmap.h
··· 11 11 #ifndef _ASM_FIXMAP_H 12 12 #define _ASM_FIXMAP_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/kernel.h> 16 15 #include <asm/apicdef.h> 17 16 #include <asm/page.h>
-1
include/asm-x86_64/hardirq.h
··· 1 1 #ifndef __ASM_HARDIRQ_H 2 2 #define __ASM_HARDIRQ_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/threads.h> 6 5 #include <linux/irq.h> 7 6 #include <asm/pda.h>
-1
include/asm-x86_64/hw_irq.h
··· 17 17 */ 18 18 19 19 #ifndef __ASSEMBLY__ 20 - #include <linux/config.h> 21 20 #include <asm/atomic.h> 22 21 #include <asm/irq.h> 23 22 #include <linux/profile.h>
-1
include/asm-x86_64/ia32.h
··· 1 1 #ifndef _ASM_X86_64_IA32_H 2 2 #define _ASM_X86_64_IA32_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_IA32_EMULATION 7 6
-1
include/asm-x86_64/io.h
··· 1 1 #ifndef _ASM_IO_H 2 2 #define _ASM_IO_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * This file contains the definitions for the x86 IO instructions
-1
include/asm-x86_64/io_apic.h
··· 1 1 #ifndef __ASM_IO_APIC_H 2 2 #define __ASM_IO_APIC_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/types.h> 6 5 #include <asm/mpspec.h> 7 6
-1
include/asm-x86_64/mmu_context.h
··· 1 1 #ifndef __X86_64_MMU_CONTEXT_H 2 2 #define __X86_64_MMU_CONTEXT_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/desc.h> 6 5 #include <asm/atomic.h> 7 6 #include <asm/pgalloc.h>
-1
include/asm-x86_64/mmzone.h
··· 4 4 #ifndef _ASM_X86_64_MMZONE_H 5 5 #define _ASM_X86_64_MMZONE_H 1 6 6 7 - #include <linux/config.h> 8 7 9 8 #ifdef CONFIG_NUMA 10 9
+4 -5
include/asm-x86_64/mtrr.h
··· 23 23 #ifndef _LINUX_MTRR_H 24 24 #define _LINUX_MTRR_H 25 25 26 - #include <linux/config.h> 27 26 #include <linux/ioctl.h> 28 - #include <linux/compat.h> 29 27 30 28 #define MTRR_IOCTL_BASE 'M' 31 29 ··· 100 102 return -ENODEV; 101 103 } 102 104 103 - # endif 104 - 105 - #endif 105 + #endif /* CONFIG_MTRR */ 106 106 107 107 #ifdef CONFIG_COMPAT 108 + #include <linux/compat.h> 108 109 109 110 struct mtrr_sentry32 110 111 { ··· 134 137 #define MTRRIOC32_KILL_PAGE_ENTRY _IOW(MTRR_IOCTL_BASE, 9, struct mtrr_sentry32) 135 138 136 139 #endif /* CONFIG_COMPAT */ 140 + 141 + #endif /* __KERNEL__ */ 137 142 138 143 #endif /* _LINUX_MTRR_H */
+2 -3
include/asm-x86_64/page.h
··· 1 1 #ifndef _X86_64_PAGE_H 2 2 #define _X86_64_PAGE_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* PAGE_SHIFT determines the page size */ 7 6 #define PAGE_SHIFT 12 ··· 135 136 136 137 #define __HAVE_ARCH_GATE_AREA 1 137 138 138 - #endif /* __KERNEL__ */ 139 - 140 139 #include <asm-generic/memory_model.h> 141 140 #include <asm-generic/page.h> 141 + 142 + #endif /* __KERNEL__ */ 142 143 143 144 #endif /* _X86_64_PAGE_H */
-1
include/asm-x86_64/param.h
··· 2 2 #define _ASMx86_64_PARAM_H 3 3 4 4 #ifdef __KERNEL__ 5 - # include <linux/config.h> 6 5 # define HZ CONFIG_HZ /* Internal kernel timer frequency */ 7 6 # define USER_HZ 100 /* .. some user interfaces are in "ticks */ 8 7 #define CLOCKS_PER_SEC (USER_HZ) /* like times() */
-1
include/asm-x86_64/pci.h
··· 1 1 #ifndef __x8664_PCI_H 2 2 #define __x8664_PCI_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/io.h> 6 5 7 6 #ifdef __KERNEL__
-1
include/asm-x86_64/processor.h
··· 12 12 #include <asm/types.h> 13 13 #include <asm/sigcontext.h> 14 14 #include <asm/cpufeature.h> 15 - #include <linux/config.h> 16 15 #include <linux/threads.h> 17 16 #include <asm/msr.h> 18 17 #include <asm/current.h>
-1
include/asm-x86_64/serial.h
··· 2 2 * include/asm-x86_64/serial.h 3 3 */ 4 4 5 - #include <linux/config.h> 6 5 7 6 /* 8 7 * This assumes you have a 1.8432 MHz clock for your UART.
-1
include/asm-x86_64/smp.h
··· 5 5 * We need the APIC definitions automatically as part of 'smp.h' 6 6 */ 7 7 #ifndef __ASSEMBLY__ 8 - #include <linux/config.h> 9 8 #include <linux/threads.h> 10 9 #include <linux/cpumask.h> 11 10 #include <linux/bitops.h>
-1
include/asm-x86_64/spinlock.h
··· 4 4 #include <asm/atomic.h> 5 5 #include <asm/rwlock.h> 6 6 #include <asm/page.h> 7 - #include <linux/config.h> 8 7 9 8 /* 10 9 * Your basic SMP spinlocks, allowing only a single CPU anywhere
-1
include/asm-x86_64/swiotlb.h
··· 1 1 #ifndef _ASM_SWIOTLB_H 2 2 #define _ASM_SWTIOLB_H 1 3 3 4 - #include <linux/config.h> 5 4 6 5 #include <asm/dma-mapping.h> 7 6
-1
include/asm-x86_64/system.h
··· 1 1 #ifndef __ASM_SYSTEM_H 2 2 #define __ASM_SYSTEM_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/kernel.h> 6 5 #include <asm/segment.h> 7 6
-1
include/asm-x86_64/tlbflush.h
··· 1 1 #ifndef _X8664_TLBFLUSH_H 2 2 #define _X8664_TLBFLUSH_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 #include <asm/processor.h> 7 6
-1
include/asm-x86_64/topology.h
··· 1 1 #ifndef _ASM_X86_64_TOPOLOGY_H 2 2 #define _ASM_X86_64_TOPOLOGY_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_NUMA 7 6
-1
include/asm-x86_64/uaccess.h
··· 4 4 /* 5 5 * User space memory access functions 6 6 */ 7 - #include <linux/config.h> 8 7 #include <linux/compiler.h> 9 8 #include <linux/errno.h> 10 9 #include <linux/sched.h>
+4 -3
include/asm-x86_64/unistd.h
··· 618 618 #define __NR_vmsplice 278 619 619 __SYSCALL(__NR_vmsplice, sys_vmsplice) 620 620 621 + #ifdef __KERNEL__ 622 + 621 623 #define __NR_syscall_max __NR_vmsplice 622 624 623 625 #ifndef __NO_STUBS ··· 637 635 return (type) (res); \ 638 636 } while (0) 639 637 640 - #ifdef __KERNEL__ 641 638 #define __ARCH_WANT_OLD_READDIR 642 639 #define __ARCH_WANT_OLD_STAT 643 640 #define __ARCH_WANT_SYS_ALARM ··· 658 657 #define __ARCH_WANT_SYS_RT_SIGACTION 659 658 #define __ARCH_WANT_SYS_TIME 660 659 #define __ARCH_WANT_COMPAT_SYS_TIME 661 - #endif 662 660 663 661 #ifndef __KERNEL_SYSCALLS__ 664 662 ··· 821 821 822 822 #endif /* __KERNEL_SYSCALLS__ */ 823 823 824 - #if !defined(__ASSEMBLY__) && defined(__KERNEL__) 824 + #ifndef __ASSEMBLY__ 825 825 826 826 #include <linux/linkage.h> 827 827 #include <linux/compiler.h> ··· 848 848 */ 849 849 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 850 850 851 + #endif /* __KERNEL__ */ 851 852 #endif
-1
include/asm-xtensa/atomic.h
··· 13 13 #ifndef _XTENSA_ATOMIC_H 14 14 #define _XTENSA_ATOMIC_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/stringify.h> 18 17 19 18 typedef struct { volatile int counter; } atomic_t;
-1
include/asm-xtensa/checksum.h
··· 11 11 #ifndef _XTENSA_CHECKSUM_H 12 12 #define _XTENSA_CHECKSUM_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/in6.h> 16 15 #include <xtensa/config/core.h> 17 16
-1
include/asm-xtensa/delay.h
··· 12 12 #ifndef _XTENSA_DELAY_H 13 13 #define _XTENSA_DELAY_H 14 14 15 - #include <linux/config.h> 16 15 #include <asm/processor.h> 17 16 #include <asm/param.h> 18 17
-1
include/asm-xtensa/dma.h
··· 11 11 #ifndef _XTENSA_DMA_H 12 12 #define _XTENSA_DMA_H 13 13 14 - #include <linux/config.h> 15 14 #include <asm/io.h> /* need byte IO */ 16 15 #include <xtensa/config/core.h> 17 16
-1
include/asm-xtensa/hardirq.h
··· 11 11 #ifndef _XTENSA_HARDIRQ_H 12 12 #define _XTENSA_HARDIRQ_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/cache.h> 16 15 #include <asm/irq.h> 17 16
-1
include/asm-xtensa/ide.h
··· 14 14 15 15 #ifdef __KERNEL__ 16 16 17 - #include <linux/config.h> 18 17 19 18 #ifndef MAX_HWIFS 20 19 # define MAX_HWIFS 1
-1
include/asm-xtensa/io.h
··· 12 12 #define _XTENSA_IO_H 13 13 14 14 #ifdef __KERNEL__ 15 - #include <linux/config.h> 16 15 #include <asm/byteorder.h> 17 16 18 17 #include <linux/types.h>
-1
include/asm-xtensa/irq.h
··· 11 11 #ifndef _XTENSA_IRQ_H 12 12 #define _XTENSA_IRQ_H 13 13 14 - #include <linux/config.h> 15 14 #include <asm/platform/hardware.h> 16 15 17 16 #include <xtensa/config/core.h>
-1
include/asm-xtensa/mmu_context.h
··· 13 13 #ifndef _XTENSA_MMU_CONTEXT_H 14 14 #define _XTENSA_MMU_CONTEXT_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/stringify.h> 18 17 19 18 #include <asm/pgtable.h>
-1
include/asm-xtensa/page.h
··· 14 14 #ifdef __KERNEL__ 15 15 16 16 #include <asm/processor.h> 17 - #include <linux/config.h> 18 17 19 18 /* 20 19 * PAGE_SHIFT determines the page size
-1
include/asm-xtensa/pgalloc.h
··· 13 13 14 14 #ifdef __KERNEL__ 15 15 16 - #include <linux/config.h> 17 16 #include <linux/threads.h> 18 17 #include <linux/highmem.h> 19 18 #include <asm/processor.h>
-1
include/asm-xtensa/platform.h
··· 13 13 #ifndef _XTENSA_PLATFORM_H 14 14 #define _XTENSA_PLATFORM_H 15 15 16 - #include <linux/config.h> 17 16 #include <linux/types.h> 18 17 #include <linux/pci.h> 19 18
-1
include/asm-xtensa/system.h
··· 11 11 #ifndef _XTENSA_SYSTEM_H 12 12 #define _XTENSA_SYSTEM_H 13 13 14 - #include <linux/config.h> 15 14 #include <linux/stringify.h> 16 15 17 16 #include <asm/processor.h>
+3 -18
include/asm-xtensa/unistd.h
··· 11 11 #ifndef _XTENSA_UNISTD_H 12 12 #define _XTENSA_UNISTD_H 13 13 14 - #include <linux/linkage.h> 15 - 16 14 #define __NR_spill 0 17 15 #define __NR_exit 1 18 16 #define __NR_read 3 ··· 219 221 #define SYSXTENSA_COUNT 5 /* count of syscall0 functions*/ 220 222 221 223 #ifdef __KERNEL__ 222 - #define __syscall_return(type, res) return ((type)(res)) 223 - #else 224 - #define __syscall_return(type, res) \ 225 - do { \ 226 - if ((unsigned long)(res) >= (unsigned long)(-125)) { \ 227 - /* Avoid using "res" which is declared to be in register r2; \ 228 - * errno might expand to a function call and clobber it. */ \ 229 - int __err = -(res); \ 230 - errno = __err; \ 231 - res = -1; \ 232 - } \ 233 - return (type) (res); \ 234 - } while (0) 235 - #endif 224 + #include <linux/linkage.h> 236 225 226 + #define __syscall_return(type, res) return ((type)(res)) 237 227 238 228 /* Tensilica's xt-xcc compiler is much more agressive at code 239 229 * optimization than gcc. Multiple __asm__ statements are ··· 415 429 */ 416 430 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall"); 417 431 418 - #ifdef __KERNEL__ 419 432 #define __ARCH_WANT_STAT64 420 433 #define __ARCH_WANT_SYS_UTIME 421 434 #define __ARCH_WANT_SYS_LLSEEK 422 435 #define __ARCH_WANT_SYS_RT_SIGACTION 423 - #endif 436 + #endif /* __KERNEL__ */ 424 437 425 438 #endif /* _XTENSA_UNISTD_H */
+1 -2
include/linux/acct.h
··· 16 16 #define _LINUX_ACCT_H 17 17 18 18 #include <linux/types.h> 19 - #include <linux/jiffies.h> 20 19 21 20 #include <asm/param.h> 22 21 #include <asm/byteorder.h> ··· 115 116 116 117 #ifdef __KERNEL__ 117 118 118 - #include <linux/config.h> 119 119 120 120 #ifdef CONFIG_BSD_PROCESS_ACCT 121 121 struct vfsmount; ··· 163 165 #endif /* __KERNEL */ 164 166 165 167 #ifdef __KERNEL__ 168 + #include <linux/jiffies.h> 166 169 /* 167 170 * Yet another set of HZ to *HZ helper functions. 168 171 * See <linux/jiffies.h> for the original.
-1
include/linux/acpi.h
··· 25 25 #ifndef _LINUX_ACPI_H 26 26 #define _LINUX_ACPI_H 27 27 28 - #include <linux/config.h> 29 28 30 29 #ifdef CONFIG_ACPI 31 30
+37 -35
include/linux/affs_hardblocks.h
··· 1 1 #ifndef AFFS_HARDBLOCKS_H 2 2 #define AFFS_HARDBLOCKS_H 3 3 4 + #include <linux/types.h> 5 + 4 6 /* Just the needed definitions for the RDB of an Amiga HD. */ 5 7 6 8 struct RigidDiskBlock { 7 - u32 rdb_ID; 9 + __u32 rdb_ID; 8 10 __be32 rdb_SummedLongs; 9 - s32 rdb_ChkSum; 10 - u32 rdb_HostID; 11 + __s32 rdb_ChkSum; 12 + __u32 rdb_HostID; 11 13 __be32 rdb_BlockBytes; 12 - u32 rdb_Flags; 13 - u32 rdb_BadBlockList; 14 + __u32 rdb_Flags; 15 + __u32 rdb_BadBlockList; 14 16 __be32 rdb_PartitionList; 15 - u32 rdb_FileSysHeaderList; 16 - u32 rdb_DriveInit; 17 - u32 rdb_Reserved1[6]; 18 - u32 rdb_Cylinders; 19 - u32 rdb_Sectors; 20 - u32 rdb_Heads; 21 - u32 rdb_Interleave; 22 - u32 rdb_Park; 23 - u32 rdb_Reserved2[3]; 24 - u32 rdb_WritePreComp; 25 - u32 rdb_ReducedWrite; 26 - u32 rdb_StepRate; 27 - u32 rdb_Reserved3[5]; 28 - u32 rdb_RDBBlocksLo; 29 - u32 rdb_RDBBlocksHi; 30 - u32 rdb_LoCylinder; 31 - u32 rdb_HiCylinder; 32 - u32 rdb_CylBlocks; 33 - u32 rdb_AutoParkSeconds; 34 - u32 rdb_HighRDSKBlock; 35 - u32 rdb_Reserved4; 17 + __u32 rdb_FileSysHeaderList; 18 + __u32 rdb_DriveInit; 19 + __u32 rdb_Reserved1[6]; 20 + __u32 rdb_Cylinders; 21 + __u32 rdb_Sectors; 22 + __u32 rdb_Heads; 23 + __u32 rdb_Interleave; 24 + __u32 rdb_Park; 25 + __u32 rdb_Reserved2[3]; 26 + __u32 rdb_WritePreComp; 27 + __u32 rdb_ReducedWrite; 28 + __u32 rdb_StepRate; 29 + __u32 rdb_Reserved3[5]; 30 + __u32 rdb_RDBBlocksLo; 31 + __u32 rdb_RDBBlocksHi; 32 + __u32 rdb_LoCylinder; 33 + __u32 rdb_HiCylinder; 34 + __u32 rdb_CylBlocks; 35 + __u32 rdb_AutoParkSeconds; 36 + __u32 rdb_HighRDSKBlock; 37 + __u32 rdb_Reserved4; 36 38 char rdb_DiskVendor[8]; 37 39 char rdb_DiskProduct[16]; 38 40 char rdb_DiskRevision[4]; 39 41 char rdb_ControllerVendor[8]; 40 42 char rdb_ControllerProduct[16]; 41 43 char rdb_ControllerRevision[4]; 42 - u32 rdb_Reserved5[10]; 44 + __u32 rdb_Reserved5[10]; 43 45 }; 44 46 45 47 #define IDNAME_RIGIDDISK 0x5244534B /* "RDSK" */ ··· 49 47 struct PartitionBlock { 50 48 __be32 pb_ID; 51 49 __be32 pb_SummedLongs; 52 - s32 pb_ChkSum; 53 - u32 pb_HostID; 50 + __s32 pb_ChkSum; 51 + __u32 pb_HostID; 54 52 __be32 pb_Next; 55 - u32 pb_Flags; 56 - u32 pb_Reserved1[2]; 57 - u32 pb_DevFlags; 58 - u8 pb_DriveName[32]; 59 - u32 pb_Reserved2[15]; 53 + __u32 pb_Flags; 54 + __u32 pb_Reserved1[2]; 55 + __u32 pb_DevFlags; 56 + __u8 pb_DriveName[32]; 57 + __u32 pb_Reserved2[15]; 60 58 __be32 pb_Environment[17]; 61 - u32 pb_EReserved[15]; 59 + __u32 pb_EReserved[15]; 62 60 }; 63 61 64 62 #define IDNAME_PARTITION 0x50415254 /* "PART" */
+1 -2
include/linux/agpgart.h
··· 27 27 #ifndef _AGP_H 28 28 #define _AGP_H 1 29 29 30 - #include <linux/agp_backend.h> 31 - 32 30 #define AGPIOC_BASE 'A' 33 31 #define AGPIOC_INFO _IOR (AGPIOC_BASE, 0, struct agp_info*) 34 32 #define AGPIOC_ACQUIRE _IO (AGPIOC_BASE, 1) ··· 110 112 111 113 #else /* __KERNEL__ */ 112 114 #include <linux/mutex.h> 115 + #include <linux/agp_backend.h> 113 116 114 117 #define AGPGART_MINOR 175 115 118
-1
include/linux/amba/clcd.h
··· 9 9 * License. See the file COPYING in the main directory of this archive 10 10 * for more details. 11 11 */ 12 - #include <linux/config.h> 13 12 #include <linux/fb.h> 14 13 15 14 /*
-1
include/linux/atmdev.h
··· 209 209 210 210 #ifdef __KERNEL__ 211 211 212 - #include <linux/config.h> 213 212 #include <linux/wait.h> /* wait_queue_head_t */ 214 213 #include <linux/time.h> /* struct timeval */ 215 214 #include <linux/net.h>
+2 -2
include/linux/audit.h
··· 24 24 #ifndef _LINUX_AUDIT_H_ 25 25 #define _LINUX_AUDIT_H_ 26 26 27 - #include <linux/sched.h> 28 - #include <linux/elf.h> 27 + #include <linux/elf-em.h> 29 28 30 29 /* The netlink messages for the audit system is divided into blocks: 31 30 * 1000 - 1099 are for commanding the audit system ··· 272 273 }; 273 274 274 275 #ifdef __KERNEL__ 276 + #include <linux/sched.h> 275 277 276 278 struct audit_sig_info { 277 279 uid_t uid;
-1
include/linux/blkdev.h
··· 1 1 #ifndef _LINUX_BLKDEV_H 2 2 #define _LINUX_BLKDEV_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/major.h> 6 5 #include <linux/genhd.h> 7 6 #include <linux/list.h>
+1
include/linux/blkpg.h
··· 24 24 * 25 25 * For today, only the partition stuff - aeb, 990515 26 26 */ 27 + #include <linux/compiler.h> 27 28 #include <linux/ioctl.h> 28 29 29 30 #define BLKPG _IO(0x12,105)
-1
include/linux/blktrace_api.h
··· 1 1 #ifndef BLKTRACE_H 2 2 #define BLKTRACE_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/blkdev.h> 6 5 #include <linux/relay.h> 7 6
-1
include/linux/blockgroup_lock.h
··· 6 6 * Simple hashed spinlocking. 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 #include <linux/spinlock.h> 11 10 #include <linux/cache.h> 12 11
-1
include/linux/cache.h
··· 2 2 #define __LINUX_CACHE_H 3 3 4 4 #include <linux/kernel.h> 5 - #include <linux/config.h> 6 5 #include <asm/cache.h> 7 6 8 7 #ifndef L1_CACHE_ALIGN
-1
include/linux/coda.h
··· 59 59 #ifndef _CODA_HEADER_ 60 60 #define _CODA_HEADER_ 61 61 62 - #include <linux/config.h> 63 62 64 63 /* Catch new _KERNEL defn for NetBSD and DJGPP/__CYGWIN32__ */ 65 64 #if defined(__NetBSD__) || \
-1
include/linux/compat.h
··· 4 4 * These are the type definitions for the architecture specific 5 5 * syscall compatibility layer. 6 6 */ 7 - #include <linux/config.h> 8 7 9 8 #ifdef CONFIG_COMPAT 10 9
+11 -8
include/linux/compiler.h
··· 78 78 79 79 #endif /* __ASSEMBLY__ */ 80 80 81 + #ifdef __KERNEL__ 81 82 /* 82 83 * Allow us to mark functions as 'deprecated' and have gcc emit a nice 83 84 * warning for each use, in hopes of speeding the functions removal. ··· 128 127 # define __attribute_pure__ /* unimplemented */ 129 128 #endif 130 129 130 + #ifndef noinline 131 + #define noinline 132 + #endif 133 + 134 + #ifndef __always_inline 135 + #define __always_inline inline 136 + #endif 137 + 138 + #endif /* __KERNEL__ */ 139 + 131 140 /* 132 141 * From the GCC manual: 133 142 * ··· 154 143 */ 155 144 #ifndef __attribute_const__ 156 145 # define __attribute_const__ /* unimplemented */ 157 - #endif 158 - 159 - #ifndef noinline 160 - #define noinline 161 - #endif 162 - 163 - #ifndef __always_inline 164 - #define __always_inline inline 165 146 #endif 166 147 167 148 #endif /* __LINUX_COMPILER_H */
-1
include/linux/cpufreq.h
··· 15 15 #define _LINUX_CPUFREQ_H 16 16 17 17 #include <linux/mutex.h> 18 - #include <linux/config.h> 19 18 #include <linux/notifier.h> 20 19 #include <linux/threads.h> 21 20 #include <linux/device.h>
+14 -20
include/linux/cramfs_fs.h
··· 1 1 #ifndef __CRAMFS_H 2 2 #define __CRAMFS_H 3 3 4 - #ifndef __KERNEL__ 5 - 6 - typedef unsigned char u8; 7 - typedef unsigned short u16; 8 - typedef unsigned int u32; 9 - 10 - #endif 4 + #include <linux/types.h> 11 5 12 6 #define CRAMFS_MAGIC 0x28cd3d45 /* some random number */ 13 7 #define CRAMFS_SIGNATURE "Compressed ROMFS" ··· 27 33 * Reasonably terse representation of the inode data. 28 34 */ 29 35 struct cramfs_inode { 30 - u32 mode:CRAMFS_MODE_WIDTH, uid:CRAMFS_UID_WIDTH; 36 + __u32 mode:CRAMFS_MODE_WIDTH, uid:CRAMFS_UID_WIDTH; 31 37 /* SIZE for device files is i_rdev */ 32 - u32 size:CRAMFS_SIZE_WIDTH, gid:CRAMFS_GID_WIDTH; 38 + __u32 size:CRAMFS_SIZE_WIDTH, gid:CRAMFS_GID_WIDTH; 33 39 /* NAMELEN is the length of the file name, divided by 4 and 34 40 rounded up. (cramfs doesn't support hard links.) */ 35 41 /* OFFSET: For symlinks and non-empty regular files, this ··· 38 44 see README). For non-empty directories it is the offset 39 45 (divided by 4) of the inode of the first file in that 40 46 directory. For anything else, offset is zero. */ 41 - u32 namelen:CRAMFS_NAMELEN_WIDTH, offset:CRAMFS_OFFSET_WIDTH; 47 + __u32 namelen:CRAMFS_NAMELEN_WIDTH, offset:CRAMFS_OFFSET_WIDTH; 42 48 }; 43 49 44 50 struct cramfs_info { 45 - u32 crc; 46 - u32 edition; 47 - u32 blocks; 48 - u32 files; 51 + __u32 crc; 52 + __u32 edition; 53 + __u32 blocks; 54 + __u32 files; 49 55 }; 50 56 51 57 /* 52 58 * Superblock information at the beginning of the FS. 53 59 */ 54 60 struct cramfs_super { 55 - u32 magic; /* 0x28cd3d45 - random number */ 56 - u32 size; /* length in bytes */ 57 - u32 flags; /* feature flags */ 58 - u32 future; /* reserved for future use */ 59 - u8 signature[16]; /* "Compressed ROMFS" */ 61 + __u32 magic; /* 0x28cd3d45 - random number */ 62 + __u32 size; /* length in bytes */ 63 + __u32 flags; /* feature flags */ 64 + __u32 future; /* reserved for future use */ 65 + __u8 signature[16]; /* "Compressed ROMFS" */ 60 66 struct cramfs_info fsid; /* unique filesystem info */ 61 - u8 name[16]; /* user-defined name */ 67 + __u8 name[16]; /* user-defined name */ 62 68 struct cramfs_inode root; /* root inode data */ 63 69 }; 64 70
-1
include/linux/crypto.h
··· 17 17 #ifndef _LINUX_CRYPTO_H 18 18 #define _LINUX_CRYPTO_H 19 19 20 - #include <linux/config.h> 21 20 #include <linux/module.h> 22 21 #include <linux/kernel.h> 23 22 #include <linux/types.h>
-1
include/linux/cyclomx.h
··· 24 24 * 1998/08/08 acme Version 0.0.1 25 25 */ 26 26 27 - #include <linux/config.h> 28 27 #include <linux/wanrouter.h> 29 28 #include <linux/spinlock.h> 30 29
-1
include/linux/dcookies.h
··· 9 9 #ifndef DCOOKIES_H 10 10 #define DCOOKIES_H 11 11 12 - #include <linux/config.h> 13 12 14 13 #ifdef CONFIG_PROFILING 15 14
-1
include/linux/devfs_fs_kernel.h
··· 2 2 #define _LINUX_DEVFS_FS_KERNEL_H 3 3 4 4 #include <linux/fs.h> 5 - #include <linux/config.h> 6 5 #include <linux/spinlock.h> 7 6 #include <linux/types.h> 8 7
-1
include/linux/device.h
··· 11 11 #ifndef _DEVICE_H_ 12 12 #define _DEVICE_H_ 13 13 14 - #include <linux/config.h> 15 14 #include <linux/ioport.h> 16 15 #include <linux/kobject.h> 17 16 #include <linux/klist.h>
+10 -10
include/linux/divert.h
··· 27 27 { 28 28 int divert; /* are we active */ 29 29 unsigned int protos; /* protocols */ 30 - u16 tcp_dst[MAX_DIVERT_PORTS]; /* specific tcp dst ports to divert */ 31 - u16 tcp_src[MAX_DIVERT_PORTS]; /* specific tcp src ports to divert */ 32 - u16 udp_dst[MAX_DIVERT_PORTS]; /* specific udp dst ports to divert */ 33 - u16 udp_src[MAX_DIVERT_PORTS]; /* specific udp src ports to divert */ 30 + __u16 tcp_dst[MAX_DIVERT_PORTS]; /* specific tcp dst ports to divert */ 31 + __u16 tcp_src[MAX_DIVERT_PORTS]; /* specific tcp src ports to divert */ 32 + __u16 udp_dst[MAX_DIVERT_PORTS]; /* specific udp dst ports to divert */ 33 + __u16 udp_src[MAX_DIVERT_PORTS]; /* specific udp src ports to divert */ 34 34 }; 35 35 36 36 /* ··· 40 40 41 41 typedef union _divert_cf_arg 42 42 { 43 - s16 int16; 44 - u16 uint16; 45 - s32 int32; 46 - u32 uint32; 47 - s64 int64; 48 - u64 uint64; 43 + __s16 int16; 44 + __u16 uint16; 45 + __s32 int32; 46 + __u32 uint32; 47 + __s64 int64; 48 + __u64 uint64; 49 49 void __user *ptr; 50 50 } divert_cf_arg; 51 51
-1
include/linux/dmi.h
··· 2 2 #define __DMI_H__ 3 3 4 4 #include <linux/list.h> 5 - #include <linux/config.h> 6 5 7 6 enum dmi_field { 8 7 DMI_NONE,
-1
include/linux/dnotify.h
··· 18 18 19 19 #ifdef __KERNEL__ 20 20 21 - #include <linux/config.h> 22 21 23 22 #ifdef CONFIG_DNOTIFY 24 23
+44
include/linux/elf-em.h
··· 1 + #ifndef _LINUX_ELF_EM_H 2 + #define _LINUX_ELF_EM_H 3 + 4 + /* These constants define the various ELF target machines */ 5 + #define EM_NONE 0 6 + #define EM_M32 1 7 + #define EM_SPARC 2 8 + #define EM_386 3 9 + #define EM_68K 4 10 + #define EM_88K 5 11 + #define EM_486 6 /* Perhaps disused */ 12 + #define EM_860 7 13 + #define EM_MIPS 8 /* MIPS R3000 (officially, big-endian only) */ 14 + #define EM_MIPS_RS4_BE 10 /* MIPS R4000 big-endian */ 15 + #define EM_PARISC 15 /* HPPA */ 16 + #define EM_SPARC32PLUS 18 /* Sun's "v8plus" */ 17 + #define EM_PPC 20 /* PowerPC */ 18 + #define EM_PPC64 21 /* PowerPC64 */ 19 + #define EM_SH 42 /* SuperH */ 20 + #define EM_SPARCV9 43 /* SPARC v9 64-bit */ 21 + #define EM_IA_64 50 /* HP/Intel IA-64 */ 22 + #define EM_X86_64 62 /* AMD x86-64 */ 23 + #define EM_S390 22 /* IBM S/390 */ 24 + #define EM_CRIS 76 /* Axis Communications 32-bit embedded processor */ 25 + #define EM_V850 87 /* NEC v850 */ 26 + #define EM_M32R 88 /* Renesas M32R */ 27 + #define EM_H8_300 46 /* Renesas H8/300,300H,H8S */ 28 + #define EM_FRV 0x5441 /* Fujitsu FR-V */ 29 + 30 + /* 31 + * This is an interim value that we will use until the committee comes 32 + * up with a final number. 33 + */ 34 + #define EM_ALPHA 0x9026 35 + 36 + /* Bogus old v850 magic number, used by old tools. */ 37 + #define EM_CYGNUS_V850 0x9080 38 + /* Bogus old m32r magic number, used by old tools. */ 39 + #define EM_CYGNUS_M32R 0x9041 40 + /* This is the old interim value for S/390 architecture */ 41 + #define EM_S390_OLD 0xA390 42 + 43 + 44 + #endif /* _LINUX_ELF_EM_H */
+1 -58
include/linux/elf.h
··· 3 3 4 4 #include <linux/types.h> 5 5 #include <linux/auxvec.h> 6 + #include <linux/elf-em.h> 6 7 #include <asm/elf.h> 7 8 8 9 #ifndef elf_read_implies_exec ··· 55 54 #define ET_CORE 4 56 55 #define ET_LOPROC 0xff00 57 56 #define ET_HIPROC 0xffff 58 - 59 - /* These constants define the various ELF target machines */ 60 - #define EM_NONE 0 61 - #define EM_M32 1 62 - #define EM_SPARC 2 63 - #define EM_386 3 64 - #define EM_68K 4 65 - #define EM_88K 5 66 - #define EM_486 6 /* Perhaps disused */ 67 - #define EM_860 7 68 - 69 - #define EM_MIPS 8 /* MIPS R3000 (officially, big-endian only) */ 70 - 71 - #define EM_MIPS_RS4_BE 10 /* MIPS R4000 big-endian */ 72 - 73 - #define EM_PARISC 15 /* HPPA */ 74 - 75 - #define EM_SPARC32PLUS 18 /* Sun's "v8plus" */ 76 - 77 - #define EM_PPC 20 /* PowerPC */ 78 - #define EM_PPC64 21 /* PowerPC64 */ 79 - 80 - #define EM_SH 42 /* SuperH */ 81 - 82 - #define EM_SPARCV9 43 /* SPARC v9 64-bit */ 83 - 84 - #define EM_IA_64 50 /* HP/Intel IA-64 */ 85 - 86 - #define EM_X86_64 62 /* AMD x86-64 */ 87 - 88 - #define EM_S390 22 /* IBM S/390 */ 89 - 90 - #define EM_CRIS 76 /* Axis Communications 32-bit embedded processor */ 91 - 92 - #define EM_V850 87 /* NEC v850 */ 93 - 94 - #define EM_M32R 88 /* Renesas M32R */ 95 - 96 - #define EM_H8_300 46 /* Renesas H8/300,300H,H8S */ 97 - 98 - /* 99 - * This is an interim value that we will use until the committee comes 100 - * up with a final number. 101 - */ 102 - #define EM_ALPHA 0x9026 103 - 104 - /* Bogus old v850 magic number, used by old tools. */ 105 - #define EM_CYGNUS_V850 0x9080 106 - 107 - /* Bogus old m32r magic number, used by old tools. */ 108 - #define EM_CYGNUS_M32R 0x9041 109 - 110 - /* 111 - * This is the old interim value for S/390 architecture 112 - */ 113 - #define EM_S390_OLD 0xA390 114 - 115 - #define EM_FRV 0x5441 /* Fujitsu FR-V */ 116 57 117 58 /* This is the info that is needed to parse the dynamic section of the file */ 118 59 #define DT_NULL 0
-1
include/linux/errqueue.h
··· 21 21 22 22 #ifdef __KERNEL__ 23 23 24 - #include <linux/config.h> 25 24 #include <net/ip.h> 26 25 #if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE) 27 26 #include <linux/ipv6.h>
+86 -83
include/linux/ethtool.h
··· 15 15 16 16 /* This should work for both 32 and 64 bit userland. */ 17 17 struct ethtool_cmd { 18 - u32 cmd; 19 - u32 supported; /* Features this interface supports */ 20 - u32 advertising; /* Features this interface advertises */ 21 - u16 speed; /* The forced speed, 10Mb, 100Mb, gigabit */ 22 - u8 duplex; /* Duplex, half or full */ 23 - u8 port; /* Which connector port */ 24 - u8 phy_address; 25 - u8 transceiver; /* Which transceiver to use */ 26 - u8 autoneg; /* Enable or disable autonegotiation */ 27 - u32 maxtxpkt; /* Tx pkts before generating tx int */ 28 - u32 maxrxpkt; /* Rx pkts before generating rx int */ 29 - u32 reserved[4]; 18 + __u32 cmd; 19 + __u32 supported; /* Features this interface supports */ 20 + __u32 advertising; /* Features this interface advertises */ 21 + __u16 speed; /* The forced speed, 10Mb, 100Mb, gigabit */ 22 + __u8 duplex; /* Duplex, half or full */ 23 + __u8 port; /* Which connector port */ 24 + __u8 phy_address; 25 + __u8 transceiver; /* Which transceiver to use */ 26 + __u8 autoneg; /* Enable or disable autonegotiation */ 27 + __u32 maxtxpkt; /* Tx pkts before generating tx int */ 28 + __u32 maxrxpkt; /* Rx pkts before generating rx int */ 29 + __u32 reserved[4]; 30 30 }; 31 31 32 32 #define ETHTOOL_BUSINFO_LEN 32 33 33 /* these strings are set to whatever the driver author decides... */ 34 34 struct ethtool_drvinfo { 35 - u32 cmd; 35 + __u32 cmd; 36 36 char driver[32]; /* driver short name, "tulip", "eepro100" */ 37 37 char version[32]; /* driver version string */ 38 38 char fw_version[32]; /* firmware version string, if applicable */ ··· 40 40 /* For PCI devices, use pci_name(pci_dev). */ 41 41 char reserved1[32]; 42 42 char reserved2[16]; 43 - u32 n_stats; /* number of u64's from ETHTOOL_GSTATS */ 44 - u32 testinfo_len; 45 - u32 eedump_len; /* Size of data from ETHTOOL_GEEPROM (bytes) */ 46 - u32 regdump_len; /* Size of data from ETHTOOL_GREGS (bytes) */ 43 + __u32 n_stats; /* number of u64's from ETHTOOL_GSTATS */ 44 + __u32 testinfo_len; 45 + __u32 eedump_len; /* Size of data from ETHTOOL_GEEPROM (bytes) */ 46 + __u32 regdump_len; /* Size of data from ETHTOOL_GREGS (bytes) */ 47 47 }; 48 48 49 49 #define SOPASS_MAX 6 50 50 /* wake-on-lan settings */ 51 51 struct ethtool_wolinfo { 52 - u32 cmd; 53 - u32 supported; 54 - u32 wolopts; 55 - u8 sopass[SOPASS_MAX]; /* SecureOn(tm) password */ 52 + __u32 cmd; 53 + __u32 supported; 54 + __u32 wolopts; 55 + __u8 sopass[SOPASS_MAX]; /* SecureOn(tm) password */ 56 56 }; 57 57 58 58 /* for passing single values */ 59 59 struct ethtool_value { 60 - u32 cmd; 61 - u32 data; 60 + __u32 cmd; 61 + __u32 data; 62 62 }; 63 63 64 64 /* for passing big chunks of data */ 65 65 struct ethtool_regs { 66 - u32 cmd; 67 - u32 version; /* driver-specific, indicates different chips/revs */ 68 - u32 len; /* bytes */ 69 - u8 data[0]; 66 + __u32 cmd; 67 + __u32 version; /* driver-specific, indicates different chips/revs */ 68 + __u32 len; /* bytes */ 69 + __u8 data[0]; 70 70 }; 71 71 72 72 /* for passing EEPROM chunks */ 73 73 struct ethtool_eeprom { 74 - u32 cmd; 75 - u32 magic; 76 - u32 offset; /* in bytes */ 77 - u32 len; /* in bytes */ 78 - u8 data[0]; 74 + __u32 cmd; 75 + __u32 magic; 76 + __u32 offset; /* in bytes */ 77 + __u32 len; /* in bytes */ 78 + __u8 data[0]; 79 79 }; 80 80 81 81 /* for configuring coalescing parameters of chip */ 82 82 struct ethtool_coalesce { 83 - u32 cmd; /* ETHTOOL_{G,S}COALESCE */ 83 + __u32 cmd; /* ETHTOOL_{G,S}COALESCE */ 84 84 85 85 /* How many usecs to delay an RX interrupt after 86 86 * a packet arrives. If 0, only rx_max_coalesced_frames 87 87 * is used. 88 88 */ 89 - u32 rx_coalesce_usecs; 89 + __u32 rx_coalesce_usecs; 90 90 91 91 /* How many packets to delay an RX interrupt after 92 92 * a packet arrives. If 0, only rx_coalesce_usecs is ··· 94 94 * to zero as this would cause RX interrupts to never be 95 95 * generated. 96 96 */ 97 - u32 rx_max_coalesced_frames; 97 + __u32 rx_max_coalesced_frames; 98 98 99 99 /* Same as above two parameters, except that these values 100 100 * apply while an IRQ is being serviced by the host. Not 101 101 * all cards support this feature and the values are ignored 102 102 * in that case. 103 103 */ 104 - u32 rx_coalesce_usecs_irq; 105 - u32 rx_max_coalesced_frames_irq; 104 + __u32 rx_coalesce_usecs_irq; 105 + __u32 rx_max_coalesced_frames_irq; 106 106 107 107 /* How many usecs to delay a TX interrupt after 108 108 * a packet is sent. If 0, only tx_max_coalesced_frames 109 109 * is used. 110 110 */ 111 - u32 tx_coalesce_usecs; 111 + __u32 tx_coalesce_usecs; 112 112 113 113 /* How many packets to delay a TX interrupt after 114 114 * a packet is sent. If 0, only tx_coalesce_usecs is ··· 116 116 * to zero as this would cause TX interrupts to never be 117 117 * generated. 118 118 */ 119 - u32 tx_max_coalesced_frames; 119 + __u32 tx_max_coalesced_frames; 120 120 121 121 /* Same as above two parameters, except that these values 122 122 * apply while an IRQ is being serviced by the host. Not 123 123 * all cards support this feature and the values are ignored 124 124 * in that case. 125 125 */ 126 - u32 tx_coalesce_usecs_irq; 127 - u32 tx_max_coalesced_frames_irq; 126 + __u32 tx_coalesce_usecs_irq; 127 + __u32 tx_max_coalesced_frames_irq; 128 128 129 129 /* How many usecs to delay in-memory statistics 130 130 * block updates. Some drivers do not have an in-memory 131 131 * statistic block, and in such cases this value is ignored. 132 132 * This value must not be zero. 133 133 */ 134 - u32 stats_block_coalesce_usecs; 134 + __u32 stats_block_coalesce_usecs; 135 135 136 136 /* Adaptive RX/TX coalescing is an algorithm implemented by 137 137 * some drivers to improve latency under low packet rates and ··· 140 140 * not implemented by the driver causes these values to be 141 141 * silently ignored. 142 142 */ 143 - u32 use_adaptive_rx_coalesce; 144 - u32 use_adaptive_tx_coalesce; 143 + __u32 use_adaptive_rx_coalesce; 144 + __u32 use_adaptive_tx_coalesce; 145 145 146 146 /* When the packet rate (measured in packets per second) 147 147 * is below pkt_rate_low, the {rx,tx}_*_low parameters are 148 148 * used. 149 149 */ 150 - u32 pkt_rate_low; 151 - u32 rx_coalesce_usecs_low; 152 - u32 rx_max_coalesced_frames_low; 153 - u32 tx_coalesce_usecs_low; 154 - u32 tx_max_coalesced_frames_low; 150 + __u32 pkt_rate_low; 151 + __u32 rx_coalesce_usecs_low; 152 + __u32 rx_max_coalesced_frames_low; 153 + __u32 tx_coalesce_usecs_low; 154 + __u32 tx_max_coalesced_frames_low; 155 155 156 156 /* When the packet rate is below pkt_rate_high but above 157 157 * pkt_rate_low (both measured in packets per second) the ··· 162 162 * is above pkt_rate_high, the {rx,tx}_*_high parameters are 163 163 * used. 164 164 */ 165 - u32 pkt_rate_high; 166 - u32 rx_coalesce_usecs_high; 167 - u32 rx_max_coalesced_frames_high; 168 - u32 tx_coalesce_usecs_high; 169 - u32 tx_max_coalesced_frames_high; 165 + __u32 pkt_rate_high; 166 + __u32 rx_coalesce_usecs_high; 167 + __u32 rx_max_coalesced_frames_high; 168 + __u32 tx_coalesce_usecs_high; 169 + __u32 tx_max_coalesced_frames_high; 170 170 171 171 /* How often to do adaptive coalescing packet rate sampling, 172 172 * measured in seconds. Must not be zero. 173 173 */ 174 - u32 rate_sample_interval; 174 + __u32 rate_sample_interval; 175 175 }; 176 176 177 177 /* for configuring RX/TX ring parameters */ 178 178 struct ethtool_ringparam { 179 - u32 cmd; /* ETHTOOL_{G,S}RINGPARAM */ 179 + __u32 cmd; /* ETHTOOL_{G,S}RINGPARAM */ 180 180 181 181 /* Read only attributes. These indicate the maximum number 182 182 * of pending RX/TX ring entries the driver will allow the 183 183 * user to set. 184 184 */ 185 - u32 rx_max_pending; 186 - u32 rx_mini_max_pending; 187 - u32 rx_jumbo_max_pending; 188 - u32 tx_max_pending; 185 + __u32 rx_max_pending; 186 + __u32 rx_mini_max_pending; 187 + __u32 rx_jumbo_max_pending; 188 + __u32 tx_max_pending; 189 189 190 190 /* Values changeable by the user. The valid values are 191 191 * in the range 1 to the "*_max_pending" counterpart above. 192 192 */ 193 - u32 rx_pending; 194 - u32 rx_mini_pending; 195 - u32 rx_jumbo_pending; 196 - u32 tx_pending; 193 + __u32 rx_pending; 194 + __u32 rx_mini_pending; 195 + __u32 rx_jumbo_pending; 196 + __u32 tx_pending; 197 197 }; 198 198 199 199 /* for configuring link flow control parameters */ 200 200 struct ethtool_pauseparam { 201 - u32 cmd; /* ETHTOOL_{G,S}PAUSEPARAM */ 201 + __u32 cmd; /* ETHTOOL_{G,S}PAUSEPARAM */ 202 202 203 203 /* If the link is being auto-negotiated (via ethtool_cmd.autoneg 204 204 * being true) the user may set 'autonet' here non-zero to have the ··· 210 210 * then {rx,tx}_pause force the driver to use/not-use pause 211 211 * flow control. 212 212 */ 213 - u32 autoneg; 214 - u32 rx_pause; 215 - u32 tx_pause; 213 + __u32 autoneg; 214 + __u32 rx_pause; 215 + __u32 tx_pause; 216 216 }; 217 217 218 218 #define ETH_GSTRING_LEN 32 ··· 223 223 224 224 /* for passing string sets for data tagging */ 225 225 struct ethtool_gstrings { 226 - u32 cmd; /* ETHTOOL_GSTRINGS */ 227 - u32 string_set; /* string set id e.c. ETH_SS_TEST, etc*/ 228 - u32 len; /* number of strings in the string set */ 229 - u8 data[0]; 226 + __u32 cmd; /* ETHTOOL_GSTRINGS */ 227 + __u32 string_set; /* string set id e.c. ETH_SS_TEST, etc*/ 228 + __u32 len; /* number of strings in the string set */ 229 + __u8 data[0]; 230 230 }; 231 231 232 232 enum ethtool_test_flags { ··· 236 236 237 237 /* for requesting NIC test and getting results*/ 238 238 struct ethtool_test { 239 - u32 cmd; /* ETHTOOL_TEST */ 240 - u32 flags; /* ETH_TEST_FL_xxx */ 241 - u32 reserved; 242 - u32 len; /* result length, in number of u64 elements */ 243 - u64 data[0]; 239 + __u32 cmd; /* ETHTOOL_TEST */ 240 + __u32 flags; /* ETH_TEST_FL_xxx */ 241 + __u32 reserved; 242 + __u32 len; /* result length, in number of u64 elements */ 243 + __u64 data[0]; 244 244 }; 245 245 246 246 /* for dumping NIC-specific statistics */ 247 247 struct ethtool_stats { 248 - u32 cmd; /* ETHTOOL_GSTATS */ 249 - u32 n_stats; /* number of u64's being returned */ 250 - u64 data[0]; 248 + __u32 cmd; /* ETHTOOL_GSTATS */ 249 + __u32 n_stats; /* number of u64's being returned */ 250 + __u64 data[0]; 251 251 }; 252 252 253 253 struct ethtool_perm_addr { 254 - u32 cmd; /* ETHTOOL_GPERMADDR */ 255 - u32 size; 256 - u8 data[0]; 254 + __u32 cmd; /* ETHTOOL_GPERMADDR */ 255 + __u32 size; 256 + __u8 data[0]; 257 257 }; 258 + 259 + #ifdef __KERNEL__ 258 260 259 261 struct net_device; 260 262 ··· 373 371 u32 (*get_ufo)(struct net_device *); 374 372 int (*set_ufo)(struct net_device *, u32); 375 373 }; 374 + #endif /* __KERNEL__ */ 376 375 377 376 /* CMDs currently supported */ 378 377 #define ETHTOOL_GSET 0x00000001 /* Get settings. */
+1 -1
include/linux/ext2_fs.h
··· 17 17 #define _LINUX_EXT2_FS_H 18 18 19 19 #include <linux/types.h> 20 - #include <linux/ext2_fs_sb.h> 21 20 22 21 /* 23 22 * The second extended filesystem constants/structures ··· 69 70 #define EXT2_SUPER_MAGIC 0xEF53 70 71 71 72 #ifdef __KERNEL__ 73 + #include <linux/ext2_fs_sb.h> 72 74 static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb) 73 75 { 74 76 return sb->s_fs_info;
+4 -6
include/linux/ext3_fs.h
··· 17 17 #define _LINUX_EXT3_FS_H 18 18 19 19 #include <linux/types.h> 20 - #include <linux/ext3_fs_i.h> 21 - #include <linux/ext3_fs_sb.h> 22 - 23 - 24 - struct statfs; 25 20 26 21 /* 27 22 * The second extended filesystem constants/structures ··· 482 487 }; 483 488 484 489 #ifdef __KERNEL__ 490 + #include <linux/ext3_fs_i.h> 491 + #include <linux/ext3_fs_sb.h> 485 492 static inline struct ext3_sb_info * EXT3_SB(struct super_block *sb) 486 493 { 487 494 return sb->s_fs_info; ··· 661 664 #define DX_HASH_HALF_MD4 1 662 665 #define DX_HASH_TEA 2 663 666 667 + #ifdef __KERNEL__ 668 + 664 669 /* hash info structure used by the directory hash */ 665 670 struct dx_hash_info 666 671 { ··· 674 675 675 676 #define EXT3_HTREE_EOF 0x7fffffff 676 677 677 - #ifdef __KERNEL__ 678 678 /* 679 679 * Control parameters used by ext3_htree_next_block 680 680 */
-1
include/linux/fs.h
··· 6 6 * structures etc. 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 #include <linux/limits.h> 11 10 #include <linux/ioctl.h> 12 11
-1
include/linux/ftape.h
··· 35 35 #include <linux/mm.h> 36 36 #endif 37 37 #include <linux/types.h> 38 - #include <linux/config.h> 39 38 #include <linux/mtio.h> 40 39 41 40 #define FT_SECTOR(x) (x+1) /* sector offset into real sector */
+6
include/linux/gameport.h
··· 9 9 * the Free Software Foundation. 10 10 */ 11 11 12 + #ifdef __KERNEL__ 12 13 #include <asm/io.h> 13 14 #include <linux/list.h> 14 15 #include <linux/mutex.h> ··· 155 154 156 155 void gameport_unregister_driver(struct gameport_driver *drv); 157 156 157 + #endif /* __KERNEL__ */ 158 + 158 159 #define GAMEPORT_MODE_DISABLED 0 159 160 #define GAMEPORT_MODE_RAW 1 160 161 #define GAMEPORT_MODE_COOKED 2 ··· 171 168 #define GAMEPORT_ID_VENDOR_THRUSTMASTER 0x0008 172 169 #define GAMEPORT_ID_VENDOR_GRAVIS 0x0009 173 170 #define GAMEPORT_ID_VENDOR_GUILLEMOT 0x000a 171 + 172 + #ifdef __KERNEL__ 174 173 175 174 static inline void gameport_trigger(struct gameport *gameport) 176 175 { ··· 224 219 void gameport_start_polling(struct gameport *gameport); 225 220 void gameport_stop_polling(struct gameport *gameport); 226 221 222 + #endif /* __KERNEL__ */ 227 223 #endif
+4 -2
include/linux/generic_serial.h
··· 12 12 #ifndef GENERIC_SERIAL_H 13 13 #define GENERIC_SERIAL_H 14 14 15 + #ifdef __KERNEL__ 15 16 #include <linux/mutex.h> 16 17 17 18 struct real_driver { ··· 55 54 spinlock_t driver_lock; 56 55 }; 57 56 57 + #endif /* __KERNEL__ */ 58 58 59 59 /* Flags */ 60 60 /* Warning: serial.h defines some ASYNC_ flags, they say they are "only" ··· 77 75 #define GS_DEBUG_FLOW 0x00000020 78 76 #define GS_DEBUG_WRITE 0x00000040 79 77 80 - 78 + #ifdef __KERNEL__ 81 79 void gs_put_char(struct tty_struct *tty, unsigned char ch); 82 80 int gs_write(struct tty_struct *tty, 83 81 const unsigned char *buf, int count); ··· 96 94 int gs_setserial(struct gs_port *port, struct serial_struct __user *sp); 97 95 int gs_getserial(struct gs_port *port, struct serial_struct __user *sp); 98 96 void gs_got_break(struct gs_port *port); 99 - 97 + #endif /* __KERNEL__ */ 100 98 #endif
+6 -6
include/linux/genhd.h
··· 9 9 * <drew@colorado.edu> 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 #include <linux/types.h> 14 - #include <linux/major.h> 15 - #include <linux/device.h> 16 - #include <linux/smp.h> 17 - #include <linux/string.h> 18 - #include <linux/fs.h> 19 13 20 14 enum { 21 15 /* These three have identical behaviour; use the second one if DOS FDISK gets ··· 55 61 #endif 56 62 57 63 #ifdef __KERNEL__ 64 + #include <linux/major.h> 65 + #include <linux/device.h> 66 + #include <linux/smp.h> 67 + #include <linux/string.h> 68 + #include <linux/fs.h> 69 + 58 70 struct partition { 59 71 unsigned char boot_ind; /* 0x80 - active */ 60 72 unsigned char head; /* starting head */
-1
include/linux/gfp.h
··· 4 4 #include <linux/mmzone.h> 5 5 #include <linux/stddef.h> 6 6 #include <linux/linkage.h> 7 - #include <linux/config.h> 8 7 9 8 struct vm_area_struct; 10 9
-1
include/linux/hardirq.h
··· 1 1 #ifndef LINUX_HARDIRQ_H 2 2 #define LINUX_HARDIRQ_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/preempt.h> 6 5 #include <linux/smp_lock.h> 7 6 #include <asm/hardirq.h>
-1
include/linux/highmem.h
··· 1 1 #ifndef _LINUX_HIGHMEM_H 2 2 #define _LINUX_HIGHMEM_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/fs.h> 6 5 #include <linux/mm.h> 7 6
-1
include/linux/highuid.h
··· 1 1 #ifndef _LINUX_HIGHUID_H 2 2 #define _LINUX_HIGHUID_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/types.h> 6 5 7 6 /*
+5 -2
include/linux/i2c-algo-ite.h
··· 29 29 #ifndef I2C_ALGO_ITE_H 30 30 #define I2C_ALGO_ITE_H 1 31 31 32 - #include <linux/i2c.h> 32 + #include <linux/types.h> 33 33 34 34 /* Example of a sequential read request: 35 35 struct i2c_iic_msg s_msg; ··· 49 49 char *buf; /* pointer to msg data */ 50 50 }; 51 51 52 + #ifdef __KERNEL__ 53 + struct i2c_adapter; 54 + 52 55 struct i2c_algo_iic_data { 53 56 void *data; /* private data for lolevel routines */ 54 57 void (*setiic) (void *data, int ctl, int val); ··· 68 65 69 66 int i2c_iic_add_bus(struct i2c_adapter *); 70 67 int i2c_iic_del_bus(struct i2c_adapter *); 71 - 68 + #endif /* __KERNEL__ */ 72 69 #endif /* I2C_ALGO_ITE_H */
+6 -3
include/linux/i2c.h
··· 20 20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 21 21 /* ------------------------------------------------------------------------- */ 22 22 23 - /* With some changes from Ky�sti M�lkki <kmalkki@cc.hut.fi> and 23 + /* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and 24 24 Frodo Looijaard <frodol@dds.nl> */ 25 25 26 26 #ifndef _LINUX_I2C_H 27 27 #define _LINUX_I2C_H 28 28 29 - #include <linux/module.h> 30 29 #include <linux/types.h> 30 + #ifdef __KERNEL__ 31 + #include <linux/module.h> 31 32 #include <linux/i2c-id.h> 32 33 #include <linux/mod_devicetable.h> 33 34 #include <linux/device.h> /* for struct device */ ··· 355 354 { 356 355 return adap->nr; 357 356 } 357 + #endif /* __KERNEL__ */ 358 358 359 359 /* 360 360 * I2C Message - used for pure i2c transaction, also from /dev interface ··· 471 469 #define I2C_SMBUS 0x0720 /* SMBus-level access */ 472 470 473 471 /* ----- I2C-DEV: char device interface stuff ------------------------- */ 472 + #ifdef __KERNEL__ 474 473 475 474 #define I2C_MAJOR 89 /* Device major number */ 476 475 ··· 649 646 force_##chip6, force_##chip7, \ 650 647 force_##chip8, NULL }; \ 651 648 I2C_CLIENT_INSMOD_COMMON 652 - 649 + #endif /* __KERNEL__ */ 653 650 #endif /* _LINUX_I2C_H */
+80 -87
include/linux/i2o-dev.h
··· 13 13 * This header file defines the I2O APIs that are available to both 14 14 * the kernel and user level applications. Kernel specific structures 15 15 * are defined in i2o_osm. OSMs should include _only_ i2o_osm.h which 16 - * automatically includs this file. 16 + * automatically includes this file. 17 17 * 18 18 */ 19 19 ··· 23 23 /* How many controllers are we allowing */ 24 24 #define MAX_I2O_CONTROLLERS 32 25 25 26 - //#include <linux/ioctl.h> 27 - #ifndef __KERNEL__ 28 - 29 - typedef unsigned char u8; 30 - typedef unsigned short u16; 31 - typedef unsigned int u32; 32 - 33 - #endif /* __KERNEL__ */ 26 + #include <linux/ioctl.h> 34 27 35 28 /* 36 29 * I2O Control IOCTLs and structures ··· 46 53 47 54 struct i2o_cmd_passthru32 { 48 55 unsigned int iop; /* IOP unit number */ 49 - u32 msg; /* message */ 56 + __u32 msg; /* message */ 50 57 }; 51 58 52 59 struct i2o_cmd_passthru { ··· 131 138 #define I2O_BUS_UNKNOWN 0x80 132 139 133 140 typedef struct _i2o_pci_bus { 134 - u8 PciFunctionNumber; 135 - u8 PciDeviceNumber; 136 - u8 PciBusNumber; 137 - u8 reserved; 138 - u16 PciVendorID; 139 - u16 PciDeviceID; 141 + __u8 PciFunctionNumber; 142 + __u8 PciDeviceNumber; 143 + __u8 PciBusNumber; 144 + __u8 reserved; 145 + __u16 PciVendorID; 146 + __u16 PciDeviceID; 140 147 } i2o_pci_bus; 141 148 142 149 typedef struct _i2o_local_bus { 143 - u16 LbBaseIOPort; 144 - u16 reserved; 145 - u32 LbBaseMemoryAddress; 150 + __u16 LbBaseIOPort; 151 + __u16 reserved; 152 + __u32 LbBaseMemoryAddress; 146 153 } i2o_local_bus; 147 154 148 155 typedef struct _i2o_isa_bus { 149 - u16 IsaBaseIOPort; 150 - u8 CSN; 151 - u8 reserved; 152 - u32 IsaBaseMemoryAddress; 156 + __u16 IsaBaseIOPort; 157 + __u8 CSN; 158 + __u8 reserved; 159 + __u32 IsaBaseMemoryAddress; 153 160 } i2o_isa_bus; 154 161 155 162 typedef struct _i2o_eisa_bus_info { 156 - u16 EisaBaseIOPort; 157 - u8 reserved; 158 - u8 EisaSlotNumber; 159 - u32 EisaBaseMemoryAddress; 163 + __u16 EisaBaseIOPort; 164 + __u8 reserved; 165 + __u8 EisaSlotNumber; 166 + __u32 EisaBaseMemoryAddress; 160 167 } i2o_eisa_bus; 161 168 162 169 typedef struct _i2o_mca_bus { 163 - u16 McaBaseIOPort; 164 - u8 reserved; 165 - u8 McaSlotNumber; 166 - u32 McaBaseMemoryAddress; 170 + __u16 McaBaseIOPort; 171 + __u8 reserved; 172 + __u8 McaSlotNumber; 173 + __u32 McaBaseMemoryAddress; 167 174 } i2o_mca_bus; 168 175 169 176 typedef struct _i2o_other_bus { 170 - u16 BaseIOPort; 171 - u16 reserved; 172 - u32 BaseMemoryAddress; 177 + __u16 BaseIOPort; 178 + __u16 reserved; 179 + __u32 BaseMemoryAddress; 173 180 } i2o_other_bus; 174 181 175 182 typedef struct _i2o_hrt_entry { 176 - u32 adapter_id; 177 - u32 parent_tid:12; 178 - u32 state:4; 179 - u32 bus_num:8; 180 - u32 bus_type:8; 183 + __u32 adapter_id; 184 + __u32 parent_tid:12; 185 + __u32 state:4; 186 + __u32 bus_num:8; 187 + __u32 bus_type:8; 181 188 union { 182 189 i2o_pci_bus pci_bus; 183 190 i2o_local_bus local_bus; ··· 189 196 } i2o_hrt_entry; 190 197 191 198 typedef struct _i2o_hrt { 192 - u16 num_entries; 193 - u8 entry_len; 194 - u8 hrt_version; 195 - u32 change_ind; 199 + __u16 num_entries; 200 + __u8 entry_len; 201 + __u8 hrt_version; 202 + __u32 change_ind; 196 203 i2o_hrt_entry hrt_entry[1]; 197 204 } i2o_hrt; 198 205 199 206 typedef struct _i2o_lct_entry { 200 - u32 entry_size:16; 201 - u32 tid:12; 202 - u32 reserved:4; 203 - u32 change_ind; 204 - u32 device_flags; 205 - u32 class_id:12; 206 - u32 version:4; 207 - u32 vendor_id:16; 208 - u32 sub_class; 209 - u32 user_tid:12; 210 - u32 parent_tid:12; 211 - u32 bios_info:8; 212 - u8 identity_tag[8]; 213 - u32 event_capabilities; 207 + __u32 entry_size:16; 208 + __u32 tid:12; 209 + __u32 reserved:4; 210 + __u32 change_ind; 211 + __u32 device_flags; 212 + __u32 class_id:12; 213 + __u32 version:4; 214 + __u32 vendor_id:16; 215 + __u32 sub_class; 216 + __u32 user_tid:12; 217 + __u32 parent_tid:12; 218 + __u32 bios_info:8; 219 + __u8 identity_tag[8]; 220 + __u32 event_capabilities; 214 221 } i2o_lct_entry; 215 222 216 223 typedef struct _i2o_lct { 217 - u32 table_size:16; 218 - u32 boot_tid:12; 219 - u32 lct_ver:4; 220 - u32 iop_flags; 221 - u32 change_ind; 224 + __u32 table_size:16; 225 + __u32 boot_tid:12; 226 + __u32 lct_ver:4; 227 + __u32 iop_flags; 228 + __u32 change_ind; 222 229 i2o_lct_entry lct_entry[1]; 223 230 } i2o_lct; 224 231 225 232 typedef struct _i2o_status_block { 226 - u16 org_id; 227 - u16 reserved; 228 - u16 iop_id:12; 229 - u16 reserved1:4; 230 - u16 host_unit_id; 231 - u16 segment_number:12; 232 - u16 i2o_version:4; 233 - u8 iop_state; 234 - u8 msg_type; 235 - u16 inbound_frame_size; 236 - u8 init_code; 237 - u8 reserved2; 238 - u32 max_inbound_frames; 239 - u32 cur_inbound_frames; 240 - u32 max_outbound_frames; 233 + __u16 org_id; 234 + __u16 reserved; 235 + __u16 iop_id:12; 236 + __u16 reserved1:4; 237 + __u16 host_unit_id; 238 + __u16 segment_number:12; 239 + __u16 i2o_version:4; 240 + __u8 iop_state; 241 + __u8 msg_type; 242 + __u16 inbound_frame_size; 243 + __u8 init_code; 244 + __u8 reserved2; 245 + __u32 max_inbound_frames; 246 + __u32 cur_inbound_frames; 247 + __u32 max_outbound_frames; 241 248 char product_id[24]; 242 - u32 expected_lct_size; 243 - u32 iop_capabilities; 244 - u32 desired_mem_size; 245 - u32 current_mem_size; 246 - u32 current_mem_base; 247 - u32 desired_io_size; 248 - u32 current_io_size; 249 - u32 current_io_base; 250 - u32 reserved3:24; 251 - u32 cmd_status:8; 249 + __u32 expected_lct_size; 250 + __u32 iop_capabilities; 251 + __u32 desired_mem_size; 252 + __u32 current_mem_size; 253 + __u32 current_mem_base; 254 + __u32 desired_io_size; 255 + __u32 current_io_size; 256 + __u32 current_io_base; 257 + __u32 reserved3:24; 258 + __u32 cmd_status:8; 252 259 } i2o_status_block; 253 260 254 261 /* Event indicator mask flags */
-1
include/linux/ide.h
··· 6 6 * Copyright (C) 1994-2002 Linus Torvalds & authors 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 #include <linux/init.h> 11 10 #include <linux/ioport.h> 12 11 #include <linux/hdreg.h>
+2
include/linux/if_fddi.h
··· 102 102 } hdr; 103 103 } __attribute__ ((packed)); 104 104 105 + #ifdef __KERNEL__ 105 106 /* Define FDDI statistics structure */ 106 107 struct fddi_statistics { 107 108 ··· 194 193 __u32 port_ler_flag[2]; 195 194 __u32 port_hardware_present[2]; 196 195 }; 196 + #endif /* __KERNEL__ */ 197 197 198 198 #endif /* _LINUX_IF_FDDI_H */
-1
include/linux/if_frad.h
··· 24 24 #ifndef _FRAD_H_ 25 25 #define _FRAD_H_ 26 26 27 - #include <linux/config.h> 28 27 #include <linux/if.h> 29 28 30 29 #if defined(CONFIG_DLCI) || defined(CONFIG_DLCI_MODULE)
-1
include/linux/if_tr.h
··· 43 43 }; 44 44 45 45 #ifdef __KERNEL__ 46 - #include <linux/config.h> 47 46 #include <linux/skbuff.h> 48 47 49 48 static inline struct trh_hdr *tr_hdr(const struct sk_buff *skb)
-1
include/linux/init.h
··· 1 1 #ifndef _LINUX_INIT_H 2 2 #define _LINUX_INIT_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/compiler.h> 6 5 7 6 /* These macros are used to mark some functions or
-1
include/linux/inotify.h
··· 67 67 68 68 #include <linux/dcache.h> 69 69 #include <linux/fs.h> 70 - #include <linux/config.h> 71 70 72 71 #ifdef CONFIG_INOTIFY 73 72
+1
include/linux/input.h
··· 15 15 #else 16 16 #include <sys/time.h> 17 17 #include <sys/ioctl.h> 18 + #include <sys/types.h> 18 19 #include <asm/types.h> 19 20 #endif 20 21
-1
include/linux/interrupt.h
··· 2 2 #ifndef _LINUX_INTERRUPT_H 3 3 #define _LINUX_INTERRUPT_H 4 4 5 - #include <linux/config.h> 6 5 #include <linux/kernel.h> 7 6 #include <linux/linkage.h> 8 7 #include <linux/bitops.h>
+1 -1
include/linux/ipmi.h
··· 36 36 37 37 #include <linux/ipmi_msgdefs.h> 38 38 #include <linux/compiler.h> 39 - #include <linux/device.h> 40 39 41 40 /* 42 41 * This file describes an interface to an IPMI driver. You have to ··· 209 210 */ 210 211 #include <linux/list.h> 211 212 #include <linux/module.h> 213 + #include <linux/device.h> 212 214 213 215 #ifdef CONFIG_PROC_FS 214 216 #include <linux/proc_fs.h>
-1
include/linux/ipv6.h
··· 1 1 #ifndef _IPV6_H 2 2 #define _IPV6_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/in6.h> 6 5 #include <asm/byteorder.h> 7 6
-1
include/linux/irq.h
··· 9 9 * Thanks. --rmk 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 #include <linux/smp.h> 14 13 15 14 #if !defined(CONFIG_S390)
-1
include/linux/irq_cpustat.h
··· 9 9 * Keith Owens <kaos@ocs.com.au> July 2000. 10 10 */ 11 11 12 - #include <linux/config.h> 13 12 14 13 /* 15 14 * Simple wrappers reducing source bloat. Define all irq_stat fields
-1
include/linux/isapnp.h
··· 22 22 #ifndef LINUX_ISAPNP_H 23 23 #define LINUX_ISAPNP_H 24 24 25 - #include <linux/config.h> 26 25 #include <linux/errno.h> 27 26 #include <linux/pnp.h> 28 27
-1
include/linux/isdn.h
··· 146 146 147 147 #ifdef __KERNEL__ 148 148 149 - #include <linux/config.h> 150 149 #include <linux/errno.h> 151 150 #include <linux/fs.h> 152 151 #include <linux/major.h>
-1
include/linux/isdn/tpam.h
··· 26 26 #define _TPAM_H_ 27 27 28 28 #include <linux/types.h> 29 - #include <linux/pci.h> 30 29 31 30 /* IOCTL commands */ 32 31 #define TPAM_CMD_DSPLOAD 0x0001
-1
include/linux/isdn_ppp.h
··· 67 67 #ifdef __KERNEL__ 68 68 69 69 70 - #include <linux/config.h> 71 70 72 71 #ifdef CONFIG_IPPP_FILTER 73 72 #include <linux/filter.h>
-1
include/linux/isdnif.h
··· 54 54 55 55 #ifdef __KERNEL__ 56 56 57 - #include <linux/config.h> 58 57 #include <linux/skbuff.h> 59 58 60 59 /***************************************************************************/
+11 -11
include/linux/joystick.h
··· 111 111 #define JS_SET_ALL 8 112 112 113 113 struct JS_DATA_TYPE { 114 - int32_t buttons; 115 - int32_t x; 116 - int32_t y; 114 + __s32 buttons; 115 + __s32 x; 116 + __s32 y; 117 117 }; 118 118 119 119 struct JS_DATA_SAVE_TYPE_32 { 120 - int32_t JS_TIMEOUT; 121 - int32_t BUSY; 122 - int32_t JS_EXPIRETIME; 123 - int32_t JS_TIMELIMIT; 120 + __s32 JS_TIMEOUT; 121 + __s32 BUSY; 122 + __s32 JS_EXPIRETIME; 123 + __s32 JS_TIMELIMIT; 124 124 struct JS_DATA_TYPE JS_SAVE; 125 125 struct JS_DATA_TYPE JS_CORR; 126 126 }; 127 127 128 128 struct JS_DATA_SAVE_TYPE_64 { 129 - int32_t JS_TIMEOUT; 130 - int32_t BUSY; 131 - int64_t JS_EXPIRETIME; 132 - int64_t JS_TIMELIMIT; 129 + __s32 JS_TIMEOUT; 130 + __s32 BUSY; 131 + __s64 JS_EXPIRETIME; 132 + __s64 JS_TIMELIMIT; 133 133 struct JS_DATA_TYPE JS_SAVE; 134 134 struct JS_DATA_TYPE JS_CORR; 135 135 };
-1
include/linux/kallsyms.h
··· 5 5 #ifndef _LINUX_KALLSYMS_H 6 6 #define _LINUX_KALLSYMS_H 7 7 8 - #include <linux/config.h> 9 8 10 9 #define KSYM_NAME_LEN 127 11 10
-1
include/linux/kernel_stat.h
··· 1 1 #ifndef _LINUX_KERNEL_STAT_H 2 2 #define _LINUX_KERNEL_STAT_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/irq.h> 6 5 #include <linux/smp.h> 7 6 #include <linux/threads.h>
-1
include/linux/kmod.h
··· 20 20 */ 21 21 22 22 #include <linux/stddef.h> 23 - #include <linux/config.h> 24 23 #include <linux/errno.h> 25 24 #include <linux/compiler.h> 26 25
-1
include/linux/kprobes.h
··· 29 29 * <jkenisto@us.ibm.com> and Prasanna S Panchamukhi 30 30 * <prasanna@in.ibm.com> added function-return probes. 31 31 */ 32 - #include <linux/config.h> 33 32 #include <linux/list.h> 34 33 #include <linux/notifier.h> 35 34 #include <linux/smp.h>
-1
include/linux/linkage.h
··· 1 1 #ifndef _LINUX_LINKAGE_H 2 2 #define _LINUX_LINKAGE_H 3 3 4 - #include <linux/config.h> 5 4 #include <asm/linkage.h> 6 5 7 6 #ifdef __cplusplus
-1
include/linux/lockd/lockd.h
··· 11 11 12 12 #ifdef __KERNEL__ 13 13 14 - #include <linux/config.h> 15 14 #include <linux/in.h> 16 15 #include <linux/fs.h> 17 16 #include <linux/kref.h>
-1
include/linux/lockd/nlm.h
··· 9 9 #ifndef LINUX_LOCKD_NLM_H 10 10 #define LINUX_LOCKD_NLM_H 11 11 12 - #include <linux/config.h> 13 12 14 13 /* Maximum file offset in file_lock.fl_end */ 15 14 # define NLM_OFFSET_MAX ((s32) 0x7fffffff)
-1
include/linux/mempolicy.h
··· 28 28 29 29 #ifdef __KERNEL__ 30 30 31 - #include <linux/config.h> 32 31 #include <linux/mmzone.h> 33 32 #include <linux/slab.h> 34 33 #include <linux/rbtree.h>
-1
include/linux/migrate.h
··· 1 1 #ifndef _LINUX_MIGRATE_H 2 2 #define _LINUX_MIGRATE_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/mm.h> 6 5 7 6 #ifdef CONFIG_MIGRATION
+15 -15
include/linux/mii.h
··· 9 9 #define __LINUX_MII_H__ 10 10 11 11 #include <linux/types.h> 12 - #include <linux/if.h> 13 12 14 13 /* Generic MII registers. */ 15 14 ··· 135 136 #define LPA_1000FULL 0x0800 /* Link partner 1000BASE-T full duplex */ 136 137 #define LPA_1000HALF 0x0400 /* Link partner 1000BASE-T half duplex */ 137 138 139 + /* This structure is used in all SIOCxMIIxxx ioctl calls */ 140 + struct mii_ioctl_data { 141 + __u16 phy_id; 142 + __u16 reg_num; 143 + __u16 val_in; 144 + __u16 val_out; 145 + }; 146 + 147 + #ifdef __KERNEL__ 148 + 149 + #include <linux/if.h> 150 + 151 + struct ethtool_cmd; 152 + 138 153 struct mii_if_info { 139 154 int phy_id; 140 155 int advertising; ··· 164 151 void (*mdio_write) (struct net_device *dev, int phy_id, int location, int val); 165 152 }; 166 153 167 - struct ethtool_cmd; 168 - struct mii_ioctl_data; 169 - 170 154 extern int mii_link_ok (struct mii_if_info *mii); 171 155 extern int mii_nway_restart (struct mii_if_info *mii); 172 156 extern int mii_ethtool_gset(struct mii_if_info *mii, struct ethtool_cmd *ecmd); ··· 176 166 extern int generic_mii_ioctl(struct mii_if_info *mii_if, 177 167 struct mii_ioctl_data *mii_data, int cmd, 178 168 unsigned int *duplex_changed); 179 - 180 - 181 - 182 - /* This structure is used in all SIOCxMIIxxx ioctl calls */ 183 - struct mii_ioctl_data { 184 - u16 phy_id; 185 - u16 reg_num; 186 - u16 val_in; 187 - u16 val_out; 188 - }; 189 169 190 170 191 171 static inline struct mii_ioctl_data *if_mii(struct ifreq *rq) ··· 235 235 return 0; 236 236 } 237 237 238 - 238 + #endif /* __KERNEL__ */ 239 239 #endif /* __LINUX_MII_H__ */
-1
include/linux/mm.h
··· 7 7 8 8 #ifdef __KERNEL__ 9 9 10 - #include <linux/config.h> 11 10 #include <linux/gfp.h> 12 11 #include <linux/list.h> 13 12 #include <linux/mmzone.h>
+7 -5
include/linux/mman.h
··· 1 1 #ifndef _LINUX_MMAN_H 2 2 #define _LINUX_MMAN_H 3 3 4 - #include <linux/config.h> 5 - #include <linux/mm.h> 6 - 7 - #include <asm/atomic.h> 8 4 #include <asm/mman.h> 9 5 10 6 #define MREMAP_MAYMOVE 1 ··· 9 13 #define OVERCOMMIT_GUESS 0 10 14 #define OVERCOMMIT_ALWAYS 1 11 15 #define OVERCOMMIT_NEVER 2 16 + 17 + #ifdef __KERNEL__ 18 + #include <linux/mm.h> 19 + 20 + #include <asm/atomic.h> 21 + 12 22 extern int sysctl_overcommit_memory; 13 23 extern int sysctl_overcommit_ratio; 14 24 extern atomic_t vm_committed_space; ··· 65 63 _calc_vm_trans(flags, MAP_EXECUTABLE, VM_EXECUTABLE) | 66 64 _calc_vm_trans(flags, MAP_LOCKED, VM_LOCKED ); 67 65 } 68 - 66 + #endif /* __KERNEL__ */ 69 67 #endif /* _LINUX_MMAN_H */
-1
include/linux/mmzone.h
··· 4 4 #ifdef __KERNEL__ 5 5 #ifndef __ASSEMBLY__ 6 6 7 - #include <linux/config.h> 8 7 #include <linux/spinlock.h> 9 8 #include <linux/list.h> 10 9 #include <linux/wait.h>
-1
include/linux/module.h
··· 6 6 * Rewritten by Richard Henderson <rth@tamu.edu> Dec 1996 7 7 * Rewritten again by Rusty Russell, 2002 8 8 */ 9 - #include <linux/config.h> 10 9 #include <linux/sched.h> 11 10 #include <linux/spinlock.h> 12 11 #include <linux/list.h>
+1 -1
include/linux/msg.h
··· 2 2 #define _LINUX_MSG_H 3 3 4 4 #include <linux/ipc.h> 5 - #include <linux/list.h> 6 5 7 6 /* ipcs ctl commands */ 8 7 #define MSG_STAT 11 ··· 62 63 #define MSGSEG (__MSGSEG <= 0xffff ? __MSGSEG : 0xffff) 63 64 64 65 #ifdef __KERNEL__ 66 + #include <linux/list.h> 65 67 66 68 /* one msg_msg structure for each message */ 67 69 struct msg_msg {
-1
include/linux/mtd/cfi.h
··· 7 7 #ifndef __MTD_CFI_H__ 8 8 #define __MTD_CFI_H__ 9 9 10 - #include <linux/config.h> 11 10 #include <linux/delay.h> 12 11 #include <linux/types.h> 13 12 #include <linux/interrupt.h>
-1
include/linux/mtd/map.h
··· 5 5 #ifndef __LINUX_MTD_MAP_H__ 6 6 #define __LINUX_MTD_MAP_H__ 7 7 8 - #include <linux/config.h> 9 8 #include <linux/types.h> 10 9 #include <linux/list.h> 11 10 #include <linux/string.h>
-1
include/linux/mtd/mtd.h
··· 13 13 #error This is a kernel header. Perhaps include mtd-user.h instead? 14 14 #endif 15 15 16 - #include <linux/config.h> 17 16 #include <linux/types.h> 18 17 #include <linux/module.h> 19 18 #include <linux/uio.h>
-1
include/linux/mtd/nand.h
··· 20 20 #ifndef __LINUX_MTD_NAND_H 21 21 #define __LINUX_MTD_NAND_H 22 22 23 - #include <linux/config.h> 24 23 #include <linux/wait.h> 25 24 #include <linux/spinlock.h> 26 25 #include <linux/mtd/mtd.h>
-1
include/linux/mtd/xip.h
··· 18 18 #ifndef __LINUX_MTD_XIP_H__ 19 19 #define __LINUX_MTD_XIP_H__ 20 20 21 - #include <linux/config.h> 22 21 23 22 #ifdef CONFIG_MTD_XIP 24 23
+6 -6
include/linux/nbd.h
··· 77 77 * server. All data are in network byte order. 78 78 */ 79 79 struct nbd_request { 80 - u32 magic; 81 - u32 type; /* == READ || == WRITE */ 80 + __u32 magic; 81 + __u32 type; /* == READ || == WRITE */ 82 82 char handle[8]; 83 - u64 from; 84 - u32 len; 83 + __u64 from; 84 + __u32 len; 85 85 } 86 86 #ifdef __GNUC__ 87 87 __attribute__ ((packed)) ··· 93 93 * it has completed an I/O request (or an error occurs). 94 94 */ 95 95 struct nbd_reply { 96 - u32 magic; 97 - u32 error; /* 0 = ok, else error */ 96 + __u32 magic; 97 + __u32 error; /* 0 = ok, else error */ 98 98 char handle[8]; /* handle you got from request */ 99 99 }; 100 100 #endif
+2 -3
include/linux/ncp_fs.h
··· 12 12 #include <linux/in.h> 13 13 #include <linux/types.h> 14 14 15 - #include <linux/ncp_fs_i.h> 16 - #include <linux/ncp_fs_sb.h> 17 15 #include <linux/ipx.h> 18 16 #include <linux/ncp_no.h> 19 17 ··· 144 146 145 147 #ifdef __KERNEL__ 146 148 147 - #include <linux/config.h> 149 + #include <linux/ncp_fs_i.h> 150 + #include <linux/ncp_fs_sb.h> 148 151 149 152 /* undef because public define in umsdos_fs.h (ncp_fs.h isn't public) */ 150 153 #undef PRINTK
+1 -2
include/linux/net.h
··· 18 18 #ifndef _LINUX_NET_H 19 19 #define _LINUX_NET_H 20 20 21 - #include <linux/config.h> 22 21 #include <linux/wait.h> 23 - #include <linux/stringify.h> 24 22 #include <asm/socket.h> 25 23 26 24 struct poll_table_struct; ··· 55 57 #define __SO_ACCEPTCON (1 << 16) /* performed a listen */ 56 58 57 59 #ifdef __KERNEL__ 60 + #include <linux/stringify.h> 58 61 59 62 #define SOCK_ASYNC_NOSPACE 0 60 63 #define SOCK_ASYNC_WAITDATA 1
-1
include/linux/netdevice.h
··· 34 34 #include <asm/cache.h> 35 35 #include <asm/byteorder.h> 36 36 37 - #include <linux/config.h> 38 37 #include <linux/device.h> 39 38 #include <linux/percpu.h> 40 39 #include <linux/dmaengine.h>
-1
include/linux/netfilter.h
··· 40 40 #endif 41 41 42 42 #ifdef __KERNEL__ 43 - #include <linux/config.h> 44 43 #ifdef CONFIG_NETFILTER 45 44 46 45 extern void netfilter_init(void);
+1 -1
include/linux/netfilter/xt_conntrack.h
··· 42 42 } u; 43 43 44 44 /* The protocol. */ 45 - u16 protonum; 45 + __u16 protonum; 46 46 } dst; 47 47 }; 48 48
-1
include/linux/netfilter_arp.h
··· 5 5 * (C)2002 Rusty Russell IBM -- This code is GPL. 6 6 */ 7 7 8 - #include <linux/config.h> 9 8 #include <linux/netfilter.h> 10 9 11 10 /* There is no PF_ARP. */
-1
include/linux/netfilter_bridge.h
··· 4 4 /* bridge-specific defines for netfilter. 5 5 */ 6 6 7 - #include <linux/config.h> 8 7 #include <linux/netfilter.h> 9 8 #if defined(__KERNEL__) && defined(CONFIG_BRIDGE_NETFILTER) 10 9 #include <asm/atomic.h>
-1
include/linux/netfilter_ipv4.h
··· 5 5 * (C)1998 Rusty Russell -- This code is GPL. 6 6 */ 7 7 8 - #include <linux/config.h> 9 8 #include <linux/netfilter.h> 10 9 11 10 /* only for userspace compatibility */
-1
include/linux/netfilter_ipv4/ip_conntrack.h
··· 4 4 #include <linux/netfilter/nf_conntrack_common.h> 5 5 6 6 #ifdef __KERNEL__ 7 - #include <linux/config.h> 8 7 #include <linux/netfilter_ipv4/ip_conntrack_tuple.h> 9 8 #include <linux/bitops.h> 10 9 #include <linux/compiler.h>
-1
include/linux/netfilter_ipv4/listhelp.h
··· 1 1 #ifndef _LISTHELP_H 2 2 #define _LISTHELP_H 3 - #include <linux/config.h> 4 3 #include <linux/list.h> 5 4 6 5 /* Header to do more comprehensive job than linux/list.h; assume list
+4 -4
include/linux/nfs.h
··· 7 7 #ifndef _LINUX_NFS_H 8 8 #define _LINUX_NFS_H 9 9 10 - #include <linux/sunrpc/msg_prot.h> 11 - #include <linux/string.h> 12 - 13 10 #define NFS_PROGRAM 100003 14 11 #define NFS_PORT 2049 15 12 #define NFS_MAXDATA 8192 ··· 126 129 NFFIFO = 8 127 130 }; 128 131 129 - #if defined(__KERNEL__) 132 + #ifdef __KERNEL__ 133 + #include <linux/sunrpc/msg_prot.h> 134 + #include <linux/string.h> 135 + 130 136 /* 131 137 * This is the kernel NFS client file handle representation 132 138 */
+3 -3
include/linux/nfs4.h
··· 14 14 #define _LINUX_NFS4_H 15 15 16 16 #include <linux/types.h> 17 - #include <linux/list.h> 18 17 19 18 #define NFS4_VERIFIER_SIZE 8 20 19 #define NFS4_FHSIZE 128 ··· 95 96 NFS4_ACL_WHO_GROUP, 96 97 NFS4_ACL_WHO_EVERYONE, 97 98 }; 99 + 100 + #ifdef __KERNEL__ 101 + #include <linux/list.h> 98 102 99 103 struct nfs4_ace { 100 104 uint32_t type; ··· 346 344 #define NFSPROC4_COMPOUND 1 347 345 #define NFS4_MINOR_VERSION 0 348 346 #define NFS4_DEBUG 1 349 - 350 - #ifdef __KERNEL__ 351 347 352 348 /* Index of predefined Linux client operations */ 353 349
+19 -20
include/linux/nfs_fs.h
··· 9 9 #ifndef _LINUX_NFS_FS_H 10 10 #define _LINUX_NFS_FS_H 11 11 12 - #include <linux/config.h> 13 - #include <linux/in.h> 14 - #include <linux/mm.h> 15 - #include <linux/pagemap.h> 16 - #include <linux/rwsem.h> 17 - #include <linux/wait.h> 18 - 19 - #include <linux/nfs_fs_sb.h> 20 - 21 - #include <linux/sunrpc/debug.h> 22 - #include <linux/sunrpc/auth.h> 23 - #include <linux/sunrpc/clnt.h> 24 - 25 - #include <linux/nfs.h> 26 - #include <linux/nfs2.h> 27 - #include <linux/nfs3.h> 28 - #include <linux/nfs4.h> 29 - #include <linux/nfs_xdr.h> 30 - #include <linux/rwsem.h> 31 - #include <linux/mempool.h> 32 12 33 13 /* 34 14 * Enable debugging support for nfs client. ··· 43 63 #define FLUSH_NOCOMMIT 32 /* Don't send the NFSv3/v4 COMMIT */ 44 64 45 65 #ifdef __KERNEL__ 66 + #include <linux/in.h> 67 + #include <linux/mm.h> 68 + #include <linux/pagemap.h> 69 + #include <linux/rwsem.h> 70 + #include <linux/wait.h> 71 + 72 + #include <linux/nfs_fs_sb.h> 73 + 74 + #include <linux/sunrpc/debug.h> 75 + #include <linux/sunrpc/auth.h> 76 + #include <linux/sunrpc/clnt.h> 77 + 78 + #include <linux/nfs.h> 79 + #include <linux/nfs2.h> 80 + #include <linux/nfs3.h> 81 + #include <linux/nfs4.h> 82 + #include <linux/nfs_xdr.h> 83 + #include <linux/rwsem.h> 84 + #include <linux/mempool.h> 46 85 47 86 /* 48 87 * NFSv3/v4 Access mode cache entry
-1
include/linux/nfsd/nfsd.h
··· 10 10 #ifndef LINUX_NFSD_NFSD_H 11 11 #define LINUX_NFSD_NFSD_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/types.h> 15 14 #include <linux/unistd.h> 16 15 #include <linux/dirent.h>
-1
include/linux/nfsd/nfsfh.h
··· 16 16 17 17 #include <asm/types.h> 18 18 #ifdef __KERNEL__ 19 - # include <linux/config.h> 20 19 # include <linux/types.h> 21 20 # include <linux/string.h> 22 21 # include <linux/fs.h>
-1
include/linux/nfsd/syscall.h
··· 11 11 12 12 #include <asm/types.h> 13 13 #ifdef __KERNEL__ 14 - # include <linux/config.h> 15 14 # include <linux/types.h> 16 15 # include <linux/in.h> 17 16 #endif
-1
include/linux/numa.h
··· 1 1 #ifndef _LINUX_NUMA_H 2 2 #define _LINUX_NUMA_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_NODES_SHIFT 7 6 #define NODES_SHIFT CONFIG_NODES_SHIFT
-1
include/linux/parport.h
··· 96 96 /* The rest is for the kernel only */ 97 97 #ifdef __KERNEL__ 98 98 99 - #include <linux/config.h> 100 99 #include <linux/jiffies.h> 101 100 #include <linux/proc_fs.h> 102 101 #include <linux/spinlock.h>
+2 -3
include/linux/pci.h
··· 17 17 #ifndef LINUX_PCI_H 18 18 #define LINUX_PCI_H 19 19 20 - #include <linux/mod_devicetable.h> 21 - 22 20 /* Include the pci register defines */ 23 21 #include <linux/pci_regs.h> 24 22 ··· 44 46 45 47 #ifdef __KERNEL__ 46 48 49 + #include <linux/mod_devicetable.h> 50 + 47 51 #include <linux/types.h> 48 - #include <linux/config.h> 49 52 #include <linux/ioport.h> 50 53 #include <linux/list.h> 51 54 #include <linux/errno.h>
-1
include/linux/percpu_counter.h
··· 6 6 * WARNING: these things are HUGE. 4 kbytes per counter on 32-way P4. 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 #include <linux/spinlock.h> 11 10 #include <linux/smp.h> 12 11 #include <linux/threads.h>
-1
include/linux/pm.h
··· 23 23 24 24 #ifdef __KERNEL__ 25 25 26 - #include <linux/config.h> 27 26 #include <linux/list.h> 28 27 #include <asm/atomic.h> 29 28
-1
include/linux/pm_legacy.h
··· 1 1 #ifndef __LINUX_PM_LEGACY_H__ 2 2 #define __LINUX_PM_LEGACY_H__ 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_PM_LEGACY 7 6
-1
include/linux/pmu.h
··· 6 6 * Copyright (C) 1998 Paul Mackerras. 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 11 10 #define PMU_DRIVER_VERSION 2 12 11
+4 -10
include/linux/ppp_defs.h
··· 42 42 #ifndef _PPP_DEFS_H_ 43 43 #define _PPP_DEFS_H_ 44 44 45 - #include <linux/crc-ccitt.h> 46 - 47 45 /* 48 46 * The basic PPP frame. 49 47 */ ··· 95 97 96 98 #define PPP_INITFCS 0xffff /* Initial FCS value */ 97 99 #define PPP_GOODFCS 0xf0b8 /* Good final FCS value */ 100 + 101 + #ifdef __KERNEL__ 102 + #include <linux/crc-ccitt.h> 98 103 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) 104 + #endif 99 105 100 106 /* 101 107 * Extended asyncmap - allows any character to be escaped. ··· 180 178 time_t xmit_idle; /* time since last NP packet sent */ 181 179 time_t recv_idle; /* time since last NP packet received */ 182 180 }; 183 - 184 - #ifndef __P 185 - #ifdef __STDC__ 186 - #define __P(x) x 187 - #else 188 - #define __P(x) () 189 - #endif 190 - #endif 191 181 192 182 #endif /* _PPP_DEFS_H_ */
-1
include/linux/preempt.h
··· 6 6 * preempt_count (used for kernel preemption, interrupt count, etc.) 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 #include <linux/thread_info.h> 11 10 #include <linux/linkage.h> 12 11
-1
include/linux/proc_fs.h
··· 1 1 #ifndef _LINUX_PROC_FS_H 2 2 #define _LINUX_PROC_FS_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/slab.h> 6 5 #include <linux/fs.h> 7 6 #include <linux/spinlock.h>
-1
include/linux/profile.h
··· 4 4 #ifdef __KERNEL__ 5 5 6 6 #include <linux/kernel.h> 7 - #include <linux/config.h> 8 7 #include <linux/init.h> 9 8 #include <linux/cpumask.h> 10 9 #include <asm/errno.h>
+2 -2
include/linux/quota.h
··· 37 37 38 38 #include <linux/errno.h> 39 39 #include <linux/types.h> 40 - #include <linux/spinlock.h> 41 - #include <linux/mutex.h> 42 40 43 41 #define __DQUOT_VERSION__ "dquot_6.5.1" 44 42 #define __DQUOT_NUM_VERSION__ 6*10000+5*100+1 ··· 131 133 }; 132 134 133 135 #ifdef __KERNEL__ 136 + #include <linux/spinlock.h> 137 + #include <linux/mutex.h> 134 138 135 139 #include <linux/dqblk_xfs.h> 136 140 #include <linux/dqblk_v1.h>
-1
include/linux/quotaops.h
··· 10 10 #ifndef _LINUX_QUOTAOPS_ 11 11 #define _LINUX_QUOTAOPS_ 12 12 13 - #include <linux/config.h> 14 13 #include <linux/smp_lock.h> 15 14 16 15 #include <linux/fs.h>
+1 -2
include/linux/reiserfs_xattr.h
··· 2 2 File: linux/reiserfs_xattr.h 3 3 */ 4 4 5 - #include <linux/config.h> 6 - #include <linux/init.h> 7 5 #include <linux/xattr.h> 8 6 9 7 /* Magic value in header */ ··· 13 15 }; 14 16 15 17 #ifdef __KERNEL__ 18 + #include <linux/init.h> 16 19 17 20 struct reiserfs_xattr_handler { 18 21 char *prefix;
-1
include/linux/relay.h
··· 10 10 #ifndef _LINUX_RELAY_H 11 11 #define _LINUX_RELAY_H 12 12 13 - #include <linux/config.h> 14 13 #include <linux/types.h> 15 14 #include <linux/sched.h> 16 15 #include <linux/wait.h>
-1
include/linux/rio.h
··· 17 17 #ifdef __KERNEL__ 18 18 19 19 #include <linux/types.h> 20 - #include <linux/config.h> 21 20 #include <linux/ioport.h> 22 21 #include <linux/list.h> 23 22 #include <linux/errno.h>
-1
include/linux/rio_drv.h
··· 16 16 #ifdef __KERNEL__ 17 17 18 18 #include <linux/types.h> 19 - #include <linux/config.h> 20 19 #include <linux/ioport.h> 21 20 #include <linux/list.h> 22 21 #include <linux/errno.h>
-1
include/linux/rmap.h
··· 4 4 * Declarations for Reverse Mapping functions in mm/rmap.c 5 5 */ 6 6 7 - #include <linux/config.h> 8 7 #include <linux/list.h> 9 8 #include <linux/slab.h> 10 9 #include <linux/mm.h>
-1
include/linux/rtnetlink.h
··· 909 909 910 910 #ifdef __KERNEL__ 911 911 912 - #include <linux/config.h> 913 912 #include <linux/mutex.h> 914 913 915 914 extern size_t rtattr_strlcpy(char *dest, const struct rtattr *rta, size_t size);
-1
include/linux/rwsem.h
··· 13 13 14 14 #ifdef __KERNEL__ 15 15 16 - #include <linux/config.h> 17 16 #include <linux/types.h> 18 17 #include <linux/kernel.h> 19 18 #include <asm/system.h>
-1
include/linux/scc.h
··· 3 3 #ifndef _SCC_H 4 4 #define _SCC_H 5 5 6 - #include <linux/config.h> 7 6 8 7 /* selection of hardware types */ 9 8
+45 -45
include/linux/sched.h
··· 1 1 #ifndef _LINUX_SCHED_H 2 2 #define _LINUX_SCHED_H 3 3 4 + #include <linux/auxvec.h> /* For AT_VECTOR_SIZE */ 5 + 6 + /* 7 + * cloning flags: 8 + */ 9 + #define CSIGNAL 0x000000ff /* signal mask to be sent at exit */ 10 + #define CLONE_VM 0x00000100 /* set if VM shared between processes */ 11 + #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ 12 + #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ 13 + #define CLONE_SIGHAND 0x00000800 /* set if signal handlers and blocked signals shared */ 14 + #define CLONE_PTRACE 0x00002000 /* set if we want to let tracing continue on the child too */ 15 + #define CLONE_VFORK 0x00004000 /* set if the parent wants the child to wake it up on mm_release */ 16 + #define CLONE_PARENT 0x00008000 /* set if we want to have the same parent as the cloner */ 17 + #define CLONE_THREAD 0x00010000 /* Same thread group? */ 18 + #define CLONE_NEWNS 0x00020000 /* New namespace group? */ 19 + #define CLONE_SYSVSEM 0x00040000 /* share system V SEM_UNDO semantics */ 20 + #define CLONE_SETTLS 0x00080000 /* create a new TLS for the child */ 21 + #define CLONE_PARENT_SETTID 0x00100000 /* set the TID in the parent */ 22 + #define CLONE_CHILD_CLEARTID 0x00200000 /* clear the TID in the child */ 23 + #define CLONE_DETACHED 0x00400000 /* Unused, ignored */ 24 + #define CLONE_UNTRACED 0x00800000 /* set if the tracing process can't force CLONE_PTRACE on this clone */ 25 + #define CLONE_CHILD_SETTID 0x01000000 /* set the TID in the child */ 26 + #define CLONE_STOPPED 0x02000000 /* Start in stopped state */ 27 + 28 + /* 29 + * Scheduling policies 30 + */ 31 + #define SCHED_NORMAL 0 32 + #define SCHED_FIFO 1 33 + #define SCHED_RR 2 34 + #define SCHED_BATCH 3 35 + 36 + #ifdef __KERNEL__ 37 + 38 + struct sched_param { 39 + int sched_priority; 40 + }; 41 + 4 42 #include <asm/param.h> /* for HZ */ 5 43 6 - #include <linux/config.h> 7 44 #include <linux/capability.h> 8 45 #include <linux/threads.h> 9 46 #include <linux/kernel.h> ··· 74 37 #include <linux/rcupdate.h> 75 38 #include <linux/futex.h> 76 39 77 - #include <linux/auxvec.h> /* For AT_VECTOR_SIZE */ 40 + #include <linux/time.h> 41 + #include <linux/param.h> 42 + #include <linux/resource.h> 43 + #include <linux/timer.h> 44 + #include <linux/hrtimer.h> 45 + 46 + #include <asm/processor.h> 78 47 79 48 struct exec_domain; 80 - 81 - /* 82 - * cloning flags: 83 - */ 84 - #define CSIGNAL 0x000000ff /* signal mask to be sent at exit */ 85 - #define CLONE_VM 0x00000100 /* set if VM shared between processes */ 86 - #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ 87 - #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ 88 - #define CLONE_SIGHAND 0x00000800 /* set if signal handlers and blocked signals shared */ 89 - #define CLONE_PTRACE 0x00002000 /* set if we want to let tracing continue on the child too */ 90 - #define CLONE_VFORK 0x00004000 /* set if the parent wants the child to wake it up on mm_release */ 91 - #define CLONE_PARENT 0x00008000 /* set if we want to have the same parent as the cloner */ 92 - #define CLONE_THREAD 0x00010000 /* Same thread group? */ 93 - #define CLONE_NEWNS 0x00020000 /* New namespace group? */ 94 - #define CLONE_SYSVSEM 0x00040000 /* share system V SEM_UNDO semantics */ 95 - #define CLONE_SETTLS 0x00080000 /* create a new TLS for the child */ 96 - #define CLONE_PARENT_SETTID 0x00100000 /* set the TID in the parent */ 97 - #define CLONE_CHILD_CLEARTID 0x00200000 /* clear the TID in the child */ 98 - #define CLONE_DETACHED 0x00400000 /* Unused, ignored */ 99 - #define CLONE_UNTRACED 0x00800000 /* set if the tracing process can't force CLONE_PTRACE on this clone */ 100 - #define CLONE_CHILD_SETTID 0x01000000 /* set the TID in the child */ 101 - #define CLONE_STOPPED 0x02000000 /* Start in stopped state */ 102 49 103 50 /* 104 51 * List of flags we want to share for kernel threads, ··· 124 103 extern unsigned long nr_active(void); 125 104 extern unsigned long nr_iowait(void); 126 105 127 - #include <linux/time.h> 128 - #include <linux/param.h> 129 - #include <linux/resource.h> 130 - #include <linux/timer.h> 131 - #include <linux/hrtimer.h> 132 - 133 - #include <asm/processor.h> 134 106 135 107 /* 136 108 * Task state bitmask. NOTE! These bits are also ··· 169 155 170 156 /* Task command name length */ 171 157 #define TASK_COMM_LEN 16 172 - 173 - /* 174 - * Scheduling policies 175 - */ 176 - #define SCHED_NORMAL 0 177 - #define SCHED_FIFO 1 178 - #define SCHED_RR 2 179 - #define SCHED_BATCH 3 180 - 181 - struct sched_param { 182 - int sched_priority; 183 - }; 184 - 185 - #ifdef __KERNEL__ 186 158 187 159 #include <linux/spinlock.h> 188 160
-1
include/linux/seccomp.h
··· 1 1 #ifndef _LINUX_SECCOMP_H 2 2 #define _LINUX_SECCOMP_H 3 3 4 - #include <linux/config.h> 5 4 6 5 #ifdef CONFIG_SECCOMP 7 6
+1 -1
include/linux/sem.h
··· 2 2 #define _LINUX_SEM_H 3 3 4 4 #include <linux/ipc.h> 5 - #include <asm/atomic.h> 6 5 7 6 /* semop flags */ 8 7 #define SEM_UNDO 0x1000 /* undo the operation on exit */ ··· 77 78 #define SEMUSZ 20 /* sizeof struct sem_undo */ 78 79 79 80 #ifdef __KERNEL__ 81 + #include <asm/atomic.h> 80 82 81 83 struct task_struct; 82 84
-1
include/linux/seqlock.h
··· 26 26 * by Keith Owens and Andrea Arcangeli 27 27 */ 28 28 29 - #include <linux/config.h> 30 29 #include <linux/spinlock.h> 31 30 #include <linux/preempt.h> 32 31
-1
include/linux/serialP.h
··· 19 19 * For definitions of the flags field, see tty.h 20 20 */ 21 21 22 - #include <linux/config.h> 23 22 #include <linux/termios.h> 24 23 #include <linux/workqueue.h> 25 24 #include <linux/interrupt.h>
-1
include/linux/serial_core.h
··· 132 132 133 133 #ifdef __KERNEL__ 134 134 135 - #include <linux/config.h> 136 135 #include <linux/compiler.h> 137 136 #include <linux/interrupt.h> 138 137 #include <linux/circ_buf.h>
+2 -2
include/linux/signal.h
··· 1 1 #ifndef _LINUX_SIGNAL_H 2 2 #define _LINUX_SIGNAL_H 3 3 4 - #include <linux/list.h> 5 - #include <linux/spinlock.h> 6 4 #include <asm/signal.h> 7 5 #include <asm/siginfo.h> 8 6 9 7 #ifdef __KERNEL__ 8 + #include <linux/list.h> 9 + #include <linux/spinlock.h> 10 10 11 11 /* 12 12 * These values of sa_flags are used only by the kernel as part of the
-1
include/linux/skbuff.h
··· 14 14 #ifndef _LINUX_SKBUFF_H 15 15 #define _LINUX_SKBUFF_H 16 16 17 - #include <linux/config.h> 18 17 #include <linux/kernel.h> 19 18 #include <linux/compiler.h> 20 19 #include <linux/time.h>
-1
include/linux/slab.h
··· 11 11 12 12 typedef struct kmem_cache kmem_cache_t; 13 13 14 - #include <linux/config.h> /* kmalloc_sizes.h needs CONFIG_ options */ 15 14 #include <linux/gfp.h> 16 15 #include <linux/init.h> 17 16 #include <linux/types.h>
+2 -2
include/linux/smb_fs.h
··· 10 10 #define _LINUX_SMB_FS_H 11 11 12 12 #include <linux/smb.h> 13 - #include <linux/smb_fs_i.h> 14 - #include <linux/smb_fs_sb.h> 15 13 16 14 /* 17 15 * ioctl commands ··· 22 24 23 25 24 26 #ifdef __KERNEL__ 27 + #include <linux/smb_fs_i.h> 28 + #include <linux/smb_fs_sb.h> 25 29 26 30 #include <linux/fs.h> 27 31 #include <linux/pagemap.h>
-1
include/linux/smp.h
··· 6 6 * Alan Cox. <alan@redhat.com> 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 11 10 extern void cpu_idle(void); 12 11
-1
include/linux/smp_lock.h
··· 1 1 #ifndef __LINUX_SMPLOCK_H 2 2 #define __LINUX_SMPLOCK_H 3 3 4 - #include <linux/config.h> 5 4 #ifdef CONFIG_LOCK_KERNEL 6 5 #include <linux/sched.h> 7 6 #include <linux/spinlock.h>
-2
include/linux/socket.h
··· 18 18 19 19 #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) 20 20 21 - #include <linux/config.h> /* for CONFIG_COMPAT */ 22 - #include <linux/linkage.h> 23 21 #include <asm/socket.h> /* arch-dependent defines */ 24 22 #include <linux/sockios.h> /* the SIOCxxx I/O controls */ 25 23 #include <linux/uio.h> /* iovec support */
-1
include/linux/spinlock.h
··· 46 46 * linux/spinlock.h: builds the final spin_*() APIs. 47 47 */ 48 48 49 - #include <linux/config.h> 50 49 #include <linux/preempt.h> 51 50 #include <linux/linkage.h> 52 51 #include <linux/compiler.h>
-1
include/linux/stop_machine.h
··· 4 4 very heavy lock, which is equivalent to grabbing every spinlock 5 5 (and more). So the "read" side to such a lock is anything which 6 6 diables preeempt. */ 7 - #include <linux/config.h> 8 7 #include <linux/cpu.h> 9 8 #include <asm/system.h> 10 9
-1
include/linux/sunrpc/auth.h
··· 11 11 12 12 #ifdef __KERNEL__ 13 13 14 - #include <linux/config.h> 15 14 #include <linux/sunrpc/sched.h> 16 15 #include <linux/sunrpc/msg_prot.h> 17 16 #include <linux/sunrpc/xdr.h>
+11 -13
include/linux/sunrpc/debug.h
··· 9 9 #ifndef _LINUX_SUNRPC_DEBUG_H_ 10 10 #define _LINUX_SUNRPC_DEBUG_H_ 11 11 12 - #include <linux/config.h> 13 - 14 - #include <linux/timer.h> 15 - #include <linux/workqueue.h> 16 - 17 - /* 18 - * Enable RPC debugging/profiling. 19 - */ 20 - #ifdef CONFIG_SYSCTL 21 - #define RPC_DEBUG 22 - #endif 23 - /* #define RPC_PROFILE */ 24 - 25 12 /* 26 13 * RPC debug facilities 27 14 */ ··· 27 40 #define RPCDBG_ALL 0x7fff 28 41 29 42 #ifdef __KERNEL__ 43 + 44 + #include <linux/timer.h> 45 + #include <linux/workqueue.h> 46 + 47 + /* 48 + * Enable RPC debugging/profiling. 49 + */ 50 + #ifdef CONFIG_SYSCTL 51 + #define RPC_DEBUG 52 + #endif 53 + /* #define RPC_PROFILE */ 30 54 31 55 /* 32 56 * Debugging macros etc
-1
include/linux/sunrpc/stats.h
··· 9 9 #ifndef _LINUX_SUNRPC_STATS_H 10 10 #define _LINUX_SUNRPC_STATS_H 11 11 12 - #include <linux/config.h> 13 12 #include <linux/proc_fs.h> 14 13 15 14 struct rpc_stat {
-1
include/linux/suspend.h
··· 6 6 #endif 7 7 #include <linux/swap.h> 8 8 #include <linux/notifier.h> 9 - #include <linux/config.h> 10 9 #include <linux/init.h> 11 10 #include <linux/pm.h> 12 11
-1
include/linux/swap.h
··· 1 1 #ifndef _LINUX_SWAP_H 2 2 #define _LINUX_SWAP_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/spinlock.h> 6 5 #include <linux/linkage.h> 7 6 #include <linux/mmzone.h>
-1
include/linux/syscalls.h
··· 54 54 struct compat_timeval; 55 55 struct robust_list_head; 56 56 57 - #include <linux/config.h> 58 57 #include <linux/types.h> 59 58 #include <linux/aio_abi.h> 60 59 #include <linux/capability.h>
-1
include/linux/sysrq.h
··· 11 11 * based upon discusions in irc://irc.openprojects.net/#kernelnewbies 12 12 */ 13 13 14 - #include <linux/config.h> 15 14 16 15 struct pt_regs; 17 16 struct tty_struct;
-1
include/linux/tcp.h
··· 160 160 161 161 #ifdef __KERNEL__ 162 162 163 - #include <linux/config.h> 164 163 #include <linux/skbuff.h> 165 164 #include <net/sock.h> 166 165 #include <net/inet_connection_sock.h>
-1
include/linux/threads.h
··· 1 1 #ifndef _LINUX_THREADS_H 2 2 #define _LINUX_THREADS_H 3 3 4 - #include <linux/config.h> 5 4 6 5 /* 7 6 * The default limit for the nr of threads is now in
-1
include/linux/timer.h
··· 1 1 #ifndef _LINUX_TIMER_H 2 2 #define _LINUX_TIMER_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/list.h> 6 5 #include <linux/spinlock.h> 7 6 #include <linux/stddef.h>
-1
include/linux/timex.h
··· 53 53 #ifndef _LINUX_TIMEX_H 54 54 #define _LINUX_TIMEX_H 55 55 56 - #include <linux/config.h> 57 56 #include <linux/compiler.h> 58 57 #include <linux/time.h> 59 58
-1
include/linux/tty.h
··· 16 16 consoles 16 and higher (since it returns a short) */ 17 17 18 18 #ifdef __KERNEL__ 19 - #include <linux/config.h> 20 19 #include <linux/fs.h> 21 20 #include <linux/major.h> 22 21 #include <linux/termios.h>
-1
include/linux/types.h
··· 2 2 #define _LINUX_TYPES_H 3 3 4 4 #ifdef __KERNEL__ 5 - #include <linux/config.h> 6 5 7 6 #define BITS_TO_LONGS(bits) \ 8 7 (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
-1
include/linux/udp.h
··· 35 35 #define UDP_ENCAP_ESPINUDP 2 /* draft-ietf-ipsec-udp-encaps-06 */ 36 36 37 37 #ifdef __KERNEL__ 38 - #include <linux/config.h> 39 38 #include <linux/types.h> 40 39 41 40 #include <net/inet_sock.h>
-1
include/linux/ufs_fs.h
··· 32 32 33 33 #include <linux/types.h> 34 34 #include <linux/kernel.h> 35 - #include <linux/time.h> 36 35 #include <linux/stat.h> 37 36 #include <linux/fs.h> 38 37
+2
include/linux/unistd.h
··· 1 1 #ifndef _LINUX_UNISTD_H_ 2 2 #define _LINUX_UNISTD_H_ 3 3 4 + #ifdef __KERNEL__ 4 5 extern int errno; 6 + #endif 5 7 6 8 /* 7 9 * Include machine specific syscallX macros
-1
include/linux/usb.h
··· 10 10 11 11 #ifdef __KERNEL__ 12 12 13 - #include <linux/config.h> 14 13 #include <linux/errno.h> /* for -ENODEV */ 15 14 #include <linux/delay.h> /* for mdelay() */ 16 15 #include <linux/interrupt.h> /* for in_interrupt() */
-1
include/linux/usb_usual.h
··· 9 9 #ifndef __LINUX_USB_USUAL_H 10 10 #define __LINUX_USB_USUAL_H 11 11 12 - #include <linux/config.h> 13 12 14 13 /* We should do this for cleanliness... But other usb_foo.h do not do this. */ 15 14 /* #include <linux/usb.h> */
+2
include/linux/usbdevice_fs.h
··· 123 123 char port [127]; /* e.g. port 3 connects to device 27 */ 124 124 }; 125 125 126 + #ifdef __KERNEL__ 126 127 #ifdef CONFIG_COMPAT 127 128 #include <linux/compat.h> 128 129 struct usbdevfs_urb32 { ··· 148 147 compat_caddr_t data; 149 148 }; 150 149 #endif 150 + #endif /* __KERNEL__ */ 151 151 152 152 #define USBDEVFS_CONTROL _IOWR('U', 0, struct usbdevfs_ctrltransfer) 153 153 #define USBDEVFS_BULK _IOWR('U', 2, struct usbdevfs_bulktransfer)
-1
include/linux/vt_buffer.h
··· 13 13 #ifndef _LINUX_VT_BUFFER_H_ 14 14 #define _LINUX_VT_BUFFER_H_ 15 15 16 - #include <linux/config.h> 17 16 18 17 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_MDA_CONSOLE) 19 18 #include <asm/vga.h>
-1
include/linux/vt_kern.h
··· 6 6 * with information needed by the vt package 7 7 */ 8 8 9 - #include <linux/config.h> 10 9 #include <linux/vt.h> 11 10 #include <linux/kd.h> 12 11 #include <linux/tty.h>
-1
include/linux/wait.h
··· 19 19 20 20 #ifdef __KERNEL__ 21 21 22 - #include <linux/config.h> 23 22 #include <linux/list.h> 24 23 #include <linux/stddef.h> 25 24 #include <linux/spinlock.h>
+2 -2
include/linux/wanrouter.h
··· 44 44 * Jan 02, 1997 Gene Kozin Initial version (based on wanpipe.h). 45 45 *****************************************************************************/ 46 46 47 - #include <linux/spinlock.h> /* Support for SMP Locking */ 48 - 49 47 #ifndef _ROUTER_H 50 48 #define _ROUTER_H 51 49 ··· 455 457 #include <linux/fs.h> /* support for device drivers */ 456 458 #include <linux/proc_fs.h> /* proc filesystem pragmatics */ 457 459 #include <linux/netdevice.h> /* support for network drivers */ 460 + #include <linux/spinlock.h> /* Support for SMP Locking */ 461 + 458 462 /*---------------------------------------------------------------------------- 459 463 * WAN device data space. 460 464 */
+3 -2
include/mtd/mtd-abi.h
··· 7 7 #ifndef __MTD_ABI_H__ 8 8 #define __MTD_ABI_H__ 9 9 10 - #ifndef __KERNEL__ /* Urgh. The whole point of splitting this out into 11 - separate files was to avoid #ifdef __KERNEL__ */ 10 + #ifndef __KERNEL__ 11 + /* Urgh. The whole point of splitting this out into 12 + separate files was to avoid #ifdef __KERNEL__ */ 12 13 #define __user 13 14 #endif 14 15
-1
include/net/addrconf.h
··· 45 45 46 46 #ifdef __KERNEL__ 47 47 48 - #include <linux/config.h> 49 48 #include <linux/netdevice.h> 50 49 #include <net/if_inet6.h> 51 50 #include <net/ipv6.h>
-1
include/net/af_unix.h
··· 1 1 #ifndef __LINUX_NET_AFUNIX_H 2 2 #define __LINUX_NET_AFUNIX_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/socket.h> 6 5 #include <linux/un.h> 7 6 #include <linux/mutex.h>
-1
include/net/ax25.h
··· 6 6 #ifndef _AX25_H 7 7 #define _AX25_H 8 8 9 - #include <linux/config.h> 10 9 #include <linux/ax25.h> 11 10 #include <linux/spinlock.h> 12 11 #include <linux/timer.h>
-1
include/net/compat.h
··· 1 1 #ifndef NET_COMPAT_H 2 2 #define NET_COMPAT_H 3 3 4 - #include <linux/config.h> 5 4 6 5 struct sock; 7 6
-1
include/net/dst.h
··· 8 8 #ifndef _NET_DST_H 9 9 #define _NET_DST_H 10 10 11 - #include <linux/config.h> 12 11 #include <linux/netdevice.h> 13 12 #include <linux/rtnetlink.h> 14 13 #include <linux/rcupdate.h>
-1
include/net/icmp.h
··· 18 18 #ifndef _ICMP_H 19 19 #define _ICMP_H 20 20 21 - #include <linux/config.h> 22 21 #include <linux/icmp.h> 23 22 24 23 #include <net/inet_sock.h>
-1
include/net/inet6_hashtables.h
··· 14 14 #ifndef _INET6_HASHTABLES_H 15 15 #define _INET6_HASHTABLES_H 16 16 17 - #include <linux/config.h> 18 17 19 18 #if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE) 20 19 #include <linux/in6.h>
-1
include/net/inet_hashtables.h
··· 14 14 #ifndef _INET_HASHTABLES_H 15 15 #define _INET_HASHTABLES_H 16 16 17 - #include <linux/config.h> 18 17 19 18 #include <linux/interrupt.h> 20 19 #include <linux/ipv6.h>
-1
include/net/inet_sock.h
··· 16 16 #ifndef _INET_SOCK_H 17 17 #define _INET_SOCK_H 18 18 19 - #include <linux/config.h> 20 19 21 20 #include <linux/string.h> 22 21 #include <linux/types.h>
-1
include/net/inet_timewait_sock.h
··· 15 15 #ifndef _INET_TIMEWAIT_SOCK_ 16 16 #define _INET_TIMEWAIT_SOCK_ 17 17 18 - #include <linux/config.h> 19 18 20 19 #include <linux/list.h> 21 20 #include <linux/module.h>
-1
include/net/ip.h
··· 22 22 #ifndef _IP_H 23 23 #define _IP_H 24 24 25 - #include <linux/config.h> 26 25 #include <linux/types.h> 27 26 #include <linux/ip.h> 28 27 #include <linux/in.h>
-1
include/net/ip_fib.h
··· 16 16 #ifndef _NET_IP_FIB_H 17 17 #define _NET_IP_FIB_H 18 18 19 - #include <linux/config.h> 20 19 #include <net/flow.h> 21 20 #include <linux/seq_file.h> 22 21
-1
include/net/ip_mp_alg.h
··· 7 7 #ifndef _NET_IP_MP_ALG_H 8 8 #define _NET_IP_MP_ALG_H 9 9 10 - #include <linux/config.h> 11 10 #include <linux/ip_mp_alg.h> 12 11 #include <net/flow.h> 13 12 #include <net/route.h>
-1
include/net/ip_vs.h
··· 248 248 249 249 #ifdef __KERNEL__ 250 250 251 - #include <linux/config.h> 252 251 #include <linux/list.h> /* for struct list_head */ 253 252 #include <linux/spinlock.h> /* for struct rwlock_t */ 254 253 #include <asm/atomic.h> /* for struct atomic_t */
-1
include/net/ipv6.h
··· 104 104 105 105 #ifdef __KERNEL__ 106 106 107 - #include <linux/config.h> 108 107 #include <net/sock.h> 109 108 110 109 /* sysctls */
-1
include/net/irda/irda.h
··· 26 26 #ifndef NET_IRDA_H 27 27 #define NET_IRDA_H 28 28 29 - #include <linux/config.h> 30 29 #include <linux/skbuff.h> /* struct sk_buff */ 31 30 #include <linux/kernel.h> 32 31 #include <linux/if.h> /* sa_family_t in <linux/irda.h> */
-1
include/net/irda/irda_device.h
··· 39 39 #ifndef IRDA_DEVICE_H 40 40 #define IRDA_DEVICE_H 41 41 42 - #include <linux/config.h> 43 42 #include <linux/tty.h> 44 43 #include <linux/netdevice.h> 45 44 #include <linux/spinlock.h>
-1
include/net/irda/irlap.h
··· 27 27 #ifndef IRLAP_H 28 28 #define IRLAP_H 29 29 30 - #include <linux/config.h> 31 30 #include <linux/types.h> 32 31 #include <linux/skbuff.h> 33 32 #include <linux/netdevice.h>
-1
include/net/irda/irlmp.h
··· 29 29 30 30 #include <asm/param.h> /* for HZ */ 31 31 32 - #include <linux/config.h> 33 32 #include <linux/types.h> 34 33 35 34 #include <net/irda/irda.h>
-1
include/net/irda/irlmp_frame.h
··· 26 26 #ifndef IRMLP_FRAME_H 27 27 #define IRMLP_FRAME_H 28 28 29 - #include <linux/config.h> 30 29 #include <linux/skbuff.h> 31 30 32 31 #include <net/irda/discovery.h>
-1
include/net/irda/qos.h
··· 31 31 #ifndef IRDA_QOS_H 32 32 #define IRDA_QOS_H 33 33 34 - #include <linux/config.h> 35 34 #include <linux/skbuff.h> 36 35 37 36 #include <net/irda/parameters.h>
-1
include/net/ndisc.h
··· 37 37 38 38 #ifdef __KERNEL__ 39 39 40 - #include <linux/config.h> 41 40 #include <linux/compiler.h> 42 41 #include <linux/icmpv6.h> 43 42 #include <linux/in6.h>
-1
include/net/netfilter/nf_conntrack.h
··· 15 15 #include <linux/netfilter/nf_conntrack_common.h> 16 16 17 17 #ifdef __KERNEL__ 18 - #include <linux/config.h> 19 18 #include <linux/bitops.h> 20 19 #include <linux/compiler.h> 21 20 #include <asm/atomic.h>
-1
include/net/pkt_act.h
··· 4 4 #include <asm/uaccess.h> 5 5 #include <asm/system.h> 6 6 #include <linux/bitops.h> 7 - #include <linux/config.h> 8 7 #include <linux/types.h> 9 8 #include <linux/kernel.h> 10 9 #include <linux/sched.h>
-1
include/net/protocol.h
··· 24 24 #ifndef _PROTOCOL_H 25 25 #define _PROTOCOL_H 26 26 27 - #include <linux/config.h> 28 27 #include <linux/in6.h> 29 28 #if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE) 30 29 #include <linux/ipv6.h>
-1
include/net/raw.h
··· 17 17 #ifndef _RAW_H 18 18 #define _RAW_H 19 19 20 - #include <linux/config.h> 21 20 22 21 #include <net/protocol.h> 23 22
-1
include/net/red.h
··· 1 1 #ifndef __NET_SCHED_RED_H 2 2 #define __NET_SCHED_RED_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/types.h> 6 5 #include <net/pkt_sched.h> 7 6 #include <net/inet_ecn.h>
-1
include/net/route.h
··· 24 24 #ifndef _ROUTE_H 25 25 #define _ROUTE_H 26 26 27 - #include <linux/config.h> 28 27 #include <net/dst.h> 29 28 #include <net/inetpeer.h> 30 29 #include <net/flow.h>
-1
include/net/sch_generic.h
··· 1 1 #ifndef __NET_SCHED_GENERIC_H 2 2 #define __NET_SCHED_GENERIC_H 3 3 4 - #include <linux/config.h> 5 4 #include <linux/netdevice.h> 6 5 #include <linux/types.h> 7 6 #include <linux/rcupdate.h>
-1
include/net/sctp/sctp.h
··· 63 63 */ 64 64 65 65 66 - #include <linux/config.h> 67 66 68 67 #ifdef TEST_FRAME 69 68 #undef CONFIG_PROC_FS
-1
include/net/sock.h
··· 40 40 #ifndef _SOCK_H 41 41 #define _SOCK_H 42 42 43 - #include <linux/config.h> 44 43 #include <linux/list.h> 45 44 #include <linux/timer.h> 46 45 #include <linux/cache.h>
-1
include/net/tcp.h
··· 21 21 #define TCP_DEBUG 1 22 22 #define FASTRETRANS_DEBUG 1 23 23 24 - #include <linux/config.h> 25 24 #include <linux/list.h> 26 25 #include <linux/tcp.h> 27 26 #include <linux/slab.h>
-1
include/pcmcia/ss.h
··· 15 15 #ifndef _LINUX_SS_H 16 16 #define _LINUX_SS_H 17 17 18 - #include <linux/config.h> 19 18 #include <linux/device.h> 20 19 #include <linux/sched.h> /* task_struct, completion */ 21 20 #include <linux/mutex.h>
-1
include/scsi/scsi_transport_fc.h
··· 27 27 #ifndef SCSI_TRANSPORT_FC_H 28 28 #define SCSI_TRANSPORT_FC_H 29 29 30 - #include <linux/config.h> 31 30 #include <linux/sched.h> 32 31 #include <scsi/scsi.h> 33 32
-1
include/scsi/scsi_transport_spi.h
··· 20 20 #ifndef SCSI_TRANSPORT_SPI_H 21 21 #define SCSI_TRANSPORT_SPI_H 22 22 23 - #include <linux/config.h> 24 23 #include <linux/transport_class.h> 25 24 #include <linux/mutex.h> 26 25
-1
include/sound/driver.h
··· 26 26 #include "config.h" 27 27 #endif 28 28 29 - #include <linux/config.h> 30 29 31 30 /* number of supported soundcards */ 32 31 #ifdef CONFIG_SND_DYNAMIC_MINORS
+6 -6
include/sound/hdsp.h
··· 30 30 }; 31 31 32 32 struct hdsp_peak_rms { 33 - u32 input_peaks[26]; 34 - u32 playback_peaks[26]; 35 - u32 output_peaks[28]; 36 - u64 input_rms[26]; 37 - u64 playback_rms[26]; 33 + __u32 input_peaks[26]; 34 + __u32 playback_peaks[26]; 35 + __u32 output_peaks[28]; 36 + __u64 input_rms[26]; 37 + __u64 playback_rms[26]; 38 38 /* These are only used for H96xx cards */ 39 - u64 output_rms[26]; 39 + __u64 output_rms[26]; 40 40 }; 41 41 42 42 #define SNDRV_HDSP_IOCTL_GET_PEAK_RMS _IOR('H', 0x40, struct hdsp_peak_rms)
-1
include/video/edid.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 - #include <linux/config.h> 7 6 8 7 #ifdef CONFIG_X86 9 8 struct edid_info {
-1
include/video/vga.h
··· 17 17 #ifndef __linux_video_vga_h__ 18 18 #define __linux_video_vga_h__ 19 19 20 - #include <linux/config.h> 21 20 #include <linux/types.h> 22 21 #include <asm/io.h> 23 22 #ifndef CONFIG_AMIGA