summaryrefslogtreecommitdiff
path: root/include/linux
Commit message (Collapse)AuthorAgeFilesLines
* Remove 'extern int errno;' from public view in linux/unistd.hDavid Woodhouse2006-04-291-0/+2
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Remove struct input_device_id from public view in linux/input.hDavid Woodhouse2006-04-291-0/+4
| | | | | | | | It uses kernel_ulong_t but can't be wrapped in __KERNEL__ because it's used from scripts/mod/file2alias.c -- but we _can_ hide it inside header manually too (and it doesn't generally exist for userspace). Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include <linux/mod_devicetable.h> in public part of linux/pci.hDavid Woodhouse2006-04-291-2/+2
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6David Woodhouse2006-04-297-14/+38
|\
| * [PATCH] request_irq(): remove warnings from irq probingAndrew Morton2006-04-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | - Add new SA_PROBEIRQ which suppresses the new sharing-mismatch warning. Some drivers like to use request_irq() to find an unused interrupt slot. - Use it in i82365.c - Kill unused SA_PROBE. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6Linus Torvalds2006-04-272-5/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6: [PATCH] Added URI of "linux kernel development process" [PATCH] Kobject: possible cleanups [PATCH] Fix OCFS2 warning when DEBUG_FS is not enabled [PATCH] Kobject: fix build error [PATCH] Frame buffer: remove cmap sysfs interface
| | * [PATCH] Kobject: possible cleanupsAdrian Bunk2006-04-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch contains the following possible cleanups: - #if 0 the following unused global function: - subsys_remove_file() - remove the following unused EXPORT_SYMBOL's: - kset_find_obj - subsystem_init - remove the following unused EXPORT_SYMBOL_GPL: - kobject_add_dir Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| | * [PATCH] Fix OCFS2 warning when DEBUG_FS is not enabledJean Delvare2006-04-271-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the following warning which happens when OCFS2_FS is enabled but DEBUG_FS isn't: fs/ocfs2/dlmglue.c: In function `ocfs2_dlm_init_debug': fs/ocfs2/dlmglue.c:2036: warning: passing arg 5 of `debugfs_create_file' discards qualifiers from pointer target type Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Arjan van de Ven <arjan@infradead.org> Cc: Joel Becker <Joel.Becker@oracle.com> Acked-by: Mark Fasheh <mark.fasheh@oracle.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| | * [PATCH] Kobject: fix build errorKay Sievers2006-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a build error for various odd combinations of CONFIG_HOTPLUG and CONFIG_NET. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Cc: Nigel Cunningham <ncunningham@cyclades.com> Cc: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * | [PATCH] Add find_get_pages_contig(): contiguous variant of find_get_pages()Jens Axboe2006-04-271-0/+2
| |/ | | | | | | | | | | | | find_get_pages_contig() will break out if we hit a hole in the page cache. From Andrew Morton, small modifications and documentation by me. Signed-off-by: Jens Axboe <axboe@suse.de>
| * Merge branch 'splice' of git://brick.kernel.dk/data/git/linux-2.6-blockLinus Torvalds2006-04-262-0/+20
| |\ | | | | | | | | | | | | | | | | | | | | | | | | * 'splice' of git://brick.kernel.dk/data/git/linux-2.6-block: [PATCH] splice: add ->splice_write support for /dev/null [PATCH] splice: rearrange moving to/from pipe helpers [PATCH] Add support for the sys_vmsplice syscall [PATCH] splice: fix offset problems [PATCH] splice: fix min() warning
| | * [PATCH] splice: rearrange moving to/from pipe helpersJens Axboe2006-04-261-0/+17
| | | | | | | | | | | | | | | | | | We need these for people writing their own ->splice_read/write hooks. Signed-off-by: Jens Axboe <axboe@suse.de>
| | * [PATCH] Add support for the sys_vmsplice syscallJens Axboe2006-04-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sys_splice() moves data to/from pipes with a file input/output. sys_vmsplice() moves data to a pipe, with the input being a user address range instead. This uses an approach suggested by Linus, where we can hold partial ranges inside the pages[] map. Hopefully this will be useful for network receive support as well. Signed-off-by: Jens Axboe <axboe@suse.de>
| * | [PATCH] sky2: reschedule if irq still pendingStephen Hemminger2006-04-261-8/+10
| |/ | | | | | | | | | | | | | | | | | | | | | | This is a workaround for the case edge-triggered irq's. Several users seem to have broken configurations sharing edge-triggered irq's. To avoid losing IRQ's, reshedule if more work arrives. The changes to netdevice.h are to extract the part that puts device back in list into separate inline. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* | linux/blkpg.h needs <linux/compiler.h> for __userDavid Woodhouse2006-04-271-0/+1
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Sanitise linux/sched.h for userspace consumptionDavid Woodhouse2006-04-271-39/+37
| | | | | | | | | | | | | | | | There was a whole load of crap exposed which should have been inside the existing #ifdef __KERNEL__ part. Also hide struct sched_param for now, since glibc has its own and doesn't like being given ours (yet). Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Sanitise linux/audit.h for userspace consumption, split elf-em.h from elf.hDavid Woodhouse2006-04-273-60/+47
| | | | | | | | | | | | | | | | Don't include <linux/sched.h> outside __KERNEL__, and split the EM_xxx definitions out of elf.h into elf-em.h so that audit.h can include just that and not pollute the namespace any further than it needs to. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include linux/config.h from anywhere else in include/David Woodhouse2006-04-26116-116/+0
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include <linux/config.h> and <linux/linkage.h> from linux/socket.hDavid Woodhouse2006-04-251-2/+0
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include private headers from user-visible part of linux/ext3_fs.hDavid Woodhouse2006-04-251-5/+2
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include private headers from user-visible part of linux/ext2_fs.hDavid Woodhouse2006-04-251-1/+1
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include private headers from user-visible part of linux/smb_fs.hDavid Woodhouse2006-04-251-2/+2
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Sanitise linux/sunrpc/debug.h for userspace consumptionDavid Woodhouse2006-04-251-13/+12
| | | | | | | | | | | | | | Move some inclusion of private header files and the definition of RPC_DEBUG inside the existing #ifdef __KERNEL__ Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't export CONFIG_COMPAT stuff in linux/usbdevice_fs.h to userspaceDavid Woodhouse2006-04-251-0/+2
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include <linux/spinlock.h> from user-visible part of linux/wanrouter.hDavid Woodhouse2006-04-251-2/+2
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include private headers from user-visible part of linux/signal.hDavid Woodhouse2006-04-251-2/+2
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include <asm/atomic.h> from user-visible part of linux/sem.hDavid Woodhouse2006-04-251-1/+1
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Partially sanitise linux/sched.h for userspace consumptionDavid Woodhouse2006-04-251-8/+10
| | | | | | | | | | | | | | For now, just make sure all inclusion of private header files is done within #ifdef __KERNEL__. There'll be more to clean up later. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include <linux/list.h> from user-visible part of reiserfs_xattr.hDavid Woodhouse2006-04-251-1/+1
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include private headers from user-visible parts of linux/quota.hDavid Woodhouse2006-04-251-2/+2
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include private headers from user-visible parts of include/linux/nfs*.hDavid Woodhouse2006-04-253-27/+26
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include <linux/stringify> from user-visible part of linux/net.hDavid Woodhouse2006-04-251-1/+1
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include <linux/list.h> from user-visible part of linux/msg.hDavid Woodhouse2006-04-251-1/+1
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include private files from user-visible part of linux/ncp_fs.hDavid Woodhouse2006-04-251-3/+2
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Sanitise linux/mman.h for userspace consumptionDavid Woodhouse2006-04-251-5/+8
| | | | | | | | | | | | | | It only really needs to define a few constants and include <asm/mman.h> when it's used by userspace. Move the rest within #ifdef __KERNEL__ Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Remove gratuitous inclusion of <linux/pci.h> from linux/isdn/tpam.hDavid Woodhouse2006-04-251-1/+0
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include <linux/device.h> from user-visible part of linux/ipmi.hDavid Woodhouse2006-04-251-1/+1
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Sanitise linux/i2c.h for userspace consumptionDavid Woodhouse2006-04-251-3/+6
| | | | | | | | | | | | | | | | It was unconditionally including a whole bunch of headers which aren't user-visible, and also exposing a lot of private internal stuff of its own. Also fix some legacy character set to UTF-8 while we're at it. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Sanitise linux/i2c-algo-ite.h for userspace consumptionDavid Woodhouse2006-04-251-2/+5
| | | | | | | | | | | | | | | | It doesn't need to include i2c.h, because a forward declaration of struct i2c_adapter is perfectly sufficient. And it can be inside #ifdef __KERNEL__ along with the kernel-internal structure definition. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Include various private files only from within __KERNEL__ in genhd.hDavid Woodhouse2006-04-251-6/+6
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Export only the appropriate GS_xxx flags to userspace from generic_serial.hDavid Woodhouse2006-04-251-2/+4
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Use __KERNEL__ to hide kernel-private bits of linux/gameport.hDavid Woodhouse2006-04-251-0/+6
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Don't include agp_backend.h in user-visible part of agpgart.hDavid Woodhouse2006-04-251-2/+1
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Include <linux/jiffies.h> from linux/acct.h only in kernel-private part.David Woodhouse2006-04-251-1/+1
|/ | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* [NETFILTER]: Fix compat_xt_counters alignment for non-x86Patrick McHardy2006-04-241-0/+4
| | | | | | | | | | | Some (?) non-x86 architectures require 8byte alignment for u_int64_t even when compiled for 32bit, using u_int32_t in compat_xt_counters breaks on these architectures, use u_int64_t for everything but x86. Reported by Andreas Schwab <schwab@suse.de>. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds2006-04-201-0/+7
|\ | | | | | | | | | | | | | | | | | | * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [EBTABLES]: Clean up vmalloc usage in net/bridge/netfilter/ebtables.c [NET]: Add skb->truesize assertion checking. [TCP]: Account skb overhead in tcp_fragment [SUNGEM]: Marvell PHY suspend. [LLC]: Use pskb_trim_rcsum() in llc_fixup_skb(). [NET]: sockfd_lookup_light() returns random error for -EBADFD
| * [NET]: Add skb->truesize assertion checking.David S. Miller2006-04-201-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some sanity checking. truesize should be at least sizeof(struct sk_buff) plus the current packet length. If not, then truesize is seriously mangled and deserves a kernel log message. Currently we'll do the check for release of stream socket buffers. But we can add checks to more spots over time. Incorporating ideas from Herbert Xu. Signed-off-by: David S. Miller <davem@davemloft.net>
* | [PATCH] memory_hotplug.h cleanupAdrian Bunk2006-04-201-3/+0
|/ | | | | | | | | | | We don't have to #if guard prototypes. This also fixes a bug observed by Randy Dunlap due to a misspelled option in the #if. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge git://git.linux-nfs.org/pub/linux/nfs-2.6Linus Torvalds2006-04-192-0/+13
|\ | | | | | | | | | | | | | | | | | | | | | | * git://git.linux-nfs.org/pub/linux/nfs-2.6: SUNRPC: Dead code in net/sunrpc/auth_gss/auth_gss.c NFS: remove needless check in nfs_opendir() NFS: nfs_show_stats; for_each_possible_cpu(), not NR_CPUS NFS: make 2 functions static NFS,SUNRPC: Fix compiler warnings if CONFIG_PROC_FS & CONFIG_SYSCTL are unset NFS: fix PROC_FS=n compile error VFS: Fix another open intent Oops RPCSEC_GSS: fix leak in krb5 code caused by superfluous kmalloc
| * NFS,SUNRPC: Fix compiler warnings if CONFIG_PROC_FS & CONFIG_SYSCTL are unsetTrond Myklebust2006-04-191-0/+1
| | | | | | | | Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>