Skip to content

Commit 3c1f67d

Browse files
author
Ingo Molnar
committed
Merge branch 'linus' into core/locking
2 parents 03d7891 + 9ead649 commit 3c1f67d

File tree

284 files changed

+2900
-2856
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+2900
-2856
lines changed

Documentation/RCU/checklist.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,3 +298,15 @@ over a rather long period of time, but improvements are always welcome!
298298

299299
Note that, rcu_assign_pointer() and rcu_dereference() relate to
300300
SRCU just as they do to other forms of RCU.
301+
302+
15. The whole point of call_rcu(), synchronize_rcu(), and friends
303+
is to wait until all pre-existing readers have finished before
304+
carrying out some otherwise-destructive operation. It is
305+
therefore critically important to -first- remove any path
306+
that readers can follow that could be affected by the
307+
destructive operation, and -only- -then- invoke call_rcu(),
308+
synchronize_rcu(), or friends.
309+
310+
Because these primitives only wait for pre-existing readers,
311+
it is the caller's responsibility to guarantee safety to
312+
any subsequent readers.

Documentation/feature-removal-schedule.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,3 +335,12 @@ Why: In 2.6.18 the Secmark concept was introduced to replace the "compat_net"
335335
Secmark, it is time to deprecate the older mechanism and start the
336336
process of removing the old code.
337337
Who: Paul Moore <paul.moore@hp.com>
338+
---------------------------
339+
340+
What: sysfs ui for changing p4-clockmod parameters
341+
When: September 2009
342+
Why: See commits 129f8ae9b1b5be94517da76009ea956e89104ce8 and
343+
e088e4c9cdb618675874becb91b2fd581ee707e6.
344+
Removal is subject to fixing any remaining bugs in ACPI which may
345+
cause the thermal throttling not to happen at the right time.
346+
Who: Dave Jones <davej@redhat.com>, Matthew Garrett <mjg@redhat.com>

Documentation/filesystems/ext2.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,10 @@ Filesystem Resizing http://ext2resize.sourceforge.net/
373373
Compression (*) http://e2compr.sourceforge.net/
374374

375375
Implementations for:
376-
Windows 95/98/NT/2000 http://uranus.it.swin.edu.au/~jn/linux/Explore2fs.htm
377-
Windows 95 (*) http://www.yipton.demon.co.uk/content.html#FSDEXT2
376+
Windows 95/98/NT/2000 http://www.chrysocome.net/explore2fs
377+
Windows 95 (*) http://www.yipton.net/content.html#FSDEXT2
378378
DOS client (*) ftp://metalab.unc.edu/pub/Linux/system/filesystems/ext2/
379-
OS/2 http://perso.wanadoo.fr/matthieu.willm/ext2-os2/
380-
RISC OS client ftp://ftp.barnet.ac.uk/pub/acorn/armlinux/iscafs/
379+
OS/2 (*) ftp://metalab.unc.edu/pub/Linux/system/filesystems/ext2/
380+
RISC OS client http://www.esw-heim.tu-clausthal.de/~marco/smorbrod/IscaFS/
381381

382-
(*) no longer actively developed/supported (as of Apr 2001)
382+
(*) no longer actively developed/supported (as of Mar 2009)

Documentation/filesystems/ext3.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,5 +198,5 @@ kernel source: <file:fs/ext3/>
198198
programs: http://e2fsprogs.sourceforge.net/
199199
http://ext2resize.sourceforge.net
200200

201-
useful links: http://www-106.ibm.com/developerworks/linux/library/l-fs7/
202-
http://www-106.ibm.com/developerworks/linux/library/l-fs8/
201+
useful links: http://www.ibm.com/developerworks/library/l-fs7.html
202+
http://www.ibm.com/developerworks/library/l-fs8.html

Documentation/filesystems/squashfs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Squashfs filesystem features versus Cramfs:
2222

2323
Squashfs Cramfs
2424

25-
Max filesystem size: 2^64 16 MiB
25+
Max filesystem size: 2^64 256 MiB
2626
Max file size: ~ 2 TiB 16 MiB
2727
Max files: unlimited unlimited
2828
Max directories: unlimited unlimited

