diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 20:08:56 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 20:08:56 -0400 |
| commit | 5f8fe4270e53d38421ba34c428c3b58933b48e50 (patch) | |
| tree | 2148a3ba1ec842d0d0ad8f3e3eb209eb6eba673d /arch/cris/kernel | |
| parent | d9fbd9a2cd5ac1b286a7d7cdb1a180ce1edaee2f (diff) | |
| parent | 24924ece4482d5466ffcd0affedce63816c88e53 (diff) | |
Merge branch 'for-linus' of git://repo.or.cz/cris-mirror
* 'for-linus' of git://repo.or.cz/cris-mirror:
CRIS: Cleanup linker script using new linker script macros.
ARRAY_SIZE changes
CRIS: convert to asm-generic/hardirq.h
CRISv10: Don't autonegotiate if autonegotiation is off
CRIS: fix defconfig build failure
CRIS: add pgprot_noncached
Diffstat (limited to 'arch/cris/kernel')
| -rw-r--r-- | arch/cris/kernel/irq.c | 5 | ||||
| -rw-r--r-- | arch/cris/kernel/vmlinux.lds.S | 37 |
2 files changed, 8 insertions, 34 deletions
diff --git a/arch/cris/kernel/irq.c b/arch/cris/kernel/irq.c index 7f642fcffbfc..0ca7d9892cc6 100644 --- a/arch/cris/kernel/irq.c +++ b/arch/cris/kernel/irq.c | |||
| @@ -38,11 +38,6 @@ | |||
| 38 | 38 | ||
| 39 | #include <asm/io.h> | 39 | #include <asm/io.h> |
| 40 | 40 | ||
| 41 | void ack_bad_irq(unsigned int irq) | ||
| 42 | { | ||
| 43 | printk("unexpected IRQ trap at vector %02x\n", irq); | ||
| 44 | } | ||
| 45 | |||
| 46 | int show_interrupts(struct seq_file *p, void *v) | 41 | int show_interrupts(struct seq_file *p, void *v) |
| 47 | { | 42 | { |
| 48 | int i = *(loff_t *) v, j; | 43 | int i = *(loff_t *) v, j; |
diff --git a/arch/cris/kernel/vmlinux.lds.S b/arch/cris/kernel/vmlinux.lds.S index 6c81836b9229..bbfda67d2907 100644 --- a/arch/cris/kernel/vmlinux.lds.S +++ b/arch/cris/kernel/vmlinux.lds.S | |||
| @@ -51,10 +51,7 @@ SECTIONS | |||
| 51 | _etext = . ; /* End of text section. */ | 51 | _etext = . ; /* End of text section. */ |
| 52 | __etext = .; | 52 | __etext = .; |
| 53 | 53 | ||
| 54 | . = ALIGN(4); /* Exception table. */ | 54 | EXCEPTION_TABLE(4) |
| 55 | __start___ex_table = .; | ||
| 56 | __ex_table : { *(__ex_table) } | ||
| 57 | __stop___ex_table = .; | ||
| 58 | 55 | ||
| 59 | RODATA | 56 | RODATA |
| 60 | 57 | ||
| @@ -67,36 +64,24 @@ SECTIONS | |||
| 67 | __edata = . ; /* End of data section. */ | 64 | __edata = . ; /* End of data section. */ |
| 68 | _edata = . ; | 65 | _edata = . ; |
| 69 | 66 | ||
| 70 | . = ALIGN(PAGE_SIZE); /* init_task and stack, must be aligned. */ | 67 | INIT_TASK_DATA_SECTION(PAGE_SIZE) |
| 71 | .data.init_task : { *(.data.init_task) } | ||
| 72 | 68 | ||
| 73 | . = ALIGN(PAGE_SIZE); /* Init code and data. */ | 69 | . = ALIGN(PAGE_SIZE); /* Init code and data. */ |
| 74 | __init_begin = .; | 70 | __init_begin = .; |
| 75 | .init.text : { | 71 | INIT_TEXT_SECTION(PAGE_SIZE) |
| 76 | _sinittext = .; | ||
| 77 | INIT_TEXT | ||
| 78 | _einittext = .; | ||
| 79 | } | ||
| 80 | .init.data : { INIT_DATA } | 72 | .init.data : { INIT_DATA } |
| 81 | . = ALIGN(16); | 73 | .init.setup : { INIT_SETUP(16) } |
| 82 | __setup_start = .; | ||
| 83 | .init.setup : { *(.init.setup) } | ||
| 84 | __setup_end = .; | ||
| 85 | #ifdef CONFIG_ETRAX_ARCH_V32 | 74 | #ifdef CONFIG_ETRAX_ARCH_V32 |
| 86 | __start___param = .; | 75 | __start___param = .; |
| 87 | __param : { *(__param) } | 76 | __param : { *(__param) } |
| 88 | __stop___param = .; | 77 | __stop___param = .; |
| 89 | #endif | 78 | #endif |
| 90 | .initcall.init : { | 79 | .initcall.init : { |
| 91 | __initcall_start = .; | 80 | INIT_CALLS |
| 92 | INITCALLS | ||
| 93 | __initcall_end = .; | ||
| 94 | } | 81 | } |
| 95 | 82 | ||
| 96 | .con_initcall.init : { | 83 | .con_initcall.init : { |
| 97 | __con_initcall_start = .; | 84 | CON_INITCALL |
| 98 | *(.con_initcall.init) | ||
| 99 | __con_initcall_end = .; | ||
| 100 | } | 85 | } |
| 101 | SECURITY_INIT | 86 | SECURITY_INIT |
| 102 | 87 | ||
| @@ -114,9 +99,7 @@ SECTIONS | |||
| 114 | PERCPU(PAGE_SIZE) | 99 | PERCPU(PAGE_SIZE) |
| 115 | 100 | ||
| 116 | .init.ramfs : { | 101 | .init.ramfs : { |
| 117 | __initramfs_start = .; | 102 | INIT_RAM_FS |
| 118 | *(.init.ramfs) | ||
| 119 | __initramfs_end = .; | ||
| 120 | } | 103 | } |
| 121 | #endif | 104 | #endif |
| 122 | 105 | ||
| @@ -130,11 +113,7 @@ SECTIONS | |||
| 130 | __init_end = .; | 113 | __init_end = .; |
| 131 | 114 | ||
| 132 | __data_end = . ; /* Move to _edata ? */ | 115 | __data_end = . ; /* Move to _edata ? */ |
| 133 | __bss_start = .; /* BSS. */ | 116 | BSS_SECTION(0, 0, 0) |
| 134 | .bss : { | ||
| 135 | *(COMMON) | ||
| 136 | *(.bss) | ||
| 137 | } | ||
| 138 | 117 | ||
| 139 | . = ALIGN (0x20); | 118 | . = ALIGN (0x20); |
| 140 | _end = .; | 119 | _end = .; |
