linux/arch/cris/include/asm
Niklas Cassel 4c241d3c7b cris: use generic io.h
fixes the warning:

lib/iomap.c: In function ‘ioread8_rep’:
./arch/cris/include/asm/io.h:139:31: warning: statement with no effect [-Wunused-value]
 #define insb(port,addr,count) (cris_iops ? cris_iops->read_io(port,addr,1,count) : 0)
                               ^
lib/iomap.c:56:3: note: in definition of macro ‘IO_COND’
   is_pio;      \
   ^
lib/iomap.c:197:16: note: in expansion of macro ‘insb’
  IO_COND(addr, insb(port,dst,count), mmio_insb(addr, dst, count));
                ^

cris_iops was previously set to NULL (no matter if CONFIG_PCI was set or
not), but was removed in commit ab28e96fd1 ("CRIS v32: remove old GPIO
and LEDs code"). Before commit ab28e96fd1 ("CRIS v32: remove old GPIO
and LEDs code"), cris_iops could have been set from an external module,
since it was exported, but as commit c24bf9b4cc ("CRIS: fix I/O
macros") noted, the macros using cris_iops have been broken since first
included, so they could never have worked.

Because of this, instead of readding cris_iops, remove all special
handling of cris_iops. By doing so, we can rely on the default
implementation of almost all functions previously defined in our arch
specific io.h.

Signed-off-by: Niklas Cassel <nks@flawful.org>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
2016-09-22 16:44:57 +02:00
..
asm-offsets.h
axisflashmap.h
bitops.h CRIS: use generic atomic bitops 2015-03-25 10:55:35 +01:00
bug.h
bugs.h
cache.h
cacheflush.h
checksum.h ipv4: Update parameters for csum_tcpudp_magic to their original types 2016-03-13 23:55:13 -04:00
current.h
delay.h
dma-mapping.h dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
dma.h
eshlibld.h CRIS: Drop code related to obsolete or unused kconfigs 2015-11-02 20:03:05 +01:00
etraxi2c.h
fasttimer.h
fb.h
ftrace.h
hw_irq.h
io.h cris: use generic io.h 2016-09-22 16:44:57 +02:00
irq.h
irqflags.h
Kbuild Merge branch 'strscpy' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2015-10-04 16:31:13 +01:00
mmu_context.h CRIS: fix switch_mm() lockdep splat 2015-09-05 00:56:50 +02:00
mmu.h
mutex.h
page.h mm/CRIS: clean up unused VALID_PAGE() 2013-07-03 16:07:39 -07:00
pci.h PCI: Move pci_dma_* helpers to common code 2016-03-07 10:40:02 -06:00
pgalloc.h tree wide: get rid of __GFP_REPEAT for order-0 allocations part I 2016-06-24 17:23:52 -07:00
pgtable.h mm: make FIRST_USER_ADDRESS unsigned long on all archs 2015-02-11 17:06:03 -08:00
processor.h arch, locking: Ciao arch_mutex_cpu_relax() 2014-07-17 12:32:47 +02:00
ptrace.h
segment.h
serial.h
shmparam.h
signal.h
stacktrace.h CRIS: add STACKTRACE_SUPPORT 2015-09-05 00:56:50 +02:00
string.h
swab.h
switch_to.h
termios.h
thread_info.h arch: Remove exec_domain from remaining archs 2015-04-12 21:03:30 +02:00
timex.h
tlb.h
tlbflush.h CRIS: remove SMP code 2015-03-25 10:55:10 +01:00
uaccess.h cris: buggered copy_from_user/copy_to_user/clear_user 2016-09-13 17:49:38 -04:00
ucontext.h
unaligned.h
unistd.h CRIS: Wire up missing syscalls 2015-09-05 00:33:25 +02:00
user.h