diff --git a/[refs] b/[refs]
index 288fdf3ee083..ef7845e7f8d6 100644
--- a/[refs]
+++ b/[refs]
@@ -1,2 +1,2 @@
---
-refs/heads/master: d3a36fb82a0864a85e238ac946817030a18c5f9a
+refs/heads/master: 21051ba6259c519e20a7d575ddceb16e84ad2a5d
diff --git a/trunk/Documentation/DocBook/kernel-locking.tmpl b/trunk/Documentation/DocBook/kernel-locking.tmpl
index 0a441f73261a..644c3884fab9 100644
--- a/trunk/Documentation/DocBook/kernel-locking.tmpl
+++ b/trunk/Documentation/DocBook/kernel-locking.tmpl
@@ -551,12 +551,10 @@
spin_lock_irqsave(), which is a superset
of all other spinlock primitives.
-
Table of Locking Requirements
-
IRQ Handler A
@@ -578,128 +576,97 @@
IRQ Handler B
-SLIS
+spin_lock_irqsave
None
Softirq A
-SLI
-SLI
-SL
+spin_lock_irq
+spin_lock_irq
+spin_lock
Softirq B
-SLI
-SLI
-SL
-SL
+spin_lock_irq
+spin_lock_irq
+spin_lock
+spin_lock
Tasklet A
-SLI
-SLI
-SL
-SL
+spin_lock_irq
+spin_lock_irq
+spin_lock
+spin_lock
None
Tasklet B
-SLI
-SLI
-SL
-SL
-SL
+spin_lock_irq
+spin_lock_irq
+spin_lock
+spin_lock
+spin_lock
None
Timer A
-SLI
-SLI
-SL
-SL
-SL
-SL
+spin_lock_irq
+spin_lock_irq
+spin_lock
+spin_lock
+spin_lock
+spin_lock
None
Timer B
-SLI
-SLI
-SL
-SL
-SL
-SL
-SL
+spin_lock_irq
+spin_lock_irq
+spin_lock
+spin_lock
+spin_lock
+spin_lock
+spin_lock
None
User Context A
-SLI
-SLI
-SLBH
-SLBH
-SLBH
-SLBH
-SLBH
-SLBH
+spin_lock_irq
+spin_lock_irq
+spin_lock_bh
+spin_lock_bh
+spin_lock_bh
+spin_lock_bh
+spin_lock_bh
+spin_lock_bh
None
User Context B
-SLI
-SLI
-SLBH
-SLBH
-SLBH
-SLBH
-SLBH
-SLBH
-DI
-None
-
-
-
-
-
-
-
-Legend for Locking Requirements Table
-
-
-
-
-SLIS
-spin_lock_irqsave
-
-
-SLI
spin_lock_irq
-
-
-SL
-spin_lock
-
-
-SLBH
+spin_lock_irq
+spin_lock_bh
+spin_lock_bh
+spin_lock_bh
+spin_lock_bh
+spin_lock_bh
spin_lock_bh
-
-
-DI
down_interruptible
+None
-
diff --git a/trunk/Documentation/feature-removal-schedule.txt b/trunk/Documentation/feature-removal-schedule.txt
index 5c8695a3d139..498ff31f3aa1 100644
--- a/trunk/Documentation/feature-removal-schedule.txt
+++ b/trunk/Documentation/feature-removal-schedule.txt
@@ -328,20 +328,21 @@ Who: Adrian Bunk
---------------------------
-What: libata spindown skipping and warning
+What: libata.spindown_compat module parameter
When: Dec 2008
-Why: Some halt(8) implementations synchronize caches for and spin
- down libata disks because libata didn't use to spin down disk on
- system halt (only synchronized caches).
- Spin down on system halt is now implemented. sysfs node
- /sys/class/scsi_disk/h:c:i:l/manage_start_stop is present if
- spin down support is available.
+Why: halt(8) synchronizes caches for and spins down libata disks
+ because libata didn't use to spin down disk on system halt
+ (only synchronized caches).
+ Spin down on system halt is now implemented and can be tested
+ using sysfs node /sys/class/scsi_disk/h:c:i:l/manage_start_stop.
Because issuing spin down command to an already spun down disk
- makes some disks spin up just to spin down again, libata tracks
- device spindown status to skip the extra spindown command and
- warn about it.
- This is to give userspace tools the time to get updated and will
- be removed after userspace is reasonably updated.
+ makes some disks spin up just to spin down again, the old
+ behavior needs to be maintained till userspace tool is updated
+ to check the sysfs node and not to spin down disks with the
+ node set to one.
+ This module parameter is to give userspace tool the time to
+ get updated and should be removed after userspace is
+ reasonably updated.
Who: Tejun Heo
---------------------------
diff --git a/trunk/Documentation/gpio.txt b/trunk/Documentation/gpio.txt
index 36af58eba136..e8be0abb346c 100644
--- a/trunk/Documentation/gpio.txt
+++ b/trunk/Documentation/gpio.txt
@@ -111,9 +111,7 @@ setting up a platform_device using the GPIO, is mark its direction:
The return value is zero for success, else a negative errno. It should
be checked, since the get/set calls don't have error returns and since
-misconfiguration is possible. You should normally issue these calls from
-a task context. However, for spinlock-safe GPIOs it's OK to use them
-before tasking is enabled, as part of early board setup.
+misconfiguration is possible. (These calls could sleep.)
For output GPIOs, the value provided becomes the initial output value.
This helps avoid signal glitching during system startup.
@@ -199,9 +197,7 @@ However, many platforms don't currently support this mechanism.
Passing invalid GPIO numbers to gpio_request() will fail, as will requesting
GPIOs that have already been claimed with that call. The return value of
-gpio_request() must be checked. You should normally issue these calls from
-a task context. However, for spinlock-safe GPIOs it's OK to request GPIOs
-before tasking is enabled, as part of early board setup.
+gpio_request() must be checked. (These calls could sleep.)
These calls serve two basic purposes. One is marking the signals which
are actually in use as GPIOs, for better diagnostics; systems may have
diff --git a/trunk/Documentation/networking/netdevices.txt b/trunk/Documentation/networking/netdevices.txt
index ce1361f95243..847cedb238f6 100644
--- a/trunk/Documentation/networking/netdevices.txt
+++ b/trunk/Documentation/networking/netdevices.txt
@@ -49,7 +49,7 @@ dev->hard_start_xmit:
for this and return -1 when the spin lock fails.
The locking there should also properly protect against
set_multicast_list
- Context: Process with BHs disabled or BH (timer).
+ Context: BHs disabled
Notes: netif_queue_stopped() is guaranteed false
Interrupts must be enabled when calling hard_start_xmit.
(Interrupts must also be enabled when enabling the BH handler.)
diff --git a/trunk/Documentation/vm/slabinfo.c b/trunk/Documentation/vm/slabinfo.c
index 434af27a32ac..686a8e04a4f3 100644
--- a/trunk/Documentation/vm/slabinfo.c
+++ b/trunk/Documentation/vm/slabinfo.c
@@ -242,9 +242,6 @@ void decode_numa_list(int *numa, char *t)
memset(numa, 0, MAX_NODES * sizeof(int));
- if (!t)
- return;
-
while (*t == 'N') {
t++;
node = strtoul(t, &t, 10);
@@ -389,9 +386,7 @@ void report(struct slabinfo *s)
{
if (strcmp(s->name, "*") == 0)
return;
-
- printf("\nSlabcache: %-20s Aliases: %2d Order : %2d Objects: %d\n",
- s->name, s->aliases, s->order, s->objects);
+ printf("\nSlabcache: %-20s Aliases: %2d Order : %2d\n", s->name, s->aliases, s->order);
if (s->hwcache_align)
printf("** Hardware cacheline aligned\n");
if (s->cache_dma)
@@ -796,11 +791,11 @@ void totals(void)
store_size(b1, total_size);store_size(b2, total_waste);
store_size(b3, total_waste * 100 / total_used);
- printf("Memory used: %6s # Loss : %6s MRatio:%6s%%\n", b1, b2, b3);
+ printf("Memory used: %6s # Loss : %6s MRatio: %6s%%\n", b1, b2, b3);
store_size(b1, total_objects);store_size(b2, total_partobj);
store_size(b3, total_partobj * 100 / total_objects);
- printf("# Objects : %6s # PartObj: %6s ORatio:%6s%%\n", b1, b2, b3);
+ printf("# Objects : %6s # PartObj: %6s ORatio: %6s%%\n", b1, b2, b3);
printf("\n");
printf("Per Cache Average Min Max Total\n");
@@ -823,7 +818,7 @@ void totals(void)
store_size(b1, avg_ppart);store_size(b2, min_ppart);
store_size(b3, max_ppart);
store_size(b4, total_partial * 100 / total_slabs);
- printf("%%PartSlab%10s%% %10s%% %10s%% %10s%%\n",
+ printf("%%PartSlab %10s%% %10s%% %10s%% %10s%%\n",
b1, b2, b3, b4);
store_size(b1, avg_partobj);store_size(b2, min_partobj);
@@ -835,7 +830,7 @@ void totals(void)
store_size(b1, avg_ppartobj);store_size(b2, min_ppartobj);
store_size(b3, max_ppartobj);
store_size(b4, total_partobj * 100 / total_objects);
- printf("%% PartObj%10s%% %10s%% %10s%% %10s%%\n",
+ printf("%% PartObj %10s%% %10s%% %10s%% %10s%%\n",
b1, b2, b3, b4);
store_size(b1, avg_size);store_size(b2, min_size);
@@ -1105,8 +1100,6 @@ void output_slabs(void)
ops(slab);
else if (show_slab)
slabcache(slab);
- else if (show_report)
- report(slab);
}
}
diff --git a/trunk/MAINTAINERS b/trunk/MAINTAINERS
index 4c3277cb925e..21f3fff5432f 100644
--- a/trunk/MAINTAINERS
+++ b/trunk/MAINTAINERS
@@ -2689,13 +2689,13 @@ L: i2c@lm-sensors.org
S: Maintained
PARALLEL PORT SUPPORT
-L: linux-parport@lists.infradead.org (subscribers-only)
+L: linux-parport@lists.infradead.org
S: Orphan
PARIDE DRIVERS FOR PARALLEL PORT IDE DEVICES
P: Tim Waugh
M: tim@cyberelk.net
-L: linux-parport@lists.infradead.org (subscribers-only)
+L: linux-parport@lists.infradead.org
W: http://www.torque.net/linux-pp.html
S: Maintained
@@ -3267,7 +3267,6 @@ W: http://tpmdd.sourceforge.net
P: Marcel Selhorst
M: tpm@selhorst.net
W: http://www.prosec.rub.de/tpm/
-L: tpmdd-devel@lists.sourceforge.net
S: Maintained
Telecom Clock Driver for MCPL0010
diff --git a/trunk/arch/arm/kernel/stacktrace.c b/trunk/arch/arm/kernel/stacktrace.c
index 8b63ad89d0a8..398d0c0511eb 100644
--- a/trunk/arch/arm/kernel/stacktrace.c
+++ b/trunk/arch/arm/kernel/stacktrace.c
@@ -1,4 +1,3 @@
-#include
#include
#include
@@ -31,7 +30,6 @@ int walk_stackframe(unsigned long fp, unsigned long low, unsigned long high,
return 0;
}
-EXPORT_SYMBOL(walk_stackframe);
#ifdef CONFIG_STACKTRACE
struct stack_trace_data {
diff --git a/trunk/arch/avr32/boards/atstk1000/atstk1000.h b/trunk/arch/avr32/boards/atstk1000/atstk1000.h
deleted file mode 100644
index 9a49ed036b72..000000000000
--- a/trunk/arch/avr32/boards/atstk1000/atstk1000.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * ATSTK1000 setup code: Daughterboard interface
- *
- * Copyright (C) 2007 Atmel Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-#ifndef __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H
-#define __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H
-
-extern struct atmel_lcdfb_info atstk1000_lcdc_data;
-
-#endif /* __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H */
diff --git a/trunk/arch/avr32/boards/atstk1000/atstk1002.c b/trunk/arch/avr32/boards/atstk1000/atstk1002.c
index fe1dbe2e28f4..abe6ca203fa7 100644
--- a/trunk/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/trunk/arch/avr32/boards/atstk1000/atstk1002.c
@@ -16,8 +16,6 @@
#include
#include
-#include