rapidio: modify initialization of switch operations
Modify the way how RapidIO switch operations are declared. Multiple assignments through the linker script replaced by single initialization call. Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com> Cc: Matt Porter <mporter@kernel.crashing.org> Cc: Li Yang <leoli@freescale.com> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Thomas Moll <thomas.moll@sysgo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
011507e49a
commit
058f88d672
@@ -248,12 +248,9 @@
|
||||
\
|
||||
/* RapidIO route ops */ \
|
||||
.rio_ops : AT(ADDR(.rio_ops) - LOAD_OFFSET) { \
|
||||
VMLINUX_SYMBOL(__start_rio_route_ops) = .; \
|
||||
*(.rio_route_ops) \
|
||||
VMLINUX_SYMBOL(__end_rio_route_ops) = .; \
|
||||
VMLINUX_SYMBOL(__start_rio_em_ops) = .; \
|
||||
*(.rio_em_ops) \
|
||||
VMLINUX_SYMBOL(__end_rio_em_ops) = .; \
|
||||
VMLINUX_SYMBOL(__start_rio_switch_ops) = .; \
|
||||
*(.rio_switch_ops) \
|
||||
VMLINUX_SYMBOL(__end_rio_switch_ops) = .; \
|
||||
} \
|
||||
\
|
||||
TRACEDATA \
|
||||
|
Reference in New Issue
Block a user