Documentation/hwmon/lm90

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ Supported chips:
4242
Addresses scanned: I2C 0x4e
4343
Datasheet: Publicly available at the Maxim website
4444
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3497
45+
* Maxim MAX6648
46+
Prefix: 'max6646'
47+
Addresses scanned: I2C 0x4c
48+
Datasheet: Publicly available at the Maxim website
49+
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3500
4550
* Maxim MAX6649
4651
Prefix: 'max6646'
4752
Addresses scanned: I2C 0x4c
@@ -74,6 +79,11 @@ Supported chips:
7479
0x4c, 0x4d and 0x4e
7580
Datasheet: Publicly available at the Maxim website
7681
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3370
82+
* Maxim MAX6692
83+
Prefix: 'max6646'
84+
Addresses scanned: I2C 0x4c
85+
Datasheet: Publicly available at the Maxim website
86+
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3500
7787

7888

7989
Author: Jean Delvare <khali@linux-fr.org>

Documentation/networking/ipv6.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
Options for the ipv6 module are supplied as parameters at load time.
3+
4+
Module options may be given as command line arguments to the insmod
5+
or modprobe command, but are usually specified in either the
6+
/etc/modules.conf or /etc/modprobe.conf configuration file, or in a
7+
distro-specific configuration file.
8+
9+
The available ipv6 module parameters are listed below. If a parameter
10+
is not specified the default value is used.
11+
12+
The parameters are as follows:
13+
14+
disable
15+
16+
Specifies whether to load the IPv6 module, but disable all
17+
its functionality. This might be used when another module
18+
has a dependency on the IPv6 module being loaded, but no
19+
IPv6 addresses or operations are desired.
20+
21+
The possible values and their effects are:
22+
23+
0
24+
IPv6 is enabled.
25+
26+
This is the default value.
27+
28+
1
29+
IPv6 is disabled.
30+
31+
No IPv6 addresses will be added to interfaces, and
32+
it will not be possible to open an IPv6 socket.
33+
34+
A reboot is required to enable IPv6.
35+

MAINTAINERS

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,8 +1469,6 @@ L: linux-acpi@vger.kernel.org
14691469
S: Supported
14701470

14711471
DOCUMENTATION (/Documentation directory)
1472-
P: Michael Kerrisk
1473-
M: mtk.manpages@gmail.com
14741472
P: Randy Dunlap
14751473
M: rdunlap@xenotime.net
14761474
L: linux-doc@vger.kernel.org
@@ -2879,7 +2877,7 @@ P: Michael Kerrisk
28792877
M: mtk.manpages@gmail.com
28802878
W: http://www.kernel.org/doc/man-pages
28812879
L: linux-man@vger.kernel.org
2882-
S: Supported
2880+
S: Maintained
28832881

28842882
MARVELL LIBERTAS WIRELESS DRIVER
28852883
P: Dan Williams

Makefile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -904,12 +904,18 @@ localver = $(subst $(space),, $(string) \
904904
# and if the SCM is know a tag from the SCM is appended.
905905
# The appended tag is determined by the SCM used.
906906
#
907-
# Currently, only git is supported.
908-
# Other SCMs can edit scripts/setlocalversion and add the appropriate
909-
# checks as needed.
907+
# .scmversion is used when generating rpm packages so we do not loose
908+
# the version information from the SCM when we do the build of the kernel
909+
# from the copied source
910910
ifdef CONFIG_LOCALVERSION_AUTO
911-
_localver-auto = $(shell $(CONFIG_SHELL) \
912-
$(srctree)/scripts/setlocalversion $(srctree))
911+
912+
ifeq ($(wildcard .scmversion),)
913+
_localver-auto = $(shell $(CONFIG_SHELL) \
914+
$(srctree)/scripts/setlocalversion $(srctree))
915+
else
916+
_localver-auto = $(shell cat .scmversion 2> /dev/null)
917+
endif
918+
913919
localver-auto = $(LOCALVERSION)$(_localver-auto)
914920
endif
915921

@@ -1537,7 +1543,7 @@ quiet_cmd_depmod = DEPMOD $(KERNELRELEASE)
15371543
cmd_depmod = \
15381544
if [ -r System.map -a -x $(DEPMOD) ]; then \
15391545
$(DEPMOD) -ae -F System.map \
1540-
$(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \
1546+
$(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) ) \
15411547
$(KERNELRELEASE); \
15421548
fi
15431549

arch/arm/mach-at91/at91sam9263_devices.c

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,111 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data)
347347
void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {}
348348
#endif
349349

