Skip to content

Commit

Permalink
sections: fix section conflicts in arch/h8300
Browse files Browse the repository at this point in the history
[[email protected]: checkpatch fixes]
Signed-off-by: Andi Kleen <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Andi Kleen authored and torvalds committed Oct 5, 2012
1 parent 3f3247d commit 1058ce2
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions arch/h8300/kernel/sys_h8300.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ asmlinkage void syscall_print(void *dummy,...)
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
*/
asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
Expand Down
2 changes: 1 addition & 1 deletion arch/h8300/kernel/timer/itu.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static struct irqaction itu_irq = {
.flags = IRQF_DISABLED | IRQF_TIMER,
};

static const int __initdata divide_rate[] = {1, 2, 4, 8};
static const int __initconst divide_rate[] = {1, 2, 4, 8};

void __init h8300_timer_setup(void)
{
Expand Down
2 changes: 1 addition & 1 deletion arch/h8300/kernel/timer/timer16.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static struct irqaction timer16_irq = {
.flags = IRQF_DISABLED | IRQF_TIMER,
};

static const int __initdata divide_rate[] = {1, 2, 4, 8};
static const int __initconst divide_rate[] = {1, 2, 4, 8};

void __init h8300_timer_setup(void)
{
Expand Down
2 changes: 1 addition & 1 deletion arch/h8300/kernel/timer/timer8.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static struct irqaction timer8_irq = {
.flags = IRQF_DISABLED | IRQF_TIMER,
};

static const int __initdata divide_rate[] = {8, 64, 8192};
static const int __initconst divide_rate[] = {8, 64, 8192};

void __init h8300_timer_setup(void)
{
Expand Down
2 changes: 1 addition & 1 deletion arch/h8300/kernel/timer/tpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ static struct irqaction tpu_irq = {
.flags = IRQF_DISABLED | IRQF_TIMER,
};

static const int __initdata divide_rate[] = {
static const int __initconst divide_rate[] = {
#if CONFIG_H8300_TPU_CH == 0
1,4,16,64,0,0,0,0,
#elif (CONFIG_H8300_TPU_CH == 1) || (CONFIG_H8300_TPU_CH == 5)
Expand Down
4 changes: 2 additions & 2 deletions arch/h8300/platform/h8300h/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
#include <asm/gpio-internal.h>
#include <asm/regs306x.h>

const int __initdata h8300_saved_vectors[] = {
const int __initconst h8300_saved_vectors[] = {
#if defined(CONFIG_GDB_DEBUG)
TRAP3_VEC, /* TRAPA #3 is GDB breakpoint */
#endif
-1,
};

const h8300_vector __initdata h8300_trap_table[] = {
const h8300_vector __initconst h8300_trap_table[] = {
0, 0, 0, 0, 0, 0, 0, 0,
system_call,
0,
Expand Down
4 changes: 2 additions & 2 deletions arch/h8300/platform/h8s/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <asm/regs267x.h>

/* saved vector list */
const int __initdata h8300_saved_vectors[]={
const int __initconst h8300_saved_vectors[] = {
#if defined(CONFIG_GDB_DEBUG)
TRACE_VEC,
TRAP3_VEC,
Expand All @@ -27,7 +27,7 @@ const int __initdata h8300_saved_vectors[]={
};

/* trap entry table */
const H8300_VECTOR __initdata h8300_trap_table[] = {
const H8300_VECTOR __initconst h8300_trap_table[] = {
0,0,0,0,0,
trace_break, /* TRACE */
0,0,
Expand Down

0 comments on commit 1058ce2

Please sign in to comment.