Skip to content

Commit 094803e

Browse files
committed
Merge branch 'akpm' (Andrew's incoming)
Quoth Andrew: - Most of MM. Still waiting for the poweroc guys to get off their butts and review some threaded hugepages patches. - alpha - vfs bits - drivers/misc - a few core kerenl tweaks - printk() features - MAINTAINERS updates - backlight merge - leds merge - various lib/ updates - checkpatch updates * akpm: (127 commits) epoll: fix spurious lockdep warnings checkpatch: add a --strict check for utf-8 in commit logs kernel.h/checkpatch: mark strict_strto<foo> and simple_strto<foo> as obsolete llist-return-whether-list-is-empty-before-adding-in-llist_add-fix wireless: at76c50x: follow rename pack_hex_byte to hex_byte_pack fat: follow rename pack_hex_byte() to hex_byte_pack() security: follow rename pack_hex_byte() to hex_byte_pack() kgdb: follow rename pack_hex_byte() to hex_byte_pack() lib: rename pack_hex_byte() to hex_byte_pack() lib/string.c: fix strim() semantics for strings that have only blanks lib/idr.c: fix comment for ida_get_new_above() lib/percpu_counter.c: enclose hotplug only variables in hotplug ifdef lib/bitmap.c: quiet sparse noise about address space lib/spinlock_debug.c: print owner on spinlock lockup lib/kstrtox: common code between kstrto*() and simple_strto*() functions drivers/leds/leds-lp5521.c: check if reset is successful leds: turn the blink_timer off before starting to blink leds: save the delay values after a successful call to blink_set() drivers/leds/leds-gpio.c: use gpio_get_value_cansleep() when initializing drivers/leds/leds-lm3530.c: add __devexit_p where needed ...
2 parents 32087d4 + d8805e6 commit 094803e

194 files changed

Lines changed: 2520 additions & 1356 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/kernel-parameters.txt‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,9 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
973973
ignore_loglevel [KNL]
974974
Ignore loglevel setting - this will print /all/
975975
kernel messages to the console. Useful for debugging.
976+
We also add it as printk module parameter, so users
977+
could change it dynamically, usually by
978+
/sys/module/printk/parameters/ignore_loglevel.
976979

977980
ihash_entries= [KNL]
978981
Set number of hash buckets for inode cache.
@@ -1666,6 +1669,11 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
16661669
debugging driver suspend/resume hooks). This may
16671670
not work reliably with all consoles, but is known
16681671
to work with serial and VGA consoles.
1672+
To facilitate more flexible debugging, we also add
1673+
console_suspend, a printk module parameter to control
1674+
it. Users could use console_suspend (usually
1675+
/sys/module/printk/parameters/console_suspend) to
1676+
turn on/off it dynamically.
16691677

16701678
noaliencache [MM, NUMA, SLAB] Disables the allocation of alien
16711679
caches in the slab allocator. Saves per-node memory,

‎Documentation/sysctl/kernel.txt‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ show up in /proc/sys/kernel:
2424
- bootloader_type [ X86 only ]
2525
- bootloader_version [ X86 only ]
2626
- callhome [ S390 only ]
27+
- cap_last_cap
2728
- core_pattern
2829
- core_pipe_limit
2930
- core_uses_pid
@@ -155,6 +156,13 @@ on has a service contract with IBM.
155156

156157
==============================================================
157158

159+
cap_last_cap
160+
161+
Highest valid capability of the running kernel. Exports
162+
CAP_LAST_CAP from the kernel.
163+
164+
==============================================================
165+
158166
core_pattern:
159167

160168
core_pattern is used to specify a core dumpfile pattern name.

