kernel-fxtec-pro1x/arch/blackfin/include/asm
David Howells 786d35d45c Make most arch asm/module.h files use asm-generic/module.h
Use the mapping of Elf_[SPE]hdr, Elf_Addr, Elf_Sym, Elf_Dyn, Elf_Rel/Rela,
ELF_R_TYPE() and ELF_R_SYM() to either the 32-bit version or the 64-bit version
into asm-generic/module.h for all arches bar MIPS.

Also, use the generic definition mod_arch_specific where possible.

To this end, I've defined three new config bools:

 (*) HAVE_MOD_ARCH_SPECIFIC

     Arches define this if they don't want to use the empty generic
     mod_arch_specific struct.

 (*) MODULES_USE_ELF_RELA

     Arches define this if their modules can contain RELA records.  This causes
     the Elf_Rela mapping to be emitted and allows apply_relocate_add() to be
     defined by the arch rather than have the core emit an error message.

 (*) MODULES_USE_ELF_REL

     Arches define this if their modules can contain REL records.  This causes
     the Elf_Rel mapping to be emitted and allows apply_relocate() to be
     defined by the arch rather than have the core emit an error message.

Note that it is possible to allow both REL and RELA records: m68k and mips are
two arches that do this.

With this, some arch asm/module.h files can be deleted entirely and replaced
with a generic-y marker in the arch Kbuild file.

