android_kernel_xiaomi_sm8350/include/asm-generic
Ingo Molnar 38c052f8cf rtc: fix deadlock
if get_rtc_time() is _ever_ called with IRQs off, we deadlock badly
in it, waiting for jiffies to increment.

So make the code more robust by doing an explicit mdelay(20).

This solves a very hard to reproduce/debug hard lockup reported
by Mikael Pettersson.

Reported-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-08-23 18:02:18 +02:00
..
bitops
4level-fixup.h
atomic.h
audit_change_attr.h
audit_dir_write.h
audit_read.h
audit_signal.h
audit_write.h
bitops.h
bug.h printk ratelimiting rewrite 2008-07-25 10:53:29 -07:00
cmpxchg-local.h
cmpxchg.h
cputime.h
device.h
div64.h
dma-coherent.h
dma-mapping-broken.h dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
dma-mapping.h dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
emergency-restart.h
errno-base.h
errno.h
fcntl.h
futex.h
gpio.h gpio: fix build on CONFIG_GPIO_SYSFS=n 2008-07-28 16:30:21 -07:00
ide_iops.h
int-l64.h
int-ll64.h asm-generic/int-ll64.h: always provide __{s,u}64 2008-07-25 10:53:27 -07:00
ioctl.h Make ioctl.h compatible with userland 2008-08-12 16:07:31 -07:00
iomap.h
irq_regs.h
Kbuild
Kbuild.asm remove dummy asm/kvm.h files 2008-07-25 14:35:50 -04:00
kdebug.h
libata-portmap.h
local.h
memory_model.h
mm_hooks.h
mman.h
mutex-dec.h
mutex-null.h
mutex-xchg.h
page.h
pci-dma-compat.h dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
pci.h
percpu.h
pgtable-nopmd.h include/asm-generic/pgtable-nopmd.h: macros are noxious, reason #435 2008-07-28 16:30:21 -07:00
pgtable-nopud.h
pgtable.h mm: fix build on non-mmu machines 2008-07-15 13:58:40 -07:00
poll.h
resource.h
rtc.h rtc: fix deadlock 2008-08-23 18:02:18 +02:00
sections.h
siginfo.h
signal.h
statfs.h
syscall.h tracehook: asm/syscall.h 2008-07-26 12:00:09 -07:00
termios.h
tlb.h
topology.h x86: change _node_to_cpumask_ptr to return const ptr 2008-07-13 19:11:58 +02:00
uaccess.h
vmlinux.lds.h Missing symbol prefix on vmlinux.lds.h 2008-08-01 12:46:41 -07:00
xor.h