Skip to content

Commit 3772b73

Browse files
author
Ingo Molnar
committed
Merge commit 'v2.6.35' into perf/core
Conflicts: tools/perf/Makefile tools/perf/util/hist.c Merge reason: Resolve the conflicts and update to latest upstream. Signed-off-by: Ingo Molnar <mingo@elte.hu>
2 parents 9fc3af4 + 9fe6206 commit 3772b73

209 files changed

Lines changed: 1509 additions & 649 deletions

File tree

Some content is hidden

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

‎Documentation/credentials.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,9 @@ reference on them using:
417417
This does all the RCU magic inside of it. The caller must call put_cred() on
418418
the credentials so obtained when they're finished with.
419419

420+
[*] Note: The result of __task_cred() should not be passed directly to
421+
get_cred() as this may race with commit_cred().
422+
420423
There are a couple of convenience functions to access bits of another task's
421424
credentials, hiding the RCU magic from the caller:
422425

‎Documentation/feature-removal-schedule.txt‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,3 +647,10 @@ Who: Stefan Richter <stefanr@s5r6.in-berlin.de>
647647

648648
----------------------------
649649

650+
What: The acpi_sleep=s4_nonvs command line option
651+
When: 2.6.37
652+
Files: arch/x86/kernel/acpi/sleep.c
653+
Why: superseded by acpi_sleep=nonvs
654+
Who: Rafael J. Wysocki <rjw@sisk.pl>
655+
656+
----------------------------

‎Documentation/kernel-parameters.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ and is between 256 and 4096 characters. It is defined in the file
254254
control method, with respect to putting devices into
255255
low power states, to be enforced (the ACPI 2.0 ordering
256256
of _PTS is used by default).
257-
s4_nonvs prevents the kernel from saving/restoring the
258-
ACPI NVS memory during hibernation.
257+
nonvs prevents the kernel from saving/restoring the
258+
ACPI NVS memory during suspend/hibernation and resume.
259259
sci_force_enable causes the kernel to set SCI_EN directly
260260
on resume from S1/S3 (which is against the ACPI spec,
261261
but some broken systems don't work without it).

‎MAINTAINERS‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6236,6 +6236,8 @@ F: drivers/mmc/host/wbsd.*
62366236

62376237
WATCHDOG DEVICE DRIVERS
62386238
M: Wim Van Sebroeck <wim@iguana.be>
6239+
L: linux-watchdog@vger.kernel.org
6240+
W: http://www.linux-watchdog.org/
62396241
T: git git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git
62406242
S: Maintained
62416243
F: Documentation/watchdog/

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 2
22
PATCHLEVEL = 6
33
SUBLEVEL = 35
4-
EXTRAVERSION = -rc5
4+
EXTRAVERSION =
55
NAME = Sheep on Meth
66

77
# *DOCUMENTATION*

‎arch/arm/boot/compressed/Makefile‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ targets := vmlinux vmlinux.lds \
7171
piggy.$(suffix_y) piggy.$(suffix_y).o \
7272
font.o font.c head.o misc.o $(OBJS)
7373

74+
# Make sure files are removed during clean
75+
extra-y += piggy.gzip piggy.lzo piggy.lzma lib1funcs.S
76+
7477
ifeq ($(CONFIG_FUNCTION_TRACER),y)
7578
ORIG_CFLAGS := $(KBUILD_CFLAGS)
7679
KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))

‎arch/arm/common/sa1111.c‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,13 +1028,12 @@ static int sa1111_remove(struct platform_device *pdev)
10281028
struct sa1111 *sachip = platform_get_drvdata(pdev);
10291029

10301030
if (sachip) {
1031-
__sa1111_remove(sachip);
1032-
platform_set_drvdata(pdev, NULL);
1033-
10341031
#ifdef CONFIG_PM
10351032
kfree(sachip->saved_state);
10361033
sachip->saved_state = NULL;
10371034
#endif
1035+
__sa1111_remove(sachip);
1036+
platform_set_drvdata(pdev, NULL);
10381037
}
10391038

10401039
return 0;

‎arch/arm/include/asm/io.h‎

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <linux/types.h>
2727
#include <asm/byteorder.h>
2828
#include <asm/memory.h>
29+
#include <asm/system.h>
2930

