aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 14:40:58 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 14:40:58 -0400
commit80cc38b16389849a6e06441ace4530f6b2497c3c (patch)
tree1dabc02b0a1faa6b640de20e38aa31bb5d0c443f /arch
parent3366dd9fa887ebbda4872e9554f853eaeda764be (diff)
parent83a35e360433b58791bc9c4e288cace466d62e3a (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree updates from Jiri Kosina: "The usual stuff from trivial tree" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits) treewide: relase -> release Documentation/cgroups/memory.txt: fix stat file documentation sysctl/net.txt: delete reference to obsolete 2.4.x kernel spinlock_api_smp.h: fix preprocessor comments treewide: Fix typo in printk doc: device tree: clarify stuff in usage-model.txt. open firmware: "/aliasas" -> "/aliases" md: bcache: Fixed a typo with the word 'arithmetic' irq/generic-chip: fix a few kernel-doc entries frv: Convert use of typedef ctl_table to struct ctl_table sgi: xpc: Convert use of typedef ctl_table to struct ctl_table doc: clk: Fix incorrect wording Documentation/arm/IXP4xx fix a typo Documentation/networking/ieee802154 fix a typo Documentation/DocBook/media/v4l fix a typo Documentation/video4linux/si476x.txt fix a typo Documentation/virtual/kvm/api.txt fix a typo Documentation/early-userspace/README fix a typo Documentation/video4linux/soc-camera.txt fix a typo lguest: fix CONFIG_PAE -> CONFIG_x86_PAE in comment ...
Diffstat (limited to 'arch')
-rw-r--r--arch/frv/kernel/pm.c8
-rw-r--r--arch/frv/kernel/sysctl.c4
-rwxr-xr-xarch/powerpc/relocs_check.pl10
-rw-r--r--arch/x86/kernel/cpu/powerflags.c8
4 files changed, 15 insertions, 15 deletions
diff --git a/arch/frv/kernel/pm.c b/arch/frv/kernel/pm.c
index 0b579927439d..ac767d94a880 100644
--- a/arch/frv/kernel/pm.c
+++ b/arch/frv/kernel/pm.c
@@ -150,7 +150,7 @@ static int user_atoi(char __user *ubuf, size_t len)
150/* 150/*
151 * Send us to sleep. 151 * Send us to sleep.
152 */ 152 */
153static int sysctl_pm_do_suspend(ctl_table *ctl, int write, 153static int sysctl_pm_do_suspend(struct ctl_table *ctl, int write,
154 void __user *buffer, size_t *lenp, loff_t *fpos) 154 void __user *buffer, size_t *lenp, loff_t *fpos)
155{ 155{
156 int mode; 156 int mode;
@@ -197,7 +197,7 @@ static int try_set_cmode(int new_cmode)
197} 197}
198 198
199 199
200static int cmode_procctl(ctl_table *ctl, int write, 200static int cmode_procctl(struct ctl_table *ctl, int write,
201 void __user *buffer, size_t *lenp, loff_t *fpos) 201 void __user *buffer, size_t *lenp, loff_t *fpos)
202{ 202{
203 int new_cmode; 203 int new_cmode;
@@ -269,7 +269,7 @@ static int try_set_cm(int new_cm)
269 return 0; 269 return 0;
270} 270}
271 271
272static int p0_procctl(ctl_table *ctl, int write, 272static int p0_procctl(struct ctl_table *ctl, int write,
273 void __user *buffer, size_t *lenp, loff_t *fpos) 273 void __user *buffer, size_t *lenp, loff_t *fpos)
274{ 274{
275 int new_p0; 275 int new_p0;
@@ -282,7 +282,7 @@ static int p0_procctl(ctl_table *ctl, int write,
282 return try_set_p0(new_p0)?:*lenp; 282 return try_set_p0(new_p0)?:*lenp;
283} 283}
284 284
285static int cm_procctl(ctl_table *ctl, int write, 285static int cm_procctl(struct ctl_table *ctl, int write,
286 void __user *buffer, size_t *lenp, loff_t *fpos) 286 void __user *buffer, size_t *lenp, loff_t *fpos)
287{ 287{
288 int new_cm; 288 int new_cm;
diff --git a/arch/frv/kernel/sysctl.c b/arch/frv/kernel/sysctl.c
index 6c155d69da29..f4dfae2c75ad 100644
--- a/arch/frv/kernel/sysctl.c
+++ b/arch/frv/kernel/sysctl.c
@@ -46,7 +46,7 @@ static void frv_change_dcache_mode(unsigned long newmode)
46/* 46/*
47 * handle requests to dynamically switch the write caching mode delivered by /proc 47 * handle requests to dynamically switch the write caching mode delivered by /proc
48 */ 48 */
49static int procctl_frv_cachemode(ctl_table *table, int write, 49static int procctl_frv_cachemode(struct ctl_table *table, int write,
50 void __user *buffer, size_t *lenp, 50 void __user *buffer, size_t *lenp,
51 loff_t *ppos) 51 loff_t *ppos)
52{ 52{
@@ -121,7 +121,7 @@ static int procctl_frv_cachemode(ctl_table *table, int write,
121 * permit the mm_struct the nominated process is using have its MMU context ID pinned 121 * permit the mm_struct the nominated process is using have its MMU context ID pinned
122 */ 122 */
123#ifdef CONFIG_MMU 123#ifdef CONFIG_MMU
124static int procctl_frv_pin_cxnr(ctl_table *table, int write, 124static int procctl_frv_pin_cxnr(struct ctl_table *table, int write,
125 void __user *buffer, size_t *lenp, 125 void __user *buffer, size_t *lenp,
126 loff_t *ppos) 126 loff_t *ppos)
127{ 127{
diff --git a/arch/powerpc/relocs_check.pl b/arch/powerpc/relocs_check.pl
index 7f5b83808862..3f46e8b9c56d 100755
--- a/arch/powerpc/relocs_check.pl
+++ b/arch/powerpc/relocs_check.pl
@@ -7,7 +7,7 @@
7# as published by the Free Software Foundation; either version 7# as published by the Free Software Foundation; either version
8# 2 of the License, or (at your option) any later version. 8# 2 of the License, or (at your option) any later version.
9 9
10# This script checks the relcoations of a vmlinux for "suspicious" 10# This script checks the relocations of a vmlinux for "suspicious"
11# relocations. 11# relocations.
12 12
13use strict; 13use strict;
@@ -28,7 +28,7 @@ open(FD, "$objdump -R $vmlinux|") or die;
28while (<FD>) { 28while (<FD>) {
29 study $_; 29 study $_;
30 30
31 # Only look at relcoation lines. 31 # Only look at relocation lines.
32 next if (!/\s+R_/); 32 next if (!/\s+R_/);
33 33
34 # These relocations are okay 34 # These relocations are okay
@@ -45,7 +45,7 @@ while (<FD>) {
45 /\bR_PPC_ADDR16_HA\b/ or /\bR_PPC_RELATIVE\b/ or 45 /\bR_PPC_ADDR16_HA\b/ or /\bR_PPC_RELATIVE\b/ or
46 /\bR_PPC_NONE\b/); 46 /\bR_PPC_NONE\b/);
47 47
48 # If we see this type of relcoation it's an idication that 48 # If we see this type of relocation it's an idication that
49 # we /may/ be using an old version of binutils. 49 # we /may/ be using an old version of binutils.
50 if (/R_PPC64_UADDR64/) { 50 if (/R_PPC64_UADDR64/) {
51 $old_binutils++; 51 $old_binutils++;
@@ -61,6 +61,6 @@ if ($bad_relocs_count) {
61} 61}
62 62
63if ($old_binutils) { 63if ($old_binutils) {
64 print "WARNING: You need at binutils >= 2.19 to build a ". 64 print "WARNING: You need at least binutils >= 2.19 to build a ".
65 "CONFIG_RELCOATABLE kernel\n"; 65 "CONFIG_RELOCATABLE kernel\n";
66} 66}
diff --git a/arch/x86/kernel/cpu/powerflags.c b/arch/x86/kernel/cpu/powerflags.c
index 7b3fe56b1c21..31f0f335ed22 100644
--- a/arch/x86/kernel/cpu/powerflags.c
+++ b/arch/x86/kernel/cpu/powerflags.c
@@ -11,10 +11,10 @@ const char *const x86_power_flags[32] = {
11 "fid", /* frequency id control */ 11 "fid", /* frequency id control */
12 "vid", /* voltage id control */ 12 "vid", /* voltage id control */
13 "ttp", /* thermal trip */ 13 "ttp", /* thermal trip */
14 "tm", 14 "tm", /* hardware thermal control */
15 "stc", 15 "stc", /* software thermal control */
16 "100mhzsteps", 16 "100mhzsteps", /* 100 MHz multiplier control */
17 "hwpstate", 17 "hwpstate", /* hardware P-state control */
18 "", /* tsc invariant mapped to constant_tsc */ 18 "", /* tsc invariant mapped to constant_tsc */
19 "cpb", /* core performance boost */ 19 "cpb", /* core performance boost */
20 "eff_freq_ro", /* Readonly aperf/mperf */ 20 "eff_freq_ro", /* Readonly aperf/mperf */