diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 14:09:16 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 14:09:16 -0400 |
| commit | 11126c611e10abb18b6f1ed0300c0548c3906b54 (patch) | |
| tree | 246227ad730c1e68f5a9c03db57cd4592abe7687 /arch/h8300 | |
| parent | 67966e088b0c7dc926f4ce19565ebf208e18d058 (diff) | |
| parent | 33e2a4227ddff7c18921ac175fae3ab0e3ff8a76 (diff) | |
Merge branch 'akpm' (Andrew's patch-bomb)
Merge misc patches from Andrew Morton:
"The MM tree is rather stuck while I wait to find out what the heck is
happening with sched/numa. Probably I'll need to route around all the
code which was added to -next, sigh.
So this is "everything else", or at least most of it - other small
bits are still awaiting resolutions of various kinds."
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (180 commits)
lib/decompress.c add __init to decompress_method and data
kernel/resource.c: fix stack overflow in __reserve_region_with_split()
omfs: convert to use beXX_add_cpu()
taskstats: cgroupstats_user_cmd() may leak on error
aoe: update aoe-internal version number to 50
aoe: update documentation to better reflect aoe-plus-udev usage
aoe: remove unused code
aoe: make dynamic block minor numbers the default
aoe: update and specify AoE address guards and error messages
aoe: retain static block device numbers for backwards compatibility
aoe: support more AoE addresses with dynamic block device minor numbers
aoe: update documentation with new URL and VM settings reference
aoe: update copyright year in touched files
aoe: update internal version number to 49
aoe: remove unused code and add cosmetic improvements
aoe: increase net_device reference count while using it
aoe: associate frames with the AoE storage target
aoe: disallow unsupported AoE minor addresses
aoe: do revalidation steps in order
aoe: failover remote interface based on aoe_deadsecs parameter
...
Diffstat (limited to 'arch/h8300')
| -rw-r--r-- | arch/h8300/include/asm/elf.h | 3 | ||||
| -rw-r--r-- | arch/h8300/kernel/sys_h8300.c | 1 | ||||
| -rw-r--r-- | arch/h8300/kernel/timer/itu.c | 2 | ||||
| -rw-r--r-- | arch/h8300/kernel/timer/timer16.c | 2 | ||||
| -rw-r--r-- | arch/h8300/kernel/timer/timer8.c | 2 | ||||
| -rw-r--r-- | arch/h8300/kernel/timer/tpu.c | 2 | ||||
| -rw-r--r-- | arch/h8300/platform/h8300h/irq.c | 4 | ||||
| -rw-r--r-- | arch/h8300/platform/h8s/irq.c | 4 |
8 files changed, 11 insertions, 9 deletions
diff --git a/arch/h8300/include/asm/elf.h b/arch/h8300/include/asm/elf.h index c24fa250d653..41193c396bff 100644 --- a/arch/h8300/include/asm/elf.h +++ b/arch/h8300/include/asm/elf.h | |||
| @@ -54,7 +54,8 @@ typedef unsigned long elf_fpregset_t; | |||
| 54 | 54 | ||
| 55 | #define ELF_PLATFORM (NULL) | 55 | #define ELF_PLATFORM (NULL) |
| 56 | 56 | ||
| 57 | #define SET_PERSONALITY(ex) set_personality(PER_LINUX) | 57 | #define SET_PERSONALITY(ex) \ |
| 58 | set_personality(PER_LINUX | (current->personality & (~PER_MASK))) | ||
| 58 | 59 | ||
| 59 | #define R_H8_NONE 0 | 60 | #define R_H8_NONE 0 |
| 60 | #define R_H8_DIR32 1 | 61 | #define R_H8_DIR32 1 |
diff --git a/arch/h8300/kernel/sys_h8300.c b/arch/h8300/kernel/sys_h8300.c index aaf5e5a48f93..4bdc7311784e 100644 --- a/arch/h8300/kernel/sys_h8300.c +++ b/arch/h8300/kernel/sys_h8300.c | |||
| @@ -51,6 +51,7 @@ asmlinkage void syscall_print(void *dummy,...) | |||
| 51 | * Do a system call from kernel instead of calling sys_execve so we | 51 | * Do a system call from kernel instead of calling sys_execve so we |
| 52 | * end up with proper pt_regs. | 52 | * end up with proper pt_regs. |
| 53 | */ | 53 | */ |
| 54 | asmlinkage | ||
| 54 | int kernel_execve(const char *filename, | 55 | int kernel_execve(const char *filename, |
| 55 | const char *const argv[], | 56 | const char *const argv[], |
| 56 | const char *const envp[]) | 57 | const char *const envp[]) |
diff --git a/arch/h8300/kernel/timer/itu.c b/arch/h8300/kernel/timer/itu.c index a2ae5e952137..0a8b5cd5bf38 100644 --- a/arch/h8300/kernel/timer/itu.c +++ b/arch/h8300/kernel/timer/itu.c | |||
| @@ -62,7 +62,7 @@ static struct irqaction itu_irq = { | |||
| 62 | .flags = IRQF_DISABLED | IRQF_TIMER, | 62 | .flags = IRQF_DISABLED | IRQF_TIMER, |
| 63 | }; | 63 | }; |
| 64 | 64 | ||
| 65 | static const int __initdata divide_rate[] = {1, 2, 4, 8}; | 65 | static const int __initconst divide_rate[] = {1, 2, 4, 8}; |
| 66 | 66 | ||
| 67 | void __init h8300_timer_setup(void) | 67 | void __init h8300_timer_setup(void) |
| 68 | { | 68 | { |
diff --git a/arch/h8300/kernel/timer/timer16.c b/arch/h8300/kernel/timer/timer16.c index ae0d38161139..462d9f581719 100644 --- a/arch/h8300/kernel/timer/timer16.c +++ b/arch/h8300/kernel/timer/timer16.c | |||
| @@ -57,7 +57,7 @@ static struct irqaction timer16_irq = { | |||
| 57 | .flags = IRQF_DISABLED | IRQF_TIMER, | 57 | .flags = IRQF_DISABLED | IRQF_TIMER, |
| 58 | }; | 58 | }; |
| 59 | 59 | ||
| 60 | static const int __initdata divide_rate[] = {1, 2, 4, 8}; | 60 | static const int __initconst divide_rate[] = {1, 2, 4, 8}; |
| 61 | 61 | ||
| 62 | void __init h8300_timer_setup(void) | 62 | void __init h8300_timer_setup(void) |
| 63 | { | 63 | { |
diff --git a/arch/h8300/kernel/timer/timer8.c b/arch/h8300/kernel/timer/timer8.c index 7a1533fad47d..505f3415b40f 100644 --- a/arch/h8300/kernel/timer/timer8.c +++ b/arch/h8300/kernel/timer/timer8.c | |||
| @@ -77,7 +77,7 @@ static struct irqaction timer8_irq = { | |||
| 77 | .flags = IRQF_DISABLED | IRQF_TIMER, | 77 | .flags = IRQF_DISABLED | IRQF_TIMER, |
| 78 | }; | 78 | }; |
| 79 | 79 | ||
| 80 | static const int __initdata divide_rate[] = {8, 64, 8192}; | 80 | static const int __initconst divide_rate[] = {8, 64, 8192}; |
| 81 | 81 | ||
| 82 | void __init h8300_timer_setup(void) | 82 | void __init h8300_timer_setup(void) |
| 83 | { | 83 | { |
diff --git a/arch/h8300/kernel/timer/tpu.c b/arch/h8300/kernel/timer/tpu.c index 2193a2e2859a..0350f6204ecf 100644 --- a/arch/h8300/kernel/timer/tpu.c +++ b/arch/h8300/kernel/timer/tpu.c | |||
| @@ -66,7 +66,7 @@ static struct irqaction tpu_irq = { | |||
| 66 | .flags = IRQF_DISABLED | IRQF_TIMER, | 66 | .flags = IRQF_DISABLED | IRQF_TIMER, |
| 67 | }; | 67 | }; |
| 68 | 68 | ||
| 69 | static const int __initdata divide_rate[] = { | 69 | static const int __initconst divide_rate[] = { |
| 70 | #if CONFIG_H8300_TPU_CH == 0 | 70 | #if CONFIG_H8300_TPU_CH == 0 |
| 71 | 1,4,16,64,0,0,0,0, | 71 | 1,4,16,64,0,0,0,0, |
| 72 | #elif (CONFIG_H8300_TPU_CH == 1) || (CONFIG_H8300_TPU_CH == 5) | 72 | #elif (CONFIG_H8300_TPU_CH == 1) || (CONFIG_H8300_TPU_CH == 5) |
diff --git a/arch/h8300/platform/h8300h/irq.c b/arch/h8300/platform/h8300h/irq.c index bc4f51bceef5..0a50353e09d5 100644 --- a/arch/h8300/platform/h8300h/irq.c +++ b/arch/h8300/platform/h8300h/irq.c | |||
| @@ -14,14 +14,14 @@ | |||
| 14 | #include <asm/gpio-internal.h> | 14 | #include <asm/gpio-internal.h> |
| 15 | #include <asm/regs306x.h> | 15 | #include <asm/regs306x.h> |
| 16 | 16 | ||
| 17 | const int __initdata h8300_saved_vectors[] = { | 17 | const int __initconst h8300_saved_vectors[] = { |
| 18 | #if defined(CONFIG_GDB_DEBUG) | 18 | #if defined(CONFIG_GDB_DEBUG) |
| 19 | TRAP3_VEC, /* TRAPA #3 is GDB breakpoint */ | 19 | TRAP3_VEC, /* TRAPA #3 is GDB breakpoint */ |
| 20 | #endif | 20 | #endif |
| 21 | -1, | 21 | -1, |
| 22 | }; | 22 | }; |
| 23 | 23 | ||
| 24 | const h8300_vector __initdata h8300_trap_table[] = { | 24 | const h8300_vector __initconst h8300_trap_table[] = { |
| 25 | 0, 0, 0, 0, 0, 0, 0, 0, | 25 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 26 | system_call, | 26 | system_call, |
| 27 | 0, | 27 | 0, |
diff --git a/arch/h8300/platform/h8s/irq.c b/arch/h8300/platform/h8s/irq.c index 7b5f29febc07..f3a5511c16b1 100644 --- a/arch/h8300/platform/h8s/irq.c +++ b/arch/h8300/platform/h8s/irq.c | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | #include <asm/regs267x.h> | 18 | #include <asm/regs267x.h> |
| 19 | 19 | ||
| 20 | /* saved vector list */ | 20 | /* saved vector list */ |
| 21 | const int __initdata h8300_saved_vectors[]={ | 21 | const int __initconst h8300_saved_vectors[] = { |
| 22 | #if defined(CONFIG_GDB_DEBUG) | 22 | #if defined(CONFIG_GDB_DEBUG) |
| 23 | TRACE_VEC, | 23 | TRACE_VEC, |
| 24 | TRAP3_VEC, | 24 | TRAP3_VEC, |
| @@ -27,7 +27,7 @@ const int __initdata h8300_saved_vectors[]={ | |||
| 27 | }; | 27 | }; |
| 28 | 28 | ||
| 29 | /* trap entry table */ | 29 | /* trap entry table */ |
| 30 | const H8300_VECTOR __initdata h8300_trap_table[] = { | 30 | const H8300_VECTOR __initconst h8300_trap_table[] = { |
| 31 | 0,0,0,0,0, | 31 | 0,0,0,0,0, |
| 32 | trace_break, /* TRACE */ | 32 | trace_break, /* TRACE */ |
| 33 | 0,0, | 33 | 0,0, |
