forked from luck/tmp_suning_uos_patched
3d13f313ce
Add helpers to wrap the get_fs/set_fs magic for undoing any damange done by set_fs(KERNEL_DS). There is no real functional benefit, but this documents the intent of these calls better, and will allow stubbing the functions out easily for kernels builds that do not allow address space overrides in the future. [hch@lst.de: drop two incorrect hunks, fix a commit log typo] Link: http://lkml.kernel.org/r/20200714105505.935079-6-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Greentime Hu <green.hu@gmail.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Nick Hu <nickhu@andestech.com> Cc: Vincent Chen <deanbo422@gmail.com> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: Palmer Dabbelt <palmer@dabbelt.com> Link: http://lkml.kernel.org/r/20200710135706.537715-6-hch@lst.de Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
adb_iop.h | ||
amigahw.h | ||
amigaints.h | ||
amigayle.h | ||
amipcmcia.h | ||
apollohw.h | ||
asm-offsets.h | ||
asm-prototypes.h | ||
atari_joystick.h | ||
atari_stdma.h | ||
atari_stram.h | ||
atarihw.h | ||
atariints.h | ||
atarikb.h | ||
atomic.h | ||
bitops.h | ||
blinken.h | ||
bootinfo.h | ||
bootstd.h | ||
bug.h | ||
bugs.h | ||
bvme6000hw.h | ||
cache.h | ||
cacheflush_mm.h | ||
cacheflush_no.h | ||
cacheflush.h | ||
checksum.h | ||
cmpxchg.h | ||
coldfire.h | ||
contregs.h | ||
current.h | ||
delay.h | ||
div64.h | ||
dma.h | ||
dsp56k.h | ||
dvma.h | ||
elf.h | ||
entry.h | ||
export.h | ||
fb.h | ||
fbio.h | ||
flat.h | ||
floppy.h | ||
fpu.h | ||
ftrace.h | ||
gpio.h | ||
hash.h | ||
hp300hw.h | ||
hwtest.h | ||
ide.h | ||
idprom.h | ||
intersil.h | ||
io_mm.h | ||
io_no.h | ||
io.h | ||
irq.h | ||
irqflags.h | ||
Kbuild | ||
kexec.h | ||
kmap.h | ||
linkage.h | ||
m52xxacr.h | ||
m53xxacr.h | ||
m53xxsim.h | ||
m54xxacr.h | ||
m54xxgpt.h | ||
m54xxpci.h | ||
m54xxsim.h | ||
m520xsim.h | ||
m523xsim.h | ||
m525xsim.h | ||
m527xsim.h | ||
m528xsim.h | ||
m5206sim.h | ||
m5272sim.h | ||
m5307sim.h | ||
m5407sim.h | ||
m5441xsim.h | ||
mac_asc.h | ||
mac_baboon.h | ||
mac_iop.h | ||
mac_oss.h | ||
mac_psc.h | ||
mac_via.h | ||
machdep.h | ||
machines.h | ||
machw.h | ||
macintosh.h | ||
macints.h | ||
math-emu.h | ||
MC68EZ328.h | ||
MC68VZ328.h | ||
MC68328.h | ||
mc146818rtc.h | ||
mcf_pgalloc.h | ||
mcf_pgtable.h | ||
mcf8390.h | ||
mcfclk.h | ||
mcfdma.h | ||
mcfgpio.h | ||
mcfintc.h | ||
mcfmmu.h | ||
mcfpit.h | ||
mcfqspi.h | ||
mcfsim.h | ||
mcfslt.h | ||
mcftimer.h | ||
mcfuart.h | ||
mcfwdebug.h | ||
mmu_context.h | ||
mmu.h | ||
mmzone.h | ||
module.h | ||
motorola_pgalloc.h | ||
motorola_pgtable.h | ||
movs.h | ||
mvme16xhw.h | ||
mvme147hw.h | ||
natfeat.h | ||
nettel.h | ||
nubus.h | ||
openprom.h | ||
oplib.h | ||
page_mm.h | ||
page_no.h | ||
page_offset.h | ||
page.h | ||
parport.h | ||
pci.h | ||
pgalloc.h | ||
pgtable_mm.h | ||
pgtable_no.h | ||
pgtable.h | ||
processor.h | ||
ptrace.h | ||
q40_master.h | ||
q40ints.h | ||
quicc_simple.h | ||
raw_io.h | ||
segment.h | ||
serial.h | ||
setup.h | ||
signal.h | ||
smp.h | ||
string.h | ||
sun3_pgalloc.h | ||
sun3_pgtable.h | ||
sun3-head.h | ||
sun3ints.h | ||
sun3mmu.h | ||
sun3x.h | ||
sun3xflop.h | ||
sun3xprom.h | ||
switch_to.h | ||
syscall.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
traps.h | ||
uaccess_mm.h | ||
uaccess_no.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
vga.h | ||
virtconvert.h | ||
vmalloc.h | ||
zorro.h |