android_kernel_xiaomi_sm8350/arch/sparc/include/asm
David S. Miller 2481d76615 sparc: Add mutex for set property calls.
On some platforms, the I2C controller is shared between the OS and
OBP.  OBP uses this I2C controller to access the EEPROM, and thus is
programmed when the kernel calls prom_setprop().

Wrap such calls with the new of_set_property_mutex.

Relevant I2C bus drivers can grab this mutex around top-level I2C
operations to provide the proper protection.

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-24 20:33:55 -07:00
..
agp.h
apb.h
apc.h
asi.h
asmmacro.h
atomic_32.h
atomic_64.h
atomic.h
auxio_32.h
auxio_64.h
auxio.h
auxvec.h
backoff.h
bbc.h
bitext.h
bitops_32.h
bitops_64.h
bitops.h
bpp.h
btfixup.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush_32.h
cacheflush_64.h
cacheflush.h
chafsr.h
checksum_32.h
checksum_64.h
checksum.h
chmctrl.h
clock.h
cmt.h
compat_signal.h
compat.h
contregs.h
cpudata_32.h
cpudata_64.h
cpudata.h
cputime.h
current.h
cypress.h
dcr.h
dcu.h
delay_32.h
delay_64.h
delay.h
device.h
display7seg.h
div64.h
dma_32.h
dma_64.h
dma-mapping_32.h
dma-mapping_64.h
dma-mapping.h
dma.h
ebus_32.h sparc: don't use asm/of_device.h 2008-08-07 15:33:36 -07:00
ebus_64.h sparc: don't use asm/of_device.h 2008-08-07 15:33:36 -07:00
ebus.h
ecc.h
eeprom.h
elf_32.h
elf_64.h
elf.h
emergency-restart.h
envctrl.h
errno.h
estate.h
fb.h
fbio.h
fcntl.h
fhc.h
fixmap.h
floppy_32.h
floppy_64.h
floppy.h
fpumacro.h
ftrace.h
futex_32.h
futex_64.h sparc64: FUTEX_OP_ANDN fix 2008-07-30 15:40:50 -07:00
futex.h
hardirq_32.h
hardirq_64.h
hardirq.h
head_32.h
head_64.h
head.h
highmem.h
hugetlb.h
hvtramp.h
hw_irq.h
hypervisor.h
ide.h
idprom.h
intr_queue.h
io_32.h
io_64.h
io-unit.h
io.h
ioctl.h
ioctls.h
iommu_32.h
iommu_64.h
iommu.h
ipcbuf_32.h
ipcbuf_64.h
ipcbuf.h
irq_32.h
irq_64.h sparc64: Implement IRQ stacks. 2008-08-12 18:33:56 -07:00
irq_regs.h
irq.h
irqflags_32.h
irqflags_64.h
irqflags.h
jsflash.h
Kbuild
kdebug_32.h
kdebug_64.h
kdebug.h
kgdb.h
kmap_types.h
kprobes.h
ldc.h
linkage.h
lmb.h
local.h
lsu.h
machines.h
mbus.h
mc146818rtc_32.h
mc146818rtc_64.h
mc146818rtc.h
mdesc.h
memreg.h
mman.h
mmu_32.h
mmu_64.h
mmu_context_32.h
mmu_context_64.h
mmu_context.h
mmu.h
mmzone.h
module_32.h
module_64.h
module.h
mostek_32.h
mostek_64.h
mostek.h
mpmbox.h
msgbuf.h
msi.h
mutex.h
mxcc.h
ns87303.h
obio.h
of_device.h sparc: remove include of linux/of_device.h from asm/of_device.h 2008-08-12 17:45:23 -07:00
of_platform.h of/sparc: remove include of linux/of_platform.h from asm/of_platform.h 2008-08-06 18:14:28 -07:00
openprom_32.h
openprom_64.h
openprom.h
openpromio.h
oplib_32.h
oplib_64.h
oplib.h
page_32.h
page_64.h
page.h
param.h
parport.h sparc: don't use asm/of_device.h 2008-08-07 15:33:36 -07:00
pbm.h
pci_32.h
pci_64.h
pci.h
pcic.h
percpu_32.h
percpu_64.h
percpu.h
perfctr.h
pgalloc_32.h
pgalloc_64.h
pgalloc.h
pgtable_32.h
pgtable_64.h
pgtable.h
pgtsrmmu.h
pgtsun4.h
pgtsun4c.h
pil.h
poll.h
posix_types_32.h
posix_types_64.h
posix_types.h
processor_32.h sparc: Add task_pt_regs(). 2008-07-27 17:33:55 -07:00
processor_64.h
processor.h
prom.h sparc: Add mutex for set property calls. 2008-08-24 20:33:55 -07:00
psr.h
psrcompat.h
pstate.h
ptrace_32.h sparc: Add __KERNEL__ ifdef protection to pt_regs helpers. 2008-07-31 20:32:35 -07:00
ptrace_64.h sparc: Add __KERNEL__ ifdef protection to pt_regs helpers. 2008-07-31 20:32:35 -07:00
ptrace.h
reboot.h
reg_32.h
reg_64.h
reg.h
resource.h
ross.h
rtc.h
rwsem-const.h
rwsem.h
sbi.h
sbus_32.h sparc: don't use asm/of_device.h 2008-08-07 15:33:36 -07:00
sbus_64.h sparc: don't use asm/of_device.h 2008-08-07 15:33:36 -07:00
sbus.h
scatterlist_32.h
scatterlist_64.h
scatterlist.h
scratchpad.h
seccomp.h
sections_32.h
sections_64.h
sections.h
sembuf.h
setup.h
sfafsr.h
sfp-machine_32.h
sfp-machine_64.h
sfp-machine.h
shmbuf.h
shmparam_32.h
shmparam_64.h
shmparam.h
sigcontext_32.h
sigcontext_64.h
sigcontext.h
siginfo_32.h
siginfo_64.h
siginfo.h
signal_32.h
signal_64.h
signal.h
smp_32.h
smp_64.h
smp.h
smpprim.h
socket.h
sockios.h
sparsemem.h
spinlock_32.h
spinlock_64.h
spinlock_types.h
spinlock.h
spitfire.h
sstate.h
stacktrace.h
starfire.h
stat_32.h
stat_64.h
stat.h
statfs_32.h
statfs_64.h
statfs.h
string_32.h
string_64.h
string.h
sun4paddr.h
sun4prom.h
sunbpp.h
swift.h
syscall.h sparc: Add asm/syscall.h 2008-07-27 17:31:48 -07:00
syscalls.h
sysen.h
system_32.h
system_64.h
system.h
termbits.h
termios.h
thread_info_32.h sparc: Create and use TIF_NOTIFY_RESUME. 2008-07-27 17:33:37 -07:00
thread_info_64.h sparc64: tracehook: TIF_NOTIFY_RESUME 2008-07-27 17:32:19 -07:00
thread_info.h
timer_32.h
timer_64.h
timer.h
timex_32.h
timex_64.h
timex.h
tlb_32.h
tlb_64.h
tlb.h
tlbflush_32.h
tlbflush_64.h
tlbflush.h
topology_32.h
topology_64.h
topology.h
traps.h
tsb.h
tsunami.h
ttable.h
turbosparc.h
types.h
uaccess_32.h
uaccess_64.h
uaccess.h
uctx.h
unaligned.h
unistd_32.h
unistd_64.h
unistd.h
upa.h
user.h
utrap.h
vac-ops.h
vaddrs.h
vfc_ioctls.h
vga.h
viking.h
vio.h
visasm.h
watchdog.h
winmacro.h
xor_32.h
xor_64.h
xor.h