diff options
Diffstat (limited to 'arch')
34 files changed, 86 insertions, 46 deletions
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index c5739d6309df..083c5df42d35 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig | |||
@@ -596,6 +596,8 @@ source "fs/Kconfig.binfmt" | |||
596 | 596 | ||
597 | endmenu | 597 | endmenu |
598 | 598 | ||
599 | source "net/Kconfig" | ||
600 | |||
599 | source "drivers/Kconfig" | 601 | source "drivers/Kconfig" |
600 | 602 | ||
601 | source "fs/Kconfig" | 603 | source "fs/Kconfig" |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0fb8a04c3115..7bc4a583f4e1 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -700,6 +700,8 @@ config APM | |||
700 | 700 | ||
701 | endmenu | 701 | endmenu |
702 | 702 | ||
703 | source "net/Kconfig" | ||
704 | |||
703 | menu "Device Drivers" | 705 | menu "Device Drivers" |
704 | 706 | ||
705 | source "drivers/base/Kconfig" | 707 | source "drivers/base/Kconfig" |
@@ -732,7 +734,7 @@ source "drivers/ieee1394/Kconfig" | |||
732 | 734 | ||
733 | source "drivers/message/i2o/Kconfig" | 735 | source "drivers/message/i2o/Kconfig" |
734 | 736 | ||
735 | source "net/Kconfig" | 737 | source "drivers/net/Kconfig" |
736 | 738 | ||
737 | source "drivers/isdn/Kconfig" | 739 | source "drivers/isdn/Kconfig" |
738 | 740 | ||
diff --git a/arch/arm26/Kconfig b/arch/arm26/Kconfig index dc0c1936969b..1f0373267306 100644 --- a/arch/arm26/Kconfig +++ b/arch/arm26/Kconfig | |||
@@ -183,6 +183,8 @@ source "mm/Kconfig" | |||
183 | 183 | ||
184 | endmenu | 184 | endmenu |
185 | 185 | ||
186 | source "net/Kconfig" | ||
187 | |||
186 | source "drivers/base/Kconfig" | 188 | source "drivers/base/Kconfig" |
187 | 189 | ||
188 | source "drivers/parport/Kconfig" | 190 | source "drivers/parport/Kconfig" |
@@ -193,7 +195,7 @@ source "drivers/block/Kconfig" | |||
193 | 195 | ||
194 | source "drivers/md/Kconfig" | 196 | source "drivers/md/Kconfig" |
195 | 197 | ||
196 | source "net/Kconfig" | 198 | source "drivers/net/Kconfig" |
197 | 199 | ||
198 | source "drivers/ide/Kconfig" | 200 | source "drivers/ide/Kconfig" |
199 | 201 | ||
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig index f848e3761491..e5979d68e352 100644 --- a/arch/cris/Kconfig +++ b/arch/cris/Kconfig | |||
@@ -122,6 +122,8 @@ source arch/cris/arch-v10/Kconfig | |||
122 | 122 | ||
123 | endmenu | 123 | endmenu |
124 | 124 | ||
125 | source "net/Kconfig" | ||
126 | |||
125 | # bring in ETRAX built-in drivers | 127 | # bring in ETRAX built-in drivers |
126 | menu "Drivers for built-in interfaces" | 128 | menu "Drivers for built-in interfaces" |
127 | source arch/cris/arch-v10/drivers/Kconfig | 129 | source arch/cris/arch-v10/drivers/Kconfig |
@@ -149,7 +151,7 @@ source "drivers/ieee1394/Kconfig" | |||
149 | 151 | ||
150 | source "drivers/message/i2o/Kconfig" | 152 | source "drivers/message/i2o/Kconfig" |
151 | 153 | ||
152 | source "net/Kconfig" | 154 | source "drivers/net/Kconfig" |
153 | 155 | ||
154 | source "drivers/isdn/Kconfig" | 156 | source "drivers/isdn/Kconfig" |
155 | 157 | ||
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig index c93f95146cc2..ec85c0d6c6da 100644 --- a/arch/frv/Kconfig +++ b/arch/frv/Kconfig | |||
@@ -346,6 +346,8 @@ source "fs/Kconfig.binfmt" | |||
346 | 346 | ||
347 | endmenu | 347 | endmenu |
348 | 348 | ||
349 | source "net/Kconfig" | ||
350 | |||
349 | source "drivers/Kconfig" | 351 | source "drivers/Kconfig" |
350 | 352 | ||
351 | source "fs/Kconfig" | 353 | source "fs/Kconfig" |
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig index 917286087c54..26698a49f153 100644 --- a/arch/h8300/Kconfig +++ b/arch/h8300/Kconfig | |||
@@ -55,6 +55,8 @@ source "fs/Kconfig.binfmt" | |||
55 | 55 | ||
56 | endmenu | 56 | endmenu |
57 | 57 | ||
58 | source "net/Kconfig" | ||
59 | |||
58 | source "drivers/base/Kconfig" | 60 | source "drivers/base/Kconfig" |
59 | 61 | ||
60 | source "drivers/mtd/Kconfig" | 62 | source "drivers/mtd/Kconfig" |
@@ -65,7 +67,7 @@ source "drivers/ide/Kconfig" | |||
65 | 67 | ||
66 | source "arch/h8300/Kconfig.ide" | 68 | source "arch/h8300/Kconfig.ide" |
67 | 69 | ||
68 | source "net/Kconfig" | 70 | source "drivers/net/Kconfig" |
69 | 71 | ||
70 | # | 72 | # |
71 | # input - input/joystick depends on it. As does USB. | 73 | # input - input/joystick depends on it. As does USB. |
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index 6c02336fe2e4..a801d9d48606 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -1285,6 +1285,8 @@ source "fs/Kconfig.binfmt" | |||
1285 | 1285 | ||
1286 | endmenu | 1286 | endmenu |
1287 | 1287 | ||
1288 | source "net/Kconfig" | ||
1289 | |||
1288 | source "drivers/Kconfig" | 1290 | source "drivers/Kconfig" |
1289 | 1291 | ||
1290 | source "fs/Kconfig" | 1292 | source "fs/Kconfig" |
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 01b78e7f992e..2e08942339ad 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -423,6 +423,8 @@ endmenu | |||
423 | 423 | ||
424 | endif | 424 | endif |
425 | 425 | ||
426 | source "net/Kconfig" | ||
427 | |||
426 | source "drivers/Kconfig" | 428 | source "drivers/Kconfig" |
427 | 429 | ||
428 | source "fs/Kconfig" | 430 | source "fs/Kconfig" |
diff --git a/arch/ia64/hp/sim/simeth.c b/arch/ia64/hp/sim/simeth.c index ae84a1018a89..0639ec0ed015 100644 --- a/arch/ia64/hp/sim/simeth.c +++ b/arch/ia64/hp/sim/simeth.c | |||
@@ -191,7 +191,7 @@ simeth_probe1(void) | |||
191 | unsigned char mac_addr[ETH_ALEN]; | 191 | unsigned char mac_addr[ETH_ALEN]; |
192 | struct simeth_local *local; | 192 | struct simeth_local *local; |
193 | struct net_device *dev; | 193 | struct net_device *dev; |
194 | int fd, i, err; | 194 | int fd, i, err, rc; |
195 | 195 | ||
196 | /* | 196 | /* |
197 | * XXX Fix me | 197 | * XXX Fix me |
@@ -228,7 +228,9 @@ simeth_probe1(void) | |||
228 | return err; | 228 | return err; |
229 | } | 229 | } |
230 | 230 | ||
231 | dev->irq = assign_irq_vector(AUTO_ASSIGN); | 231 | if ((rc = assign_irq_vector(AUTO_ASSIGN)) < 0) |
232 | panic("%s: out of interrupt vectors!\n", __FUNCTION__); | ||
233 | dev->irq = rc; | ||
232 | 234 | ||
233 | /* | 235 | /* |
234 | * attach the interrupt in the simulator, this does enable interrupts | 236 | * attach the interrupt in the simulator, this does enable interrupts |
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c index 7a8ae0f4b387..7dcb8582ae0d 100644 --- a/arch/ia64/hp/sim/simserial.c +++ b/arch/ia64/hp/sim/simserial.c | |||
@@ -982,7 +982,7 @@ static struct tty_operations hp_ops = { | |||
982 | static int __init | 982 | static int __init |
983 | simrs_init (void) | 983 | simrs_init (void) |
984 | { | 984 | { |
985 | int i; | 985 | int i, rc; |
986 | struct serial_state *state; | 986 | struct serial_state *state; |
987 | 987 | ||
988 | if (!ia64_platform_is("hpsim")) | 988 | if (!ia64_platform_is("hpsim")) |
@@ -1017,7 +1017,10 @@ simrs_init (void) | |||
1017 | if (state->type == PORT_UNKNOWN) continue; | 1017 | if (state->type == PORT_UNKNOWN) continue; |
1018 | 1018 | ||
1019 | if (!state->irq) { | 1019 | if (!state->irq) { |
1020 | state->irq = assign_irq_vector(AUTO_ASSIGN); | 1020 | if ((rc = assign_irq_vector(AUTO_ASSIGN)) < 0) |
1021 | panic("%s: out of interrupt vectors!\n", | ||
1022 | __FUNCTION__); | ||
1023 | state->irq = rc; | ||
1021 | ia64_ssc_connect_irq(KEYBOARD_INTR, state->irq); | 1024 | ia64_ssc_connect_irq(KEYBOARD_INTR, state->irq); |
1022 | } | 1025 | } |
1023 | 1026 | ||
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S index 69f88d561d62..bb9a506deb78 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S | |||
@@ -1249,7 +1249,7 @@ ENTRY(sys_rt_sigreturn) | |||
1249 | stf.spill [r17]=f11 | 1249 | stf.spill [r17]=f11 |
1250 | adds out0=16,sp // out0 = &sigscratch | 1250 | adds out0=16,sp // out0 = &sigscratch |
1251 | br.call.sptk.many rp=ia64_rt_sigreturn | 1251 | br.call.sptk.many rp=ia64_rt_sigreturn |
1252 | .ret19: .restore sp 0 | 1252 | .ret19: .restore sp,0 |
1253 | adds sp=16,sp | 1253 | adds sp=16,sp |
1254 | ;; | 1254 | ;; |
1255 | ld8 r9=[sp] // load new ar.unat | 1255 | ld8 r9=[sp] // load new ar.unat |
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c index c170be095ccd..7936b62f7a2e 100644 --- a/arch/ia64/kernel/iosapic.c +++ b/arch/ia64/kernel/iosapic.c | |||
@@ -489,8 +489,6 @@ static int iosapic_find_sharable_vector (unsigned long trigger, unsigned long po | |||
489 | } | 489 | } |
490 | } | 490 | } |
491 | } | 491 | } |
492 | if (vector < 0) | ||
493 | panic("%s: out of interrupt vectors!\n", __FUNCTION__); | ||
494 | 492 | ||
495 | return vector; | 493 | return vector; |
496 | } | 494 | } |
@@ -506,6 +504,8 @@ iosapic_reassign_vector (int vector) | |||
506 | 504 | ||
507 | if (!list_empty(&iosapic_intr_info[vector].rtes)) { | 505 | if (!list_empty(&iosapic_intr_info[vector].rtes)) { |
508 | new_vector = assign_irq_vector(AUTO_ASSIGN); | 506 | new_vector = assign_irq_vector(AUTO_ASSIGN); |
507 | if (new_vector < 0) | ||
508 | panic("%s: out of interrupt vectors!\n", __FUNCTION__); | ||
509 | printk(KERN_INFO "Reassigning vector %d to %d\n", vector, new_vector); | 509 | printk(KERN_INFO "Reassigning vector %d to %d\n", vector, new_vector); |
510 | memcpy(&iosapic_intr_info[new_vector], &iosapic_intr_info[vector], | 510 | memcpy(&iosapic_intr_info[new_vector], &iosapic_intr_info[vector], |
511 | sizeof(struct iosapic_intr_info)); | 511 | sizeof(struct iosapic_intr_info)); |
@@ -734,9 +734,12 @@ again: | |||
734 | spin_unlock_irqrestore(&iosapic_lock, flags); | 734 | spin_unlock_irqrestore(&iosapic_lock, flags); |
735 | 735 | ||
736 | /* If vector is running out, we try to find a sharable vector */ | 736 | /* If vector is running out, we try to find a sharable vector */ |
737 | vector = assign_irq_vector_nopanic(AUTO_ASSIGN); | 737 | vector = assign_irq_vector(AUTO_ASSIGN); |
738 | if (vector < 0) | 738 | if (vector < 0) { |
739 | vector = iosapic_find_sharable_vector(trigger, polarity); | 739 | vector = iosapic_find_sharable_vector(trigger, polarity); |
740 | if (vector < 0) | ||
741 | panic("%s: out of interrupt vectors!\n", __FUNCTION__); | ||
742 | } | ||
740 | 743 | ||
741 | spin_lock_irqsave(&irq_descp(vector)->lock, flags); | 744 | spin_lock_irqsave(&irq_descp(vector)->lock, flags); |
742 | spin_lock(&iosapic_lock); | 745 | spin_lock(&iosapic_lock); |
@@ -884,6 +887,8 @@ iosapic_register_platform_intr (u32 int_type, unsigned int gsi, | |||
884 | break; | 887 | break; |
885 | case ACPI_INTERRUPT_INIT: | 888 | case ACPI_INTERRUPT_INIT: |
886 | vector = assign_irq_vector(AUTO_ASSIGN); | 889 | vector = assign_irq_vector(AUTO_ASSIGN); |
890 | if (vector < 0) | ||
891 | panic("%s: out of interrupt vectors!\n", __FUNCTION__); | ||
887 | delivery = IOSAPIC_INIT; | 892 | delivery = IOSAPIC_INIT; |
888 | break; | 893 | break; |
889 | case ACPI_INTERRUPT_CPEI: | 894 | case ACPI_INTERRUPT_CPEI: |
diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c index 4fe60c7a2e90..6c4d59fd0364 100644 --- a/arch/ia64/kernel/irq_ia64.c +++ b/arch/ia64/kernel/irq_ia64.c | |||
@@ -63,30 +63,19 @@ EXPORT_SYMBOL(isa_irq_to_vector_map); | |||
63 | static unsigned long ia64_vector_mask[BITS_TO_LONGS(IA64_NUM_DEVICE_VECTORS)]; | 63 | static unsigned long ia64_vector_mask[BITS_TO_LONGS(IA64_NUM_DEVICE_VECTORS)]; |
64 | 64 | ||
65 | int | 65 | int |
66 | assign_irq_vector_nopanic (int irq) | 66 | assign_irq_vector (int irq) |
67 | { | 67 | { |
68 | int pos, vector; | 68 | int pos, vector; |
69 | again: | 69 | again: |
70 | pos = find_first_zero_bit(ia64_vector_mask, IA64_NUM_DEVICE_VECTORS); | 70 | pos = find_first_zero_bit(ia64_vector_mask, IA64_NUM_DEVICE_VECTORS); |
71 | vector = IA64_FIRST_DEVICE_VECTOR + pos; | 71 | vector = IA64_FIRST_DEVICE_VECTOR + pos; |
72 | if (vector > IA64_LAST_DEVICE_VECTOR) | 72 | if (vector > IA64_LAST_DEVICE_VECTOR) |
73 | return -1; | 73 | return -ENOSPC; |
74 | if (test_and_set_bit(pos, ia64_vector_mask)) | 74 | if (test_and_set_bit(pos, ia64_vector_mask)) |
75 | goto again; | 75 | goto again; |
76 | return vector; | 76 | return vector; |
77 | } | 77 | } |
78 | 78 | ||
79 | int | ||
80 | assign_irq_vector (int irq) | ||
81 | { | ||
82 | int vector = assign_irq_vector_nopanic(irq); | ||
83 | |||
84 | if (vector < 0) | ||
85 | panic("assign_irq_vector: out of interrupt vectors!"); | ||
86 | |||
87 | return vector; | ||
88 | } | ||
89 | |||
90 | void | 79 | void |
91 | free_irq_vector (int vector) | 80 | free_irq_vector (int vector) |
92 | { | 81 | { |
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index 6407bff6bfd7..b8ebb8e427ef 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #include <linux/vfs.h> | 37 | #include <linux/vfs.h> |
38 | #include <linux/pagemap.h> | 38 | #include <linux/pagemap.h> |
39 | #include <linux/mount.h> | 39 | #include <linux/mount.h> |
40 | #include <linux/version.h> | ||
41 | #include <linux/bitops.h> | 40 | #include <linux/bitops.h> |
42 | 41 | ||
43 | #include <asm/errno.h> | 42 | #include <asm/errno.h> |
diff --git a/arch/ia64/sn/kernel/tiocx.c b/arch/ia64/sn/kernel/tiocx.c index c1cbcd1a1398..254fe15c064b 100644 --- a/arch/ia64/sn/kernel/tiocx.c +++ b/arch/ia64/sn/kernel/tiocx.c | |||
@@ -8,7 +8,6 @@ | |||
8 | 8 | ||
9 | #include <linux/module.h> | 9 | #include <linux/module.h> |
10 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
11 | #include <linux/version.h> | ||
12 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
13 | #include <linux/spinlock.h> | 12 | #include <linux/spinlock.h> |
14 | #include <linux/proc_fs.h> | 13 | #include <linux/proc_fs.h> |
diff --git a/arch/ia64/sn/kernel/xpc_main.c b/arch/ia64/sn/kernel/xpc_main.c index 177ddb748ebe..d580adcad927 100644 --- a/arch/ia64/sn/kernel/xpc_main.c +++ b/arch/ia64/sn/kernel/xpc_main.c | |||
@@ -53,6 +53,7 @@ | |||
53 | #include <linux/cache.h> | 53 | #include <linux/cache.h> |
54 | #include <linux/interrupt.h> | 54 | #include <linux/interrupt.h> |
55 | #include <linux/slab.h> | 55 | #include <linux/slab.h> |
56 | #include <linux/delay.h> | ||
56 | #include <asm/sn/intr.h> | 57 | #include <asm/sn/intr.h> |
57 | #include <asm/sn/sn_sal.h> | 58 | #include <asm/sn/sn_sal.h> |
58 | #include <asm/uaccess.h> | 59 | #include <asm/uaccess.h> |
@@ -308,8 +309,7 @@ xpc_make_first_contact(struct xpc_partition *part) | |||
308 | "partition %d\n", XPC_PARTID(part)); | 309 | "partition %d\n", XPC_PARTID(part)); |
309 | 310 | ||
310 | /* wait a 1/4 of a second or so */ | 311 | /* wait a 1/4 of a second or so */ |
311 | set_current_state(TASK_INTERRUPTIBLE); | 312 | msleep_interruptible(250); |
312 | (void) schedule_timeout(0.25 * HZ); | ||
313 | 313 | ||
314 | if (part->act_state == XPC_P_DEACTIVATING) { | 314 | if (part->act_state == XPC_P_DEACTIVATING) { |
315 | return part->reason; | 315 | return part->reason; |
@@ -841,9 +841,7 @@ xpc_do_exit(void) | |||
841 | down(&xpc_discovery_exited); | 841 | down(&xpc_discovery_exited); |
842 | 842 | ||
843 | 843 | ||
844 | set_current_state(TASK_INTERRUPTIBLE); | 844 | msleep_interruptible(300); |
845 | schedule_timeout(0.3 * HZ); | ||
846 | set_current_state(TASK_RUNNING); | ||
847 | 845 | ||
848 | 846 | ||
849 | /* wait for all partitions to become inactive */ | 847 | /* wait for all partitions to become inactive */ |
@@ -860,12 +858,8 @@ xpc_do_exit(void) | |||
860 | } | 858 | } |
861 | } | 859 | } |
862 | 860 | ||
863 | if (active_part_count) { | 861 | if (active_part_count) |
864 | set_current_state(TASK_INTERRUPTIBLE); | 862 | msleep_interruptible(300); |
865 | schedule_timeout(0.3 * HZ); | ||
866 | set_current_state(TASK_RUNNING); | ||
867 | } | ||
868 | |||
869 | } while (active_part_count > 0); | 863 | } while (active_part_count > 0); |
870 | 864 | ||
871 | 865 | ||
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index 42ca8a39798d..7772951df313 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig | |||
@@ -359,6 +359,8 @@ source "fs/Kconfig.binfmt" | |||
359 | 359 | ||
360 | endmenu | 360 | endmenu |
361 | 361 | ||
362 | source "net/Kconfig" | ||
363 | |||
362 | source "drivers/Kconfig" | 364 | source "drivers/Kconfig" |
363 | 365 | ||
364 | source "fs/Kconfig" | 366 | source "fs/Kconfig" |
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 691a2469ff36..178c4a3fbb72 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig | |||
@@ -450,6 +450,8 @@ source "drivers/zorro/Kconfig" | |||
450 | 450 | ||
451 | endmenu | 451 | endmenu |
452 | 452 | ||
453 | source "net/Kconfig" | ||
454 | |||
453 | source "drivers/Kconfig" | 455 | source "drivers/Kconfig" |
454 | 456 | ||
455 | menu "Character devices" | 457 | menu "Character devices" |
diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig index dbfcdc8e6087..117f183f0b43 100644 --- a/arch/m68knommu/Kconfig +++ b/arch/m68knommu/Kconfig | |||
@@ -575,6 +575,8 @@ config PM | |||
575 | 575 | ||
576 | endmenu | 576 | endmenu |
577 | 577 | ||
578 | source "net/Kconfig" | ||
579 | |||
578 | source "drivers/Kconfig" | 580 | source "drivers/Kconfig" |
579 | 581 | ||
580 | source "fs/Kconfig" | 582 | source "fs/Kconfig" |
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index bd9de7b00c0a..b578239146b5 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1640,6 +1640,8 @@ config PM | |||
1640 | 1640 | ||
1641 | endmenu | 1641 | endmenu |
1642 | 1642 | ||
1643 | source "net/Kconfig" | ||
1644 | |||
1643 | source "drivers/Kconfig" | 1645 | source "drivers/Kconfig" |
1644 | 1646 | ||
1645 | source "fs/Kconfig" | 1647 | source "fs/Kconfig" |
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index ce327c799b44..1c2d87435233 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig | |||
@@ -190,6 +190,8 @@ source "fs/Kconfig.binfmt" | |||
190 | 190 | ||
191 | endmenu | 191 | endmenu |
192 | 192 | ||
193 | source "net/Kconfig" | ||
194 | |||
193 | source "drivers/Kconfig" | 195 | source "drivers/Kconfig" |
194 | 196 | ||
195 | source "fs/Kconfig" | 197 | source "fs/Kconfig" |
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig index 23b0d2f662c5..b833cbcd77f0 100644 --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig | |||
@@ -1355,6 +1355,8 @@ config PIN_TLB | |||
1355 | depends on ADVANCED_OPTIONS && 8xx | 1355 | depends on ADVANCED_OPTIONS && 8xx |
1356 | endmenu | 1356 | endmenu |
1357 | 1357 | ||
1358 | source "net/Kconfig" | ||
1359 | |||
1358 | source "drivers/Kconfig" | 1360 | source "drivers/Kconfig" |
1359 | 1361 | ||
1360 | source "fs/Kconfig" | 1362 | source "fs/Kconfig" |
diff --git a/arch/ppc64/Kconfig b/arch/ppc64/Kconfig index f804f25232ac..fdd8afba7152 100644 --- a/arch/ppc64/Kconfig +++ b/arch/ppc64/Kconfig | |||
@@ -429,6 +429,8 @@ config CMDLINE | |||
429 | 429 | ||
430 | endmenu | 430 | endmenu |
431 | 431 | ||
432 | source "net/Kconfig" | ||
433 | |||
432 | source "drivers/Kconfig" | 434 | source "drivers/Kconfig" |
433 | 435 | ||
434 | source "fs/Kconfig" | 436 | source "fs/Kconfig" |
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 6600ee87f896..477ac2758bd5 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
@@ -465,6 +465,8 @@ config KEXEC | |||
465 | 465 | ||
466 | endmenu | 466 | endmenu |
467 | 467 | ||
468 | source "net/Kconfig" | ||
469 | |||
468 | config PCMCIA | 470 | config PCMCIA |
469 | bool | 471 | bool |
470 | default n | 472 | default n |
@@ -475,7 +477,7 @@ source "drivers/scsi/Kconfig" | |||
475 | 477 | ||
476 | source "drivers/s390/Kconfig" | 478 | source "drivers/s390/Kconfig" |
477 | 479 | ||
478 | source "net/Kconfig" | 480 | source "drivers/net/Kconfig" |
479 | 481 | ||
480 | source "fs/Kconfig" | 482 | source "fs/Kconfig" |
481 | 483 | ||
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index a7c8bfc11604..adc8109f8b77 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -784,6 +784,8 @@ config EMBEDDED_RAMDISK_IMAGE | |||
784 | 784 | ||
785 | endmenu | 785 | endmenu |
786 | 786 | ||
787 | source "net/Kconfig" | ||
788 | |||
787 | source "drivers/Kconfig" | 789 | source "drivers/Kconfig" |
788 | 790 | ||
789 | source "fs/Kconfig" | 791 | source "fs/Kconfig" |
diff --git a/arch/sh64/Kconfig b/arch/sh64/Kconfig index 708e59736a4d..4c3e5334adb3 100644 --- a/arch/sh64/Kconfig +++ b/arch/sh64/Kconfig | |||
@@ -268,6 +268,8 @@ source "fs/Kconfig.binfmt" | |||
268 | 268 | ||
269 | endmenu | 269 | endmenu |
270 | 270 | ||
271 | source "net/Kconfig" | ||
272 | |||
271 | source "drivers/Kconfig" | 273 | source "drivers/Kconfig" |
272 | 274 | ||
273 | source "fs/Kconfig" | 275 | source "fs/Kconfig" |
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 7a117ef473c5..aca028aa29bf 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -268,6 +268,8 @@ source "mm/Kconfig" | |||
268 | 268 | ||
269 | endmenu | 269 | endmenu |
270 | 270 | ||
271 | source "net/Kconfig" | ||
272 | |||
271 | source "drivers/Kconfig" | 273 | source "drivers/Kconfig" |
272 | 274 | ||
273 | if !SUN4 | 275 | if !SUN4 |
diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig index 5e8591c427fb..9afd28e2c4d5 100644 --- a/arch/sparc64/Kconfig +++ b/arch/sparc64/Kconfig | |||
@@ -525,6 +525,8 @@ source "mm/Kconfig" | |||
525 | 525 | ||
526 | endmenu | 526 | endmenu |
527 | 527 | ||
528 | source "net/Kconfig" | ||
529 | |||
528 | source "drivers/base/Kconfig" | 530 | source "drivers/base/Kconfig" |
529 | 531 | ||
530 | source "drivers/video/Kconfig" | 532 | source "drivers/video/Kconfig" |
@@ -551,7 +553,7 @@ endif | |||
551 | 553 | ||
552 | source "drivers/ieee1394/Kconfig" | 554 | source "drivers/ieee1394/Kconfig" |
553 | 555 | ||
554 | source "net/Kconfig" | 556 | source "drivers/net/Kconfig" |
555 | 557 | ||
556 | source "drivers/isdn/Kconfig" | 558 | source "drivers/isdn/Kconfig" |
557 | 559 | ||
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c index 441fc2e52ce6..7e8e2919e186 100644 --- a/arch/sparc64/kernel/smp.c +++ b/arch/sparc64/kernel/smp.c | |||
@@ -45,8 +45,8 @@ extern void calibrate_delay(void); | |||
45 | /* Please don't make this stuff initdata!!! --DaveM */ | 45 | /* Please don't make this stuff initdata!!! --DaveM */ |
46 | static unsigned char boot_cpu_id; | 46 | static unsigned char boot_cpu_id; |
47 | 47 | ||
48 | cpumask_t cpu_online_map = CPU_MASK_NONE __read_mostly; | 48 | cpumask_t cpu_online_map __read_mostly = CPU_MASK_NONE; |
49 | cpumask_t phys_cpu_present_map = CPU_MASK_NONE __read_mostly; | 49 | cpumask_t phys_cpu_present_map __read_mostly = CPU_MASK_NONE; |
50 | static cpumask_t smp_commenced_mask; | 50 | static cpumask_t smp_commenced_mask; |
51 | static cpumask_t cpu_callout_map; | 51 | static cpumask_t cpu_callout_map; |
52 | 52 | ||
diff --git a/arch/um/Kconfig b/arch/um/Kconfig index 6682c7883647..f945444df49c 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig | |||
@@ -275,6 +275,8 @@ endmenu | |||
275 | 275 | ||
276 | source "init/Kconfig" | 276 | source "init/Kconfig" |
277 | 277 | ||
278 | source "net/Kconfig" | ||
279 | |||
278 | source "drivers/base/Kconfig" | 280 | source "drivers/base/Kconfig" |
279 | 281 | ||
280 | source "arch/um/Kconfig_char" | 282 | source "arch/um/Kconfig_char" |
@@ -287,7 +289,7 @@ config NETDEVICES | |||
287 | 289 | ||
288 | source "arch/um/Kconfig_net" | 290 | source "arch/um/Kconfig_net" |
289 | 291 | ||
290 | source "net/Kconfig" | 292 | source "drivers/net/Kconfig" |
291 | 293 | ||
292 | source "fs/Kconfig" | 294 | source "fs/Kconfig" |
293 | 295 | ||
diff --git a/arch/v850/Kconfig b/arch/v850/Kconfig index 27febd6ffa80..89c053b6c2c4 100644 --- a/arch/v850/Kconfig +++ b/arch/v850/Kconfig | |||
@@ -250,6 +250,8 @@ source "fs/Kconfig.binfmt" | |||
250 | 250 | ||
251 | endmenu | 251 | endmenu |
252 | 252 | ||
253 | source "net/Kconfig" | ||
254 | |||
253 | ############################################################################# | 255 | ############################################################################# |
254 | 256 | ||
255 | source "drivers/base/Kconfig" | 257 | source "drivers/base/Kconfig" |
@@ -283,7 +285,7 @@ source "drivers/ieee1394/Kconfig" | |||
283 | 285 | ||
284 | source "drivers/message/i2o/Kconfig" | 286 | source "drivers/message/i2o/Kconfig" |
285 | 287 | ||
286 | source "net/Kconfig" | 288 | source "drivers/net/Kconfig" |
287 | 289 | ||
288 | source "drivers/isdn/Kconfig" | 290 | source "drivers/isdn/Kconfig" |
289 | 291 | ||
diff --git a/arch/v850/lib/checksum.c b/arch/v850/lib/checksum.c index d308b724c023..fa5872633075 100644 --- a/arch/v850/lib/checksum.c +++ b/arch/v850/lib/checksum.c | |||
@@ -138,7 +138,8 @@ unsigned int csum_partial_copy(const unsigned char *src, unsigned char *dst, | |||
138 | * Copy from userspace and compute checksum. If we catch an exception | 138 | * Copy from userspace and compute checksum. If we catch an exception |
139 | * then zero the rest of the buffer. | 139 | * then zero the rest of the buffer. |
140 | */ | 140 | */ |
141 | unsigned int csum_partial_copy_from_user (const unsigned char *src, unsigned char *dst, | 141 | unsigned int csum_partial_copy_from_user (const unsigned char *src, |
142 | unsigned char *dst, | ||
142 | int len, unsigned int sum, | 143 | int len, unsigned int sum, |
143 | int *err_ptr) | 144 | int *err_ptr) |
144 | { | 145 | { |
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index d09437b5c48f..4b8326177c52 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -515,6 +515,8 @@ config UID16 | |||
515 | 515 | ||
516 | endmenu | 516 | endmenu |
517 | 517 | ||
518 | source "net/Kconfig" | ||
519 | |||
518 | source drivers/Kconfig | 520 | source drivers/Kconfig |
519 | 521 | ||
520 | source "drivers/firmware/Kconfig" | 522 | source "drivers/firmware/Kconfig" |
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index c9b5d298e3c4..2b6257bec4c3 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig | |||
@@ -228,6 +228,8 @@ source "fs/Kconfig.binfmt" | |||
228 | 228 | ||
229 | endmenu | 229 | endmenu |
230 | 230 | ||
231 | source "net/Kconfig" | ||
232 | |||
231 | source "drivers/Kconfig" | 233 | source "drivers/Kconfig" |
232 | 234 | ||
233 | source "fs/Kconfig" | 235 | source "fs/Kconfig" |