‎Documentation/trace/postprocess/trace-vmscan-postprocess.pl‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,10 @@ sub process_events {
379379

380380
# To closer match vmstat scanning statistics, only count isolate_both
381381
# and isolate_inactive as scanning. isolate_active is rotation
382-
# isolate_inactive == 0
383-
# isolate_active == 1
384-
# isolate_both == 2
385-
if ($isolate_mode != 1) {
382+
# isolate_inactive == 1
383+
# isolate_active == 2
384+
# isolate_both == 3
385+
if ($isolate_mode != 2) {
386386
$perprocesspid{$process_pid}->{HIGH_NR_SCANNED} += $nr_scanned;
387387
}
388388
$perprocesspid{$process_pid}->{HIGH_NR_CONTIG_DIRTY} += $nr_contig_dirty;

‎MAINTAINERS‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,10 @@ W: http://wiki.analog.com/AD7879
316316
S: Supported
317317
F: drivers/input/touchscreen/ad7879.c
318318

319+
ADDRESS SPACE LAYOUT RANDOMIZATION (ASLR)
320+
M: Jiri Kosina <jkosina@suse.cz>
321+
S: Maintained
322+
319323
ADM1025 HARDWARE MONITOR DRIVER
320324
M: Jean Delvare <khali@linux-fr.org>
321325
L: lm-sensors@lm-sensors.org
@@ -4020,6 +4024,7 @@ M: Eric Piel <eric.piel@tremplin-utc.net>
40204024
S: Maintained
40214025
F: Documentation/misc-devices/lis3lv02d
40224026
F: drivers/misc/lis3lv02d/
4027+
F: drivers/platform/x86/hp_accel.c
40234028

40244029
LLC (802.2)
40254030
M: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
@@ -4974,7 +4979,7 @@ F: include/linux/i2c-algo-pca.h
49744979
F: include/linux/i2c-pca-platform.h
49754980

49764981
PCI ERROR RECOVERY
4977-
M: Linas Vepstas <linas@austin.ibm.com>
4982+
M: Linas Vepstas <linasvepstas@gmail.com>
49784983
L: linux-pci@vger.kernel.org
49794984
S: Supported
49804985
F: Documentation/PCI/pci-error-recovery.txt

‎arch/alpha/include/asm/unistd.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,10 +457,12 @@
457457
#define __NR_clock_adjtime 499
458458
#define __NR_syncfs 500
459459
#define __NR_setns 501
460+
#define __NR_accept4 502
461+
#define __NR_sendmmsg 503
460462

461463
#ifdef __KERNEL__
462464

463-
#define NR_SYSCALLS 502
465+
#define NR_SYSCALLS 504
464466

465467
#define __ARCH_WANT_IPC_PARSE_VERSION
466468
#define __ARCH_WANT_OLD_READDIR

‎arch/alpha/kernel/systbls.S‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,8 @@ sys_call_table:
520520
.quad sys_clock_adjtime
521521
.quad sys_syncfs /* 500 */
522522
.quad sys_setns
523+
.quad sys_accept4
524+
.quad sys_sendmmsg
523525

524526
.size sys_call_table, . - sys_call_table
525527
.type sys_call_table, @object

‎arch/arm/mach-imx/mach-mx27_3ds.c‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ static struct regulator_init_data gpo_init = {
241241
};
242242

243243
static struct regulator_consumer_supply vmmc1_consumers[] = {
244-
REGULATOR_SUPPLY("lcd_2v8", NULL),
244+
REGULATOR_SUPPLY("vcore", "spi0.0"),
245245
};
246246

247247
static struct regulator_init_data vmmc1_init = {
@@ -257,7 +257,7 @@ static struct regulator_init_data vmmc1_init = {
257257
};
258258

259259
static struct regulator_consumer_supply vgen_consumers[] = {
260-
REGULATOR_SUPPLY("vdd_lcdio", NULL),
260+
REGULATOR_SUPPLY("vdd", "spi0.0"),
261261
};
262262

263263
static struct regulator_init_data vgen_init = {
@@ -348,8 +348,6 @@ static const struct imx_fb_platform_data mx27_3ds_fb_data __initconst = {
348348
static struct l4f00242t03_pdata mx27_3ds_lcd_pdata = {
349349
.reset_gpio = LCD_RESET,
350350
.data_enable_gpio = LCD_ENABLE,
351-
.core_supply = "lcd_2v8",
352-
.io_supply = "vdd_lcdio",
353351
};
354352

355353
static struct spi_board_info mx27_3ds_spi_devs[] __initdata = {

‎arch/arm/mach-imx/mach-mx31_3ds.c‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,6 @@ static struct mx3fb_platform_data mx3fb_pdata __initdata = {
285285
static struct l4f00242t03_pdata mx31_3ds_l4f00242t03_pdata = {
286286
.reset_gpio = IOMUX_TO_GPIO(MX31_PIN_LCS1),
287287
.data_enable_gpio = IOMUX_TO_GPIO(MX31_PIN_SER_RS),
288-
.core_supply = "lcd_2v8",
289-
.io_supply = "vdd_lcdio",
290288
};
291289

292290
/*
@@ -411,7 +409,7 @@ static struct regulator_init_data vmmc2_init = {
411409
};
412410

413411
static struct regulator_consumer_supply vmmc1_consumers[] = {
414-
REGULATOR_SUPPLY("lcd_2v8", NULL),
412+
REGULATOR_SUPPLY("vcore", "spi0.0"),
415413
REGULATOR_SUPPLY("cmos_2v8", "soc-camera-pdrv.0"),
416414
};
417415

@@ -428,7 +426,7 @@ static struct regulator_init_data vmmc1_init = {
428426
};
429427

430428
static struct regulator_consumer_supply vgen_consumers[] = {
431-
REGULATOR_SUPPLY("vdd_lcdio", NULL),
429+
REGULATOR_SUPPLY("vdd", "spi0.0"),
432430
};
433431

434432
static struct regulator_init_data vgen_init = {

‎arch/cris/arch-v10/kernel/kgdb.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ mem2hex(char *buf, unsigned char *mem, int count)
694694
/* Valid mem address. */
695695
for (i = 0; i < count; i++) {
696696
ch = *mem++;
697-
buf = pack_hex_byte(buf, ch);
697+
buf = hex_byte_pack(buf, ch);
698698
}
699699
}
700700

@@ -868,7 +868,7 @@ stub_is_stopped(int sigval)
868868
/* Send trap type (converted to signal) */
869869

870870
*ptr++ = 'T';
871-
ptr = pack_hex_byte(ptr, sigval);
871+
ptr = hex_byte_pack(ptr, sigval);
872872

873873
/* Send register contents. We probably only need to send the
874874
* PC, frame pointer and stack pointer here. Other registers will be
@@ -881,7 +881,7 @@ stub_is_stopped(int sigval)
881881
status = read_register (regno, &reg_cont);
882882

883883
if (status == SUCCESS) {
884-
ptr = pack_hex_byte(ptr, regno);
884+
ptr = hex_byte_pack(ptr, regno);
885885
*ptr++ = ':';
886886

887887
ptr = mem2hex(ptr, (unsigned char *)&reg_cont,

‎arch/cris/arch-v32/kernel/kgdb.c‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ mem2hex(char *buf, unsigned char *mem, int count)
677677
/* Valid mem address. */
678678
for (i = 0; i < count; i++) {
679679
ch = *mem++;
680-
buf = pack_hex_byte(buf, ch);
680+
buf = hex_byte_pack(buf, ch);
681681
}
682682
}
683683
/* Terminate properly. */
@@ -695,7 +695,7 @@ mem2hex_nbo(char *buf, unsigned char *mem, int count)
695695
mem += count - 1;
696696
for (i = 0; i < count; i++) {
697697
ch = *mem--;
698-
buf = pack_hex_byte(buf, ch);
698+
buf = hex_byte_pack(buf, ch);
699699
}
700700

701701
/* Terminate properly. */
@@ -880,7 +880,7 @@ stub_is_stopped(int sigval)
880880
/* Send trap type (converted to signal) */
881881

882882
*ptr++ = 'T';
883-
ptr = pack_hex_byte(ptr, sigval);
883+
ptr = hex_byte_pack(ptr, sigval);
884884

885885
if (((reg.exs & 0xff00) >> 8) == 0xc) {
886886

@@ -988,26 +988,26 @@ stub_is_stopped(int sigval)
988988
}
989989
/* Only send PC, frame and stack pointer. */
990990
read_register(PC, &reg_cont);
991-
ptr = pack_hex_byte(ptr, PC);
991+
ptr = hex_byte_pack(ptr, PC);
992992
*ptr++ = ':';
993993
ptr = mem2hex(ptr, (unsigned char *)&reg_cont, register_size[PC]);
994994
*ptr++ = ';';
995995

996996
read_register(R8, &reg_cont);
997-
ptr = pack_hex_byte(ptr, R8);
997+
ptr = hex_byte_pack(ptr, R8);
998998
*ptr++ = ':';
999999
ptr = mem2hex(ptr, (unsigned char *)&reg_cont, register_size[R8]);
10001000
*ptr++ = ';';
10011001

10021002
read_register(SP, &reg_cont);
1003-
ptr = pack_hex_byte(ptr, SP);
1003+
ptr = hex_byte_pack(ptr, SP);
10041004
*ptr++ = ':';
10051005
ptr = mem2hex(ptr, (unsigned char *)&reg_cont, register_size[SP]);
10061006
*ptr++ = ';';
10071007

10081008
/* Send ERP as well; this will save us an entire register fetch in some cases. */
10091009
read_register(ERP, &reg_cont);
1010-
ptr = pack_hex_byte(ptr, ERP);
1010+
ptr = hex_byte_pack(ptr, ERP);
10111011
*ptr++ = ':';
10121012
ptr = mem2hex(ptr, (unsigned char *)&reg_cont, register_size[ERP]);
10131013
*ptr++ = ';';

0 commit comments

Comments
 (0)