From 4fe3fcaca008ec24bb4b9cb4a9e4d17bee06c755 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Sun, 3 Feb 2008 15:02:21 +0200 Subject: Correct explanations of "find_next" bit routines. Correct the obvious "copy and paste" errors explaining some of the "find_next" routines. Signed-off-by: Robert P. J. Day Acked-by: Randy Dunlap Signed-off-by: Adrian Bunk --- arch/x86/lib/bitops_32.c | 2 +- arch/x86/lib/bitops_64.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/x86') diff --git a/arch/x86/lib/bitops_32.c b/arch/x86/lib/bitops_32.c index afd0045595d4..b65440459859 100644 --- a/arch/x86/lib/bitops_32.c +++ b/arch/x86/lib/bitops_32.c @@ -2,7 +2,7 @@ #include /** - * find_next_bit - find the first set bit in a memory region + * find_next_bit - find the next set bit in a memory region * @addr: The address to base the search on * @offset: The bitnumber to start searching at * @size: The maximum size to search diff --git a/arch/x86/lib/bitops_64.c b/arch/x86/lib/bitops_64.c index 95b6d9639fba..0e8f491e6ccc 100644 --- a/arch/x86/lib/bitops_64.c +++ b/arch/x86/lib/bitops_64.c @@ -58,7 +58,7 @@ long find_first_zero_bit(const unsigned long * addr, unsigned long size) } /** - * find_next_zero_bit - find the first zero bit in a memory region + * find_next_zero_bit - find the next zero bit in a memory region * @addr: The address to base the search on * @offset: The bitnumber to start searching at * @size: The maximum size to search -- cgit v1.2.3 From 03502faa259bce35317a32afe79b7c69f507e14a Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Sun, 3 Feb 2008 15:50:21 +0200 Subject: remove Documentation/smp.txt After seeing the filename I'd have expected something about the implementation of SMP in the Linux kernel - not some notes on kernel configuration and building trivialities noone would search at this place. Signed-off-by: Adrian Bunk Acked-by: Alan Cox --- Documentation/00-INDEX | 2 -- Documentation/smp.txt | 22 ---------------------- arch/alpha/Kconfig | 4 ++-- arch/arm/Kconfig | 3 +-- arch/ia64/Kconfig | 4 ++-- arch/m32r/Kconfig | 3 +-- arch/mips/Kconfig | 4 ++-- arch/parisc/Kconfig | 5 ++--- arch/s390/Kconfig | 4 ++-- arch/sh/Kconfig | 5 ++--- arch/sparc/Kconfig | 5 ++--- arch/sparc64/Kconfig | 5 ++--- arch/x86/Kconfig | 3 +-- 13 files changed, 19 insertions(+), 50 deletions(-) delete mode 100644 Documentation/smp.txt (limited to 'arch/x86') diff --git a/Documentation/00-INDEX b/Documentation/00-INDEX index c3014df066c4..970807f8c090 100644 --- a/Documentation/00-INDEX +++ b/Documentation/00-INDEX @@ -364,8 +364,6 @@ sharedsubtree.txt - a description of shared subtrees for namespaces. smart-config.txt - description of the Smart Config makefile feature. -smp.txt - - a few notes on symmetric multi-processing. sony-laptop.txt - Sony Notebook Control Driver (SNC) Readme. sonypi.txt diff --git a/Documentation/smp.txt b/Documentation/smp.txt deleted file mode 100644 index 82fc50b6305d..000000000000 --- a/Documentation/smp.txt +++ /dev/null @@ -1,22 +0,0 @@ -To set up SMP - -Configure the kernel and answer Y to CONFIG_SMP. - -If you are using LILO, it is handy to have both SMP and non-SMP -kernel images on hand. Edit /etc/lilo.conf to create an entry -for another kernel image called "linux-smp" or something. - -The next time you compile the kernel, when running a SMP kernel, -edit linux/Makefile and change "MAKE=make" to "MAKE=make -jN" -(where N = number of CPU + 1, or if you have tons of memory/swap - you can just use "-j" without a number). Feel free to experiment -with this one. - -Of course you should time how long each build takes :-) -Example: - make config - time -v sh -c 'make clean install modules modules_install' - -If you are using some Compaq MP compliant machines you will need to set -the operating system in the BIOS settings to "Unixware" - don't ask me -why Compaqs don't work otherwise. diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index c613d5fb0daa..1a99bdd3b67d 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig @@ -531,8 +531,8 @@ config SMP singleprocessor machines. On a singleprocessor machine, the kernel will run faster if you say N here. - See also the , and the SMP-HOWTO - available at . + See also the SMP-HOWTO available at + . If you don't know what to do here, say N. diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4b1a8e3d292c..11606434011a 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -616,8 +616,7 @@ config SMP processor machines. On a single processor machine, the kernel will run faster if you say N here. - See also the , - , + See also , and the SMP-HOWTO available at . diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index c9307c99a1dc..495e88fb91c5 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -283,8 +283,8 @@ config SMP single processor systems. On a single processor system, the kernel will run faster if you say N here. - See also the and the SMP-HOWTO - available at . + See also the SMP-HOWTO available at + . If you don't know what to do here, say N. diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index 49326e9d4413..e0118c4bc082 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig @@ -302,8 +302,7 @@ config SMP Y to "Enhanced Real Time Clock Support", below. The "Advanced Power Management" code will be disabled if you say Y here. - See also the , - and the SMP-HOWTO available at + See also the SMP-HOWTO available at . If you don't know what to do here, say N. diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 36a4018f71d2..223eb1550fdc 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1754,8 +1754,8 @@ config SMP People using multiprocessor machines who say Y here should also say Y to "Enhanced Real Time Clock Support", below. - See also the and the SMP-HOWTO - available at . + See also the SMP-HOWTO available at + . If you don't know what to do here, say N. diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 2b649c46631c..808c060231e8 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -205,9 +205,8 @@ config SMP singleprocessor machines. On a singleprocessor machine, the kernel will run faster if you say N here. - See also the , - and the SMP-HOWTO available - at . + See also and the SMP-HOWTO + available at . If you don't know what to do here, say N. diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 6ef54d27fc00..39177ba0ec8a 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -81,8 +81,8 @@ config SMP singleprocessor machines. On a singleprocessor machine, the kernel will run faster if you say N here. - See also the and the SMP-HOWTO - available at . + See also the SMP-HOWTO available at + . Even if you don't know what to do here, say Y. diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index b30c4c376a83..ad3bee70a5b5 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -672,9 +672,8 @@ config SMP People using multiprocessor machines who say Y here should also say Y to "Enhanced Real Time Clock Support", below. - See also the , - and the SMP-HOWTO available - at . + See also and the SMP-HOWTO + available at . If you don't know what to do here, say N. diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 527adc808ad6..556f79a873b9 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -48,9 +48,8 @@ config SMP Y to "Enhanced Real Time Clock Support", below. The "Advanced Power Management" code will be disabled if you say Y here. - See also the , - and the SMP-HOWTO available at - . + See also and the SMP-HOWTO + available at . If you don't know what to do here, say N. diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig index 158522f51d31..7392ea9c2301 100644 --- a/arch/sparc64/Kconfig +++ b/arch/sparc64/Kconfig @@ -166,9 +166,8 @@ config SMP Y to "Enhanced Real Time Clock Support", below. The "Advanced Power Management" code will be disabled if you say Y here. - See also the , - and the SMP-HOWTO available at - . + See also and the SMP-HOWTO + available at . If you don't know what to do here, say N. diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 7109037bdf7c..56e7e91a1a01 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -204,8 +204,7 @@ config SMP Y to "Enhanced Real Time Clock Support", below. The "Advanced Power Management" code will be disabled if you say Y here. - See also the , - , + See also , and the SMP-HOWTO available at . -- cgit v1.2.3