350+
/* --------------------------------------------------------------------
351+
* Compact Flash (PCMCIA or IDE)
352+
* -------------------------------------------------------------------- */
353+
354+
#if defined(CONFIG_AT91_CF) || defined(CONFIG_AT91_CF_MODULE) || \
355+
defined(CONFIG_BLK_DEV_IDE_AT91) || defined(CONFIG_BLK_DEV_IDE_AT91_MODULE)
356+
357+
static struct at91_cf_data cf0_data;
358+
359+
static struct resource cf0_resources[] = {
360+
[0] = {
361+
.start = AT91_CHIPSELECT_4,
362+
.end = AT91_CHIPSELECT_4 + SZ_256M - 1,
363+
.flags = IORESOURCE_MEM | IORESOURCE_MEM_8AND16BIT,
364+
}
365+
};
366+
367+
static struct platform_device cf0_device = {
368+
.id = 0,
369+
.dev = {
370+
.platform_data = &cf0_data,
371+
},
372+
.resource = cf0_resources,
373+
.num_resources = ARRAY_SIZE(cf0_resources),
374+
};
375+
376+
static struct at91_cf_data cf1_data;
377+
378+
static struct resource cf1_resources[] = {
379+
[0] = {
380+
.start = AT91_CHIPSELECT_5,
381+
.end = AT91_CHIPSELECT_5 + SZ_256M - 1,
382+
.flags = IORESOURCE_MEM | IORESOURCE_MEM_8AND16BIT,
383+
}
384+
};
385+
386+
static struct platform_device cf1_device = {
387+
.id = 1,
388+
.dev = {
389+
.platform_data = &cf1_data,
390+
},
391+
.resource = cf1_resources,
392+
.num_resources = ARRAY_SIZE(cf1_resources),
393+
};
394+
395+
void __init at91_add_device_cf(struct at91_cf_data *data)
396+
{
397+
unsigned long ebi0_csa;
398+
struct platform_device *pdev;
399+
400+
if (!data)
401+
return;
402+
403+
/*
404+
* assign CS4 or CS5 to SMC with Compact Flash logic support,
405+
* we assume SMC timings are configured by board code,
406+
* except True IDE where timings are controlled by driver
407+
*/
408+
ebi0_csa = at91_sys_read(AT91_MATRIX_EBI0CSA);
409+
switch (data->chipselect) {
410+
case 4:
411+
at91_set_A_periph(AT91_PIN_PD6, 0); /* EBI0_NCS4/CFCS0 */
412+
ebi0_csa |= AT91_MATRIX_EBI0_CS4A_SMC_CF1;
413+
cf0_data = *data;
414+
pdev = &cf0_device;
415+
break;
416+
case 5:
417+
at91_set_A_periph(AT91_PIN_PD7, 0); /* EBI0_NCS5/CFCS1 */
418+
ebi0_csa |= AT91_MATRIX_EBI0_CS5A_SMC_CF2;
419+
cf1_data = *data;
420+
pdev = &cf1_device;
421+
break;
422+
default:
423+
printk(KERN_ERR "AT91 CF: bad chip-select requested (%u)\n",
424+
data->chipselect);
425+
return;
426+
}
427+
at91_sys_write(AT91_MATRIX_EBI0CSA, ebi0_csa);
428+
429+
if (data->det_pin) {
430+
at91_set_gpio_input(data->det_pin, 1);
431+
at91_set_deglitch(data->det_pin, 1);
432+
}
433+
434+
if (data->irq_pin) {
435+
at91_set_gpio_input(data->irq_pin, 1);
436+
at91_set_deglitch(data->irq_pin, 1);
437+
}
438+
439+
if (data->vcc_pin)
440+
/* initially off */
441+
at91_set_gpio_output(data->vcc_pin, 0);
442+
443+
/* enable EBI controlled pins */
444+
at91_set_A_periph(AT91_PIN_PD5, 1); /* NWAIT */
445+
at91_set_A_periph(AT91_PIN_PD8, 0); /* CFCE1 */
446+
at91_set_A_periph(AT91_PIN_PD9, 0); /* CFCE2 */
447+
at91_set_A_periph(AT91_PIN_PD14, 0); /* CFNRW */
448+
449+
pdev->name = (data->flags & AT91_CF_TRUE_IDE) ? "at91_ide" : "at91_cf";
450+
platform_device_register(pdev);
451+
}
452+
#else
453+
void __init at91_add_device_cf(struct at91_cf_data *data) {}
454+
#endif
350455

351456
/* --------------------------------------------------------------------
352457
* NAND / SmartMedia

0 commit comments

Comments
 (0)