Additionally, I have removed the bits from m32r and score that handle the
unsupported type of relocation record as that's now handled centrally.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-09-28 14:31:03 +09:30
..
asm-offsets.h kbuild: move asm-offsets.h to include/generated 2009-12-12 13:08:14 +01:00
atomic.h Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
barrier.h Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
bfin-global.h bfin: add 32M, 16M and 8M uncached DMA region options 2012-07-24 13:39:48 +08:00
bfin-lq035q1.h Blackfin: extend bfin-lq035q1-fb resources to include PPI mode 2010-03-09 00:30:46 -05:00
bfin5xx_spi.h spi/bfin_spi: drop bits_per_word from client data 2012-03-21 11:00:07 +08:00
bfin6xx_spi.h blackfin: add spi/sport3/ppi head file for bf60x 2012-05-21 14:54:18 +08:00
bfin_can.h Blackfin: bfin_can.h: add missing VERSION/VERSION2 MMRs 2010-10-22 16:30:03 -04:00
bfin_crc.h bf60x: bfin_crc: move structure bfin_crc out of head file. 2012-07-24 13:39:48 +08:00
bfin_dma.h blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
bfin_pfmon.h blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
bfin_ppi.h blackfin: add spi/sport3/ppi head file for bf60x 2012-05-21 14:54:18 +08:00
bfin_rotary.h blackfin: rotary: Add pm_wakeup flag to platform data structure. 2012-05-21 14:54:43 +08:00
bfin_sdh.h Blackfin: unify SDH/RSI bitmasks 2010-08-06 12:55:56 -04:00
bfin_serial.h bf60x: update anomaly id in serial and twi driver headers. 2012-07-24 13:39:52 +08:00
bfin_simple_timer.h bfin: simple_timer: add READ_COUNTER ioctl and add NOIRQ timer mode 2012-07-24 13:39:50 +08:00
bfin_sport.h blackfin: bf537-stamp: update board file for platform bfin_sport device 2012-05-21 14:54:28 +08:00
bfin_sport3.h blackfin: add spi/sport3/ppi head file for bf60x 2012-05-21 14:54:18 +08:00
bfin_twi.h blackfin: twi: read twi mmr via bfin_read macro 2012-07-24 13:39:53 +08:00
bfin_watchdog.h Blackfin: split watchdog definitions into a dedicated header file 2010-03-09 00:30:50 -05:00
bfrom.h
bitops.h Blackfin: bitops: fix include order after little endian inclusion 2011-03-25 16:54:13 -04:00
blackfin.h blackfin: asm: fix blackfin.h broken 2012-05-21 14:54:08 +08:00
bug.h Blackfin: change the BUG opcode to an unused 16-bit opcode 2010-05-22 14:19:04 -04:00
byteorder.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
cache.h Blackfin: SMP: fix build breakage in cache.h 2011-01-10 07:18:14 -05:00
cachectl.h Blackfin: add new cacheflush syscall 2010-10-22 03:48:59 -04:00
cacheflush.h Blackfin: don't attempt to flush on-chip L1 SRAM regions 2011-05-25 08:13:41 -04:00
cdef_LPBlackfin.h Blackfin: fix inverted anomaly 05000481 logic 2010-10-25 17:24:00 -04:00
checksum.h Blackfin: convert to generic checksum code 2009-12-15 00:13:32 -05:00
clkdev.h blackfin: bf60x: add clock support 2012-05-21 14:54:13 +08:00
clocks.h blackfin: bf60x: add clock support 2012-05-21 14:54:13 +08:00
cmpxchg.h blackfin: fix cmpxchg build fails from system.h fallout 2012-04-02 14:41:25 -07:00
context.S bfin: pm: add deepsleep for bf60x 2012-07-24 13:39:49 +08:00
cplb.h blackfin: cplb: add support for bf60x 2012-05-21 14:54:16 +08:00
cplbinit.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
cpu.h blackfin: smp: cleanup smp code 2012-01-09 10:26:15 +08:00
def_LPBlackfin.h blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
delay.h Blackfin: implement ndelay() 2010-03-09 00:30:50 -05:00
dma-mapping.h dma-mapping: remove dma_is_consistent API 2010-08-11 08:59:21 -07:00
dma.h blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
dpmc.h pm: dpmc macro typo fix 2012-07-24 13:39:48 +08:00
early_printk.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
elf.h Blackfin: stub fpregs dumping 2010-08-06 12:55:44 -04:00
entry.h m68k{nommu}/blackfin : remove old assembler-only flags bit definitions 2010-10-26 16:52:12 -07:00
exec.h Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
fcntl.h vfs: Implement proper O_SYNC semantics 2009-12-10 15:02:50 +01:00
fixed_code.h blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
flat.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
ftrace.h Blackfin: add support for dynamic ftrace 2010-08-06 12:55:54 -04:00
gpio.h bf60x: pm: add pint suspend and resume support 2012-07-24 13:39:51 +08:00
gptimers.h blackfin: bf60x: enable gptimer clock source 2012-05-21 14:54:20 +08:00
hardirq.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
io.h Blackfin: switch to asm-generic/io.h 2011-01-10 07:18:04 -05:00
ioctls.h
ipipe.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
ipipe_base.h Blackfin/ipipe: upgrade to I-pipe mainline 2011-03-18 04:01:10 -04:00
irq.h bf60x: pm: add pint suspend and resume support 2012-07-24 13:39:51 +08:00
irq_handler.h Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
irqflags.h blackfin: mach-common: add sec support for bf60x 2012-05-21 14:54:15 +08:00
Kbuild Blackfin: merge asm/mutex.h into kbuild too 2011-10-25 19:51:47 -04:00
kgdb.h blackfin: kgdb: skip hardware watchpoint test 2012-03-21 11:00:07 +08:00
kvm_para.h kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
l1layout.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
linkage.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
mem_init.h bfin: reorg clock init steps for bf609 2012-07-24 13:39:49 +08:00
mem_map.h
mmu.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
mmu_context.h blackfin: restore L1 base address and length 2012-03-21 11:00:06 +08:00
module.h Make most arch asm/module.h files use asm-generic/module.h 2012-09-28 14:31:03 +09:30
nand.h mtd: Blackfin NFC: fix handling of page sizes 2010-08-05 16:14:38 +01:00
nmi.h Blackfin: implement nmi_watchdog for SMP on BF561 2010-03-09 00:30:49 -05:00
page.h blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
page_offset.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
pci.h PCI: Pull PCI 'latency timer' setup up into the core 2012-01-06 12:10:42 -08:00
pda.h blackfin: SMP: pda: "next" field of blackfin_pda only used in SMP kernel 2012-05-21 14:54:36 +08:00
perf_event.h Blackfin: initial perf_event support 2011-05-25 08:24:09 -04:00
pgtable.h Blackfin: drop unused bad_page pages and move zero_page to the bss 2010-05-21 09:03:15 -04:00
pm.h blackfin: fix build after add bf60x mach/pm.h 2012-05-21 14:55:07 +08:00
poll.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
portmux.h Blackfin: gpio/portmux: clean up whitespace corruption 2010-08-06 12:55:51 -04:00
posix_types.h bury __kernel_nlink_t, make internal nlink_t consistent 2012-05-30 21:04:50 -04:00
processor.h fork: move the real prepare_to_copy() users to arch_dup_task_struct() 2012-05-16 15:16:26 -07:00
pseudo_instructions.h Blackfin: add support for the DBG (debug output) pseudo insn 2010-05-22 14:19:05 -04:00
ptrace.h ptrace: unify show_regs() prototype 2011-07-26 16:49:43 -07:00
reboot.h
rwlock.h
sections.h Blackfin: convert unicode space gremlins 2011-07-23 01:18:23 -04:00
segment.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
sigcontext.h Blackfin: convert unicode space gremlins 2011-07-23 01:18:23 -04:00
siginfo.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
signal.h
smp.h blackfin: smp: adapt to generic smp helpers 2012-09-07 17:54:56 +08:00
spinlock.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
spinlock_types.h locking: Convert raw_rwlock to arch_rwlock 2009-12-14 23:55:32 +01:00
stat.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
string.h Blackfin: move string functions to normal lib/ assembly 2010-05-22 14:19:09 -04:00
swab.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
switch_to.h Disintegrate asm/system.h for Blackfin [ver #2] 2012-03-21 11:00:08 +08:00
syscall.h Blackfin: initial tracehook support 2010-03-09 00:30:51 -05:00
thread_info.h whack-a-mole with TIF_FREEZE 2012-06-01 13:00:49 -04:00
time.h Blackfin: add support for cpufreq on SMP systems 2010-03-09 00:30:50 -05:00
timex.h
tlb.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
tlbflush.h Blackfin: SMP: add flush_tlb_kernel_range stub 2010-05-21 09:40:20 -04:00
trace.h Blackfin: make hardware trace output a little more useful 2010-05-21 09:40:19 -04:00
traps.h bf60x: Add double fault, hardware error and NMI SEC handler 2012-07-24 13:39:52 +08:00
uaccess.h Blackfin: fix sparse warnings in copy_to/from_user 2011-10-25 19:51:35 -04:00
unistd.h ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSION 2012-07-30 17:25:21 -07:00