diff options
-rw-r--r-- | Documentation/cpusets.txt | 4 | ||||
-rw-r--r-- | Documentation/laptop-mode.txt | 6 | ||||
-rw-r--r-- | MAINTAINERS | 2 | ||||
-rw-r--r-- | arch/i386/boot/Makefile | 2 | ||||
-rw-r--r-- | drivers/net/gianfar_sysfs.c | 2 | ||||
-rw-r--r-- | fs/afs/cmservice.c | 2 | ||||
-rw-r--r-- | fs/attr.c | 1 | ||||
-rw-r--r-- | fs/binfmt_elf.c | 8 | ||||
-rw-r--r-- | fs/ext2/dir.c | 2 | ||||
-rw-r--r-- | fs/proc/vmcore.c | 1 | ||||
-rw-r--r-- | fs/xfs/xfs_iomap.c | 1 | ||||
-rw-r--r-- | include/asm-powerpc/elf.h | 1 | ||||
-rw-r--r-- | mm/swapfile.c | 2 | ||||
-rw-r--r-- | net/core/wireless.c | 1 | ||||
-rw-r--r-- | net/decnet/netfilter/dn_rtmsg.c | 2 | ||||
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_proto_icmp.c | 1 | ||||
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_proto_tcp.c | 1 | ||||
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_proto_udp.c | 1 | ||||
-rw-r--r-- | net/ipv6/Makefile | 3 | ||||
-rw-r--r-- | net/ipv6/netfilter.c | 5 |
20 files changed, 22 insertions, 26 deletions
diff --git a/Documentation/cpusets.txt b/Documentation/cpusets.txt index 9e49b1c35729..990998ee10b6 100644 --- a/Documentation/cpusets.txt +++ b/Documentation/cpusets.txt | |||
@@ -135,7 +135,7 @@ Cpusets extends these two mechanisms as follows: | |||
135 | The implementation of cpusets requires a few, simple hooks | 135 | The implementation of cpusets requires a few, simple hooks |
136 | into the rest of the kernel, none in performance critical paths: | 136 | into the rest of the kernel, none in performance critical paths: |
137 | 137 | ||
138 | - in main/init.c, to initialize the root cpuset at system boot. | 138 | - in init/main.c, to initialize the root cpuset at system boot. |
139 | - in fork and exit, to attach and detach a task from its cpuset. | 139 | - in fork and exit, to attach and detach a task from its cpuset. |
140 | - in sched_setaffinity, to mask the requested CPUs by what's | 140 | - in sched_setaffinity, to mask the requested CPUs by what's |
141 | allowed in that tasks cpuset. | 141 | allowed in that tasks cpuset. |
@@ -146,7 +146,7 @@ into the rest of the kernel, none in performance critical paths: | |||
146 | and related changes in both sched.c and arch/ia64/kernel/domain.c | 146 | and related changes in both sched.c and arch/ia64/kernel/domain.c |
147 | - in the mbind and set_mempolicy system calls, to mask the requested | 147 | - in the mbind and set_mempolicy system calls, to mask the requested |
148 | Memory Nodes by what's allowed in that tasks cpuset. | 148 | Memory Nodes by what's allowed in that tasks cpuset. |
149 | - in page_alloc, to restrict memory to allowed nodes. | 149 | - in page_alloc.c, to restrict memory to allowed nodes. |
150 | - in vmscan.c, to restrict page recovery to the current cpuset. | 150 | - in vmscan.c, to restrict page recovery to the current cpuset. |
151 | 151 | ||
152 | In addition a new file system, of type "cpuset" may be mounted, | 152 | In addition a new file system, of type "cpuset" may be mounted, |
diff --git a/Documentation/laptop-mode.txt b/Documentation/laptop-mode.txt index dc4e810afdcd..f42e4c089356 100644 --- a/Documentation/laptop-mode.txt +++ b/Documentation/laptop-mode.txt | |||
@@ -3,7 +3,7 @@ How to conserve battery power using laptop-mode | |||
3 | 3 | ||
4 | Document Author: Bart Samwel (bart@samwel.tk) | 4 | Document Author: Bart Samwel (bart@samwel.tk) |
5 | Date created: January 2, 2004 | 5 | Date created: January 2, 2004 |
6 | Last modified: July 10, 2004 | 6 | Last modified: December 06, 2004 |
7 | 7 | ||
8 | Introduction | 8 | Introduction |
9 | ------------ | 9 | ------------ |
@@ -33,7 +33,7 @@ or anything. Simply install all the files included in this document, and | |||
33 | laptop mode will automatically be started when you're on battery. For | 33 | laptop mode will automatically be started when you're on battery. For |
34 | your convenience, a tarball containing an installer can be downloaded at: | 34 | your convenience, a tarball containing an installer can be downloaded at: |
35 | 35 | ||
36 | http://www.xs4all.nl/~bsamwel/laptop_mode/tools | 36 | http://www.xs4all.nl/~bsamwel/laptop_mode/tools/ |
37 | 37 | ||
38 | To configure laptop mode, you need to edit the configuration file, which is | 38 | To configure laptop mode, you need to edit the configuration file, which is |
39 | located in /etc/default/laptop-mode on Debian-based systems, or in | 39 | located in /etc/default/laptop-mode on Debian-based systems, or in |
@@ -912,7 +912,7 @@ void usage() | |||
912 | exit(0); | 912 | exit(0); |
913 | } | 913 | } |
914 | 914 | ||
915 | int main(int ac, char **av) | 915 | int main(int argc, char **argv) |
916 | { | 916 | { |
917 | int fd; | 917 | int fd; |
918 | char *disk = 0; | 918 | char *disk = 0; |
diff --git a/MAINTAINERS b/MAINTAINERS index 090e10b65b09..b6416a293ec9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -2487,7 +2487,7 @@ P: Paul Mundt | |||
2487 | M: lethal@linux-sh.org | 2487 | M: lethal@linux-sh.org |
2488 | P: Kazumoto Kojima | 2488 | P: Kazumoto Kojima |
2489 | M: kkojima@rr.iij4u.or.jp | 2489 | M: kkojima@rr.iij4u.or.jp |
2490 | L: linux-sh@m17n.org | 2490 | L: linuxsh-dev@lists.sourceforge.net |
2491 | W: http://www.linux-sh.org | 2491 | W: http://www.linux-sh.org |
2492 | W: http://www.m17n.org/linux-sh/ | 2492 | W: http://www.m17n.org/linux-sh/ |
2493 | W: http://www.rr.iij4u.or.jp/~kkojima/linux-sh4.html | 2493 | W: http://www.rr.iij4u.or.jp/~kkojima/linux-sh4.html |
diff --git a/arch/i386/boot/Makefile b/arch/i386/boot/Makefile index 0fea75dd4e31..f136752563b1 100644 --- a/arch/i386/boot/Makefile +++ b/arch/i386/boot/Makefile | |||
@@ -101,4 +101,4 @@ zlilo: $(BOOTIMAGE) | |||
101 | if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi | 101 | if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi |
102 | 102 | ||
103 | install: | 103 | install: |
104 | sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $< System.map "$(INSTALL_PATH)" | 104 | sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(BOOTIMAGE) System.map "$(INSTALL_PATH)" |
diff --git a/drivers/net/gianfar_sysfs.c b/drivers/net/gianfar_sysfs.c index 10d34cb19192..51ef181b1368 100644 --- a/drivers/net/gianfar_sysfs.c +++ b/drivers/net/gianfar_sysfs.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Based on 8260_io/fcc_enet.c | 7 | * Based on 8260_io/fcc_enet.c |
8 | * | 8 | * |
9 | * Author: Andy Fleming | 9 | * Author: Andy Fleming |
10 | * Maintainer: Kumar Gala (kumar.gala@freescale.com) | 10 | * Maintainer: Kumar Gala (galak@kernel.crashing.org) |
11 | * | 11 | * |
12 | * Copyright (c) 2002-2005 Freescale Semiconductor, Inc. | 12 | * Copyright (c) 2002-2005 Freescale Semiconductor, Inc. |
13 | * | 13 | * |
diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c index 0a57fd7c726f..9eef6bf156ab 100644 --- a/fs/afs/cmservice.c +++ b/fs/afs/cmservice.c | |||
@@ -118,7 +118,7 @@ static int kafscmd(void *arg) | |||
118 | _SRXAFSCM_xxxx_t func; | 118 | _SRXAFSCM_xxxx_t func; |
119 | int die; | 119 | int die; |
120 | 120 | ||
121 | printk("kAFS: Started kafscmd %d\n", current->pid); | 121 | printk(KERN_INFO "kAFS: Started kafscmd %d\n", current->pid); |
122 | 122 | ||
123 | daemonize("kafscmd"); | 123 | daemonize("kafscmd"); |
124 | 124 | ||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/fcntl.h> | 14 | #include <linux/fcntl.h> |
15 | #include <linux/quotaops.h> | 15 | #include <linux/quotaops.h> |
16 | #include <linux/security.h> | 16 | #include <linux/security.h> |
17 | #include <linux/time.h> | ||
18 | 17 | ||
19 | /* Taken over from the old code... */ | 18 | /* Taken over from the old code... */ |
20 | 19 | ||
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index a4f6f57d91aa..f979ebbce49c 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -1634,17 +1634,17 @@ static int elf_core_dump(long signr, struct pt_regs * regs, struct file * file) | |||
1634 | ELF_CORE_WRITE_EXTRA_DATA; | 1634 | ELF_CORE_WRITE_EXTRA_DATA; |
1635 | #endif | 1635 | #endif |
1636 | 1636 | ||
1637 | if ((off_t) file->f_pos != offset) { | 1637 | if ((off_t)file->f_pos != offset) { |
1638 | /* Sanity check */ | 1638 | /* Sanity check */ |
1639 | printk("elf_core_dump: file->f_pos (%ld) != offset (%ld)\n", | 1639 | printk(KERN_WARNING "elf_core_dump: file->f_pos (%ld) != offset (%ld)\n", |
1640 | (off_t) file->f_pos, offset); | 1640 | (off_t)file->f_pos, offset); |
1641 | } | 1641 | } |
1642 | 1642 | ||
1643 | end_coredump: | 1643 | end_coredump: |
1644 | set_fs(fs); | 1644 | set_fs(fs); |
1645 | 1645 | ||
1646 | cleanup: | 1646 | cleanup: |
1647 | while(!list_empty(&thread_list)) { | 1647 | while (!list_empty(&thread_list)) { |
1648 | struct list_head *tmp = thread_list.next; | 1648 | struct list_head *tmp = thread_list.next; |
1649 | list_del(tmp); | 1649 | list_del(tmp); |
1650 | kfree(list_entry(tmp, struct elf_thread_status, list)); | 1650 | kfree(list_entry(tmp, struct elf_thread_status, list)); |
diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c index 5b5f52876b42..7442bdd1267a 100644 --- a/fs/ext2/dir.c +++ b/fs/ext2/dir.c | |||
@@ -592,7 +592,7 @@ int ext2_make_empty(struct inode *inode, struct inode *parent) | |||
592 | goto fail; | 592 | goto fail; |
593 | } | 593 | } |
594 | kaddr = kmap_atomic(page, KM_USER0); | 594 | kaddr = kmap_atomic(page, KM_USER0); |
595 | memset(kaddr, 0, chunk_size); | 595 | memset(kaddr, 0, chunk_size); |
596 | de = (struct ext2_dir_entry_2 *)kaddr; | 596 | de = (struct ext2_dir_entry_2 *)kaddr; |
597 | de->name_len = 1; | 597 | de->name_len = 1; |
598 | de->rec_len = cpu_to_le16(EXT2_DIR_REC_LEN(1)); | 598 | de->rec_len = cpu_to_le16(EXT2_DIR_REC_LEN(1)); |
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index 5378d7c78419..124e35442ac8 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/a.out.h> | 14 | #include <linux/a.out.h> |
15 | #include <linux/elf.h> | 15 | #include <linux/elf.h> |
16 | #include <linux/elfcore.h> | 16 | #include <linux/elfcore.h> |
17 | #include <linux/proc_fs.h> | ||
18 | #include <linux/highmem.h> | 17 | #include <linux/highmem.h> |
19 | #include <linux/bootmem.h> | 18 | #include <linux/bootmem.h> |
20 | #include <linux/init.h> | 19 | #include <linux/init.h> |
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 45a77a3a6c07..ca7afc83a893 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include "xfs_ialloc.h" | 40 | #include "xfs_ialloc.h" |
41 | #include "xfs_btree.h" | 41 | #include "xfs_btree.h" |
42 | #include "xfs_bmap.h" | 42 | #include "xfs_bmap.h" |
43 | #include "xfs_bit.h" | ||
44 | #include "xfs_rtalloc.h" | 43 | #include "xfs_rtalloc.h" |
45 | #include "xfs_error.h" | 44 | #include "xfs_error.h" |
46 | #include "xfs_itable.h" | 45 | #include "xfs_itable.h" |
diff --git a/include/asm-powerpc/elf.h b/include/asm-powerpc/elf.h index c5a635d9bba4..45f2af6f89c4 100644 --- a/include/asm-powerpc/elf.h +++ b/include/asm-powerpc/elf.h | |||
@@ -92,7 +92,6 @@ | |||
92 | * as published by the Free Software Foundation; either version | 92 | * as published by the Free Software Foundation; either version |
93 | * 2 of the License, or (at your option) any later version. | 93 | * 2 of the License, or (at your option) any later version. |
94 | */ | 94 | */ |
95 | #include <asm/ptrace.h> | ||
96 | 95 | ||
97 | #define ELF_NGREG 48 /* includes nip, msr, lr, etc. */ | 96 | #define ELF_NGREG 48 /* includes nip, msr, lr, etc. */ |
98 | #define ELF_NFPREG 33 /* includes fpscr */ | 97 | #define ELF_NFPREG 33 /* includes fpscr */ |
diff --git a/mm/swapfile.c b/mm/swapfile.c index 6544565a7c0f..d8a5afc8b2a3 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c | |||
@@ -1442,7 +1442,7 @@ asmlinkage long sys_swapon(const char __user * specialfile, int swap_flags) | |||
1442 | else if (!memcmp("SWAPSPACE2",swap_header->magic.magic,10)) | 1442 | else if (!memcmp("SWAPSPACE2",swap_header->magic.magic,10)) |
1443 | swap_header_version = 2; | 1443 | swap_header_version = 2; |
1444 | else { | 1444 | else { |
1445 | printk("Unable to find swap-space signature\n"); | 1445 | printk(KERN_ERR "Unable to find swap-space signature\n"); |
1446 | error = -EINVAL; | 1446 | error = -EINVAL; |
1447 | goto bad_swap; | 1447 | goto bad_swap; |
1448 | } | 1448 | } |
diff --git a/net/core/wireless.c b/net/core/wireless.c index f88b0affb3b9..2add7ed609e9 100644 --- a/net/core/wireless.c +++ b/net/core/wireless.c | |||
@@ -78,6 +78,7 @@ | |||
78 | #include <linux/seq_file.h> | 78 | #include <linux/seq_file.h> |
79 | #include <linux/init.h> /* for __init */ | 79 | #include <linux/init.h> /* for __init */ |
80 | #include <linux/if_arp.h> /* ARPHRD_ETHER */ | 80 | #include <linux/if_arp.h> /* ARPHRD_ETHER */ |
81 | #include <linux/etherdevice.h> /* compare_ether_addr */ | ||
81 | 82 | ||
82 | #include <linux/wireless.h> /* Pretty obvious */ | 83 | #include <linux/wireless.h> /* Pretty obvious */ |
83 | #include <net/iw_handler.h> /* New driver API */ | 84 | #include <net/iw_handler.h> /* New driver API */ |
diff --git a/net/decnet/netfilter/dn_rtmsg.c b/net/decnet/netfilter/dn_rtmsg.c index 1ab94c6e22ed..16a5a31e2126 100644 --- a/net/decnet/netfilter/dn_rtmsg.c +++ b/net/decnet/netfilter/dn_rtmsg.c | |||
@@ -26,8 +26,6 @@ | |||
26 | #include <net/dn.h> | 26 | #include <net/dn.h> |
27 | #include <net/dn_route.h> | 27 | #include <net/dn_route.h> |
28 | 28 | ||
29 | #include <linux/netfilter_decnet.h> | ||
30 | |||
31 | static struct sock *dnrmg = NULL; | 29 | static struct sock *dnrmg = NULL; |
32 | 30 | ||
33 | 31 | ||
diff --git a/net/ipv4/netfilter/ip_conntrack_proto_icmp.c b/net/ipv4/netfilter/ip_conntrack_proto_icmp.c index f2a90e2743d7..3021af0910f1 100644 --- a/net/ipv4/netfilter/ip_conntrack_proto_icmp.c +++ b/net/ipv4/netfilter/ip_conntrack_proto_icmp.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/skbuff.h> | 16 | #include <linux/skbuff.h> |
17 | #include <net/ip.h> | 17 | #include <net/ip.h> |
18 | #include <net/checksum.h> | 18 | #include <net/checksum.h> |
19 | #include <linux/netfilter.h> | ||
20 | #include <linux/netfilter_ipv4.h> | 19 | #include <linux/netfilter_ipv4.h> |
21 | #include <linux/netfilter_ipv4/ip_conntrack.h> | 20 | #include <linux/netfilter_ipv4/ip_conntrack.h> |
22 | #include <linux/netfilter_ipv4/ip_conntrack_core.h> | 21 | #include <linux/netfilter_ipv4/ip_conntrack_core.h> |
diff --git a/net/ipv4/netfilter/ip_conntrack_proto_tcp.c b/net/ipv4/netfilter/ip_conntrack_proto_tcp.c index ea2b39c18050..e0dc37063545 100644 --- a/net/ipv4/netfilter/ip_conntrack_proto_tcp.c +++ b/net/ipv4/netfilter/ip_conntrack_proto_tcp.c | |||
@@ -32,7 +32,6 @@ | |||
32 | 32 | ||
33 | #include <net/tcp.h> | 33 | #include <net/tcp.h> |
34 | 34 | ||
35 | #include <linux/netfilter.h> | ||
36 | #include <linux/netfilter_ipv4.h> | 35 | #include <linux/netfilter_ipv4.h> |
37 | #include <linux/netfilter_ipv4/ip_conntrack.h> | 36 | #include <linux/netfilter_ipv4/ip_conntrack.h> |
38 | #include <linux/netfilter_ipv4/ip_conntrack_protocol.h> | 37 | #include <linux/netfilter_ipv4/ip_conntrack_protocol.h> |
diff --git a/net/ipv4/netfilter/ip_conntrack_proto_udp.c b/net/ipv4/netfilter/ip_conntrack_proto_udp.c index 004003fd6117..55b7d3210adf 100644 --- a/net/ipv4/netfilter/ip_conntrack_proto_udp.c +++ b/net/ipv4/netfilter/ip_conntrack_proto_udp.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/udp.h> | 15 | #include <linux/udp.h> |
16 | #include <linux/seq_file.h> | 16 | #include <linux/seq_file.h> |
17 | #include <net/checksum.h> | 17 | #include <net/checksum.h> |
18 | #include <linux/netfilter.h> | ||
19 | #include <linux/netfilter_ipv4.h> | 18 | #include <linux/netfilter_ipv4.h> |
20 | #include <linux/netfilter_ipv4/ip_conntrack_protocol.h> | 19 | #include <linux/netfilter_ipv4/ip_conntrack_protocol.h> |
21 | 20 | ||
diff --git a/net/ipv6/Makefile b/net/ipv6/Makefile index bf18cff13120..41877abd22e6 100644 --- a/net/ipv6/Makefile +++ b/net/ipv6/Makefile | |||
@@ -12,13 +12,14 @@ ipv6-objs := af_inet6.o anycast.o ip6_output.o ip6_input.o addrconf.o sit.o \ | |||
12 | 12 | ||
13 | ipv6-$(CONFIG_XFRM) += xfrm6_policy.o xfrm6_state.o xfrm6_input.o \ | 13 | ipv6-$(CONFIG_XFRM) += xfrm6_policy.o xfrm6_state.o xfrm6_input.o \ |
14 | xfrm6_output.o | 14 | xfrm6_output.o |
15 | ipv6-$(CONFIG_NETFILTER) += netfilter.o | ||
15 | ipv6-objs += $(ipv6-y) | 16 | ipv6-objs += $(ipv6-y) |
16 | 17 | ||
17 | obj-$(CONFIG_INET6_AH) += ah6.o | 18 | obj-$(CONFIG_INET6_AH) += ah6.o |
18 | obj-$(CONFIG_INET6_ESP) += esp6.o | 19 | obj-$(CONFIG_INET6_ESP) += esp6.o |
19 | obj-$(CONFIG_INET6_IPCOMP) += ipcomp6.o | 20 | obj-$(CONFIG_INET6_IPCOMP) += ipcomp6.o |
20 | obj-$(CONFIG_INET6_TUNNEL) += xfrm6_tunnel.o | 21 | obj-$(CONFIG_INET6_TUNNEL) += xfrm6_tunnel.o |
21 | obj-$(CONFIG_NETFILTER) += netfilter.o netfilter/ | 22 | obj-$(CONFIG_NETFILTER) += netfilter/ |
22 | 23 | ||
23 | obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o | 24 | obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o |
24 | 25 | ||
diff --git a/net/ipv6/netfilter.c b/net/ipv6/netfilter.c index 1ab62f033664..d750cfc019dc 100644 --- a/net/ipv6/netfilter.c +++ b/net/ipv6/netfilter.c | |||
@@ -90,7 +90,10 @@ int __init ipv6_netfilter_init(void) | |||
90 | return nf_register_queue_rerouter(PF_INET6, &ip6_reroute); | 90 | return nf_register_queue_rerouter(PF_INET6, &ip6_reroute); |
91 | } | 91 | } |
92 | 92 | ||
93 | void __exit ipv6_netfilter_fini(void) | 93 | /* This can be called from inet6_init() on errors, so it cannot |
94 | * be marked __exit. -DaveM | ||
95 | */ | ||
96 | void ipv6_netfilter_fini(void) | ||
94 | { | 97 | { |
95 | nf_unregister_queue_rerouter(PF_INET6); | 98 | nf_unregister_queue_rerouter(PF_INET6); |
96 | } | 99 | } |