3031
/*
3132
* ISA I/O bus memory addresses are 1:1 with the physical address.
@@ -179,25 +180,38 @@ extern void _memset_io(volatile void __iomem *, int, size_t);
179180
* IO port primitives for more information.
180181
*/
181182
#ifdef __mem_pci
182-
#define readb(c) ({ __u8 __v = __raw_readb(__mem_pci(c)); __v; })
183-
#define readw(c) ({ __u16 __v = le16_to_cpu((__force __le16) \
183+
#define readb_relaxed(c) ({ u8 __v = __raw_readb(__mem_pci(c)); __v; })
184+
#define readw_relaxed(c) ({ u16 __v = le16_to_cpu((__force __le16) \
184185
__raw_readw(__mem_pci(c))); __v; })
185-
#define readl(c) ({ __u32 __v = le32_to_cpu((__force __le32) \
186+
#define readl_relaxed(c) ({ u32 __v = le32_to_cpu((__force __le32) \
186187
__raw_readl(__mem_pci(c))); __v; })
187-
#define readb_relaxed(addr) readb(addr)
188-
#define readw_relaxed(addr) readw(addr)
189-
#define readl_relaxed(addr) readl(addr)
188+
189+
#define writeb_relaxed(v,c) ((void)__raw_writeb(v,__mem_pci(c)))
190+
#define writew_relaxed(v,c) ((void)__raw_writew((__force u16) \
191+
cpu_to_le16(v),__mem_pci(c)))
192+
#define writel_relaxed(v,c) ((void)__raw_writel((__force u32) \
193+
cpu_to_le32(v),__mem_pci(c)))
194+
195+
#ifdef CONFIG_ARM_DMA_MEM_BUFFERABLE
196+
#define __iormb() rmb()
197+
#define __iowmb() wmb()
198+
#else
199+
#define __iormb() do { } while (0)
200+
#define __iowmb() do { } while (0)
201+
#endif
202+
203+
#define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
204+
#define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; })
205+
#define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; })
206+
207+
#define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); })
208+
#define writew(v,c) ({ __iowmb(); writew_relaxed(v,c); })
209+
#define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); })
190210

191211
#define readsb(p,d,l) __raw_readsb(__mem_pci(p),d,l)
192212
#define readsw(p,d,l) __raw_readsw(__mem_pci(p),d,l)
193213
#define readsl(p,d,l) __raw_readsl(__mem_pci(p),d,l)
194214

195-
#define writeb(v,c) __raw_writeb(v,__mem_pci(c))
196-
#define writew(v,c) __raw_writew((__force __u16) \
197-
cpu_to_le16(v),__mem_pci(c))
198-
#define writel(v,c) __raw_writel((__force __u32) \
199-
cpu_to_le32(v),__mem_pci(c))
200-
201215
#define writesb(p,d,l) __raw_writesb(__mem_pci(p),d,l)
202216
#define writesw(p,d,l) __raw_writesw(__mem_pci(p),d,l)
203217
#define writesl(p,d,l) __raw_writesl(__mem_pci(p),d,l)
@@ -244,13 +258,13 @@ extern void _memset_io(volatile void __iomem *, int, size_t);
244258
* io{read,write}{8,16,32} macros
245259
*/
246260
#ifndef ioread8
247-
#define ioread8(p) ({ unsigned int __v = __raw_readb(p); __v; })
248-
#define ioread16(p) ({ unsigned int __v = le16_to_cpu((__force __le16)__raw_readw(p)); __v; })
249-
#define ioread32(p) ({ unsigned int __v = le32_to_cpu((__force __le32)__raw_readl(p)); __v; })
261+
#define ioread8(p) ({ unsigned int __v = __raw_readb(p); __iormb(); __v; })
262+
#define ioread16(p) ({ unsigned int __v = le16_to_cpu((__force __le16)__raw_readw(p)); __iormb(); __v; })
263+
#define ioread32(p) ({ unsigned int __v = le32_to_cpu((__force __le32)__raw_readl(p)); __iormb(); __v; })
250264

251-
#define iowrite8(v,p) __raw_writeb(v, p)
252-
#define iowrite16(v,p) __raw_writew((__force __u16)cpu_to_le16(v), p)
253-
#define iowrite32(v,p) __raw_writel((__force __u32)cpu_to_le32(v), p)
265+
#define iowrite8(v,p) ({ __iowmb(); (void)__raw_writeb(v, p); })
266+
#define iowrite16(v,p) ({ __iowmb(); (void)__raw_writew((__force __u16)cpu_to_le16(v), p); })
267+
#define iowrite32(v,p) ({ __iowmb(); (void)__raw_writel((__force __u32)cpu_to_le32(v), p); })
254268

255269
#define ioread8_rep(p,d,c) __raw_readsb(p,d,c)
256270
#define ioread16_rep(p,d,c) __raw_readsw(p,d,c)

‎arch/arm/lib/csumpartialcopyuser.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
.pushsection .fixup,"ax"
7272
.align 4
7373
9001: mov r4, #-EFAULT
74-
ldr r5, [fp, #4] @ *err_ptr
74+
ldr r5, [sp, #8*4] @ *err_ptr
7575
str r4, [r5]
7676
ldmia sp, {r1, r2} @ retrieve dst, len
7777
add r2, r2, r1

‎arch/arm/mach-clps711x/include/mach/debug-macro.S‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*
1212
*/
1313

14+
#include <mach/hardware.h>
1415
#include <asm/hardware/clps7111.h>
1516

1617
.macro addruart, rx, tmp

0 commit comments

Comments
 (0)