summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* linux/blkpg.h needs <linux/compiler.h> for __userDavid Woodhouse2006-04-271-0/+1
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Exclude asm-generic/{page,memory_model}.h from user bits of i386/x86_64 page.hDavid Woodhouse2006-04-272-4/+4
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Add standard include guard to asm-generic/signal and use compiler.hDavid Woodhouse2006-04-271-0/+7
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include implementation details from asm-s390/ptrace.h and page.hDavid Woodhouse2006-04-272-5/+6
| | | | 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-26836-839/+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>
* Move comment in mtd-abi.h to stop confusing unifdefDavid Woodhouse2006-04-251-2/+3
| | | | | | | | | Currently, unifdef removes the comment which starts on the same line as the #ifdef __KERNEL__, but leaves the second line of the comment in place. Move the comment onto a separate line. 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>
* Remove user-visible references to PAGE_SIZE in include/asm-powerpc/elf.hDavid Woodhouse2006-04-251-4/+3
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Merge master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6-stableLinus Torvalds2006-04-241-1/+4
|\ | | | | | | | | * master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6-stable: [CIFS] Fix compile error when CONFIG_CIFS_EXPERIMENTAL is undefined
| * [CIFS] Fix compile error when CONFIG_CIFS_EXPERIMENTAL is undefinedSteve French2006-04-241-1/+4
| | | | | | | | | | Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
* | [NETFILTER]: ipt action: use xt_check_target for basic verificationPatrick McHardy2006-04-241-0/+5
| | | | | | | | | | | | | | | | The targets don't do the basic verification themselves anymore so the ipt action needs to take care of it. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* | [NETFILTER]: x_tables: move table->lock initializationDmitry Mishin2006-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | xt_table->lock should be initialized before xt_replace_table() call, which uses it. This patch removes strict requirement that table should define lock before registering. Signed-off-by: Dmitry Mishin <dim@openvz.org> Signed-off-by: Kirill Korotaev <dev@openvz.org> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* | [NETFILTER]: ip6_tables: remove broken comefrom debuggingPatrick McHardy2006-04-241-13/+0
| | | | | | | | | | | | | | | | The introduction of x_tables broke comefrom debugging, remove it from ip6_tables as well (ip_tables already got removed). Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* | [NETFILTER]: nf_conntrack: kill unused callback init_conntrackYasuyuki Kozakai2006-04-241-3/+0
| | | | | | | | | | | | Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* | [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>
* | [NETFILTER]: ULOG target is not obsoleteThomas Voegtle2006-04-241-1/+1
| | | | | | | | | | | | | | | | The backend part is obsoleted, but the target itself is still needed. Signed-off-by: Thomas Voegtle <tv@lio96.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* | [NETFILTER]: nf_conntrack: Fix module refcount dropping too farYasuyuki Kozakai2006-04-242-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If nf_ct_l3proto_find_get() fails to get the refcount of nf_ct_l3proto_generic, nf_ct_l3proto_put() will drop the refcount too far. This gets rid of '.me = THIS_MODULE' of nf_ct_l3proto_generic so that nf_ct_l3proto_find_get() doesn't try to get refcount of it. It's OK because its symbol is usable until nf_conntrack.ko is unloaded. This also kills unnecessary NULL pointer check as well. __nf_ct_proto_find() allways returns non-NULL pointer. Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* | [SPARC]: __NR_sys removalOGAWA Hirofumi2006-04-242-2/+2
|/ | | | | | | | __NR_sys_sync_file_range part was lost somewhere... [glibc is already checking __NR_sync_file_range] Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6Linus Torvalds2006-04-2326-465/+735
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6: [PARISC] MAINTAINERS [PARISC] Make ioremap default to _nocache [PARISC] Add new entries to the syscall table [PARISC] Further work for multiple page sizes [PARISC] Fix up hil_kbd.c mismerge [PARISC] defconfig updates [PARISC] Document that we tolerate "Relaxed Ordering" [PARISC] Misc. janitorial work [PARISC] EISA regions must be mapped NO_CACHE [PARISC] OSS ad1889: Match register names with ALSA driver
| * [PARISC] MAINTAINERSKyle McMartin2006-04-211-0/+4
| | | | | | | | | | | | | | Add myself to maintainers and add the parisc trees. Acked-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Make ioremap default to _nocacheKyle McMartin2006-04-211-12/+5
| | | | | | | | | | | | | | | | Since it is way more work to change most drivers to comply with parisc, take the easy way out and make ioremap _NO_CACHE by default. This is in line with what powerpc does. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Add new entries to the syscall tableKyle McMartin2006-04-213-2/+22
| | | | | | | | | | | | | | Most are easy, but sync_file_range needed special handling when entering through the 32-bit syscall table. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Further work for multiple page sizesHelge Deller2006-04-2111-102/+198
| | | | | | | | | | | | | | | | | | | | More work towards supporing multiple page sizes on 64-bit. Convert some assumptions that 64bit uses 3 level page tables into testing PT_NLEVELS. Also some BUG() to BUG_ON() conversions and some cleanups to assembler. Signed-off-by: Helge Deller <deller@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>