summaryrefslogtreecommitdiff
path: root/linux/fs/ramfs
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
commita1df417e74aa6dae7352dc8cbb0ad471af5b7c69 (patch)
treec34b2311e37ea31db153c90cb8f4570374d05e78 /linux/fs/ramfs
initial Olimex linux tree from Daniel, originally Feb 3, 2016
Diffstat (limited to 'linux/fs/ramfs')
-rw-r--r--linux/fs/ramfs/.built-in.o.cmd1
-rw-r--r--linux/fs/ramfs/.file-mmu.o.cmd637
-rw-r--r--linux/fs/ramfs/.inode.o.cmd686
-rw-r--r--linux/fs/ramfs/.ramfs.o.cmd1
-rw-r--r--linux/fs/ramfs/Makefile9
-rw-r--r--linux/fs/ramfs/built-in.obin0 -> 6292 bytes
-rw-r--r--linux/fs/ramfs/file-mmu.c46
-rw-r--r--linux/fs/ramfs/file-mmu.obin0 -> 1620 bytes
-rw-r--r--linux/fs/ramfs/file-nommu.c271
-rw-r--r--linux/fs/ramfs/inode.c266
-rw-r--r--linux/fs/ramfs/inode.obin0 -> 5584 bytes
-rw-r--r--linux/fs/ramfs/internal.h13
-rw-r--r--linux/fs/ramfs/modules.builtin0
-rw-r--r--linux/fs/ramfs/modules.order0
-rw-r--r--linux/fs/ramfs/ramfs.obin0 -> 6292 bytes
15 files changed, 1930 insertions, 0 deletions
diff --git a/linux/fs/ramfs/.built-in.o.cmd b/linux/fs/ramfs/.built-in.o.cmd
new file mode 100644
index 00000000..f1f2a91d
--- /dev/null
+++ b/linux/fs/ramfs/.built-in.o.cmd
@@ -0,0 +1 @@
+cmd_fs/ramfs/built-in.o := arm-linux-gnueabihf-ld -EL -r -o fs/ramfs/built-in.o fs/ramfs/ramfs.o
diff --git a/linux/fs/ramfs/.file-mmu.o.cmd b/linux/fs/ramfs/.file-mmu.o.cmd
new file mode 100644
index 00000000..fdb0e935
--- /dev/null
+++ b/linux/fs/ramfs/.file-mmu.o.cmd
@@ -0,0 +1,637 @@
+cmd_fs/ramfs/file-mmu.o := arm-linux-gnueabihf-gcc -Wp,-MD,fs/ramfs/.file-mmu.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-dwarf2-cfi-asm -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(file_mmu)" -D"KBUILD_MODNAME=KBUILD_STR(ramfs)" -c -o fs/ramfs/.tmp_file-mmu.o fs/ramfs/file-mmu.c
+
+source_fs/ramfs/file-mmu.o := fs/ramfs/file-mmu.c
+
+deps_fs/ramfs/file-mmu.o := \
+ include/linux/fs.h \
+ $(wildcard include/config/sysfs.h) \
+ $(wildcard include/config/smp.h) \
+ $(wildcard include/config/fs/posix/acl.h) \
+ $(wildcard include/config/security.h) \
+ $(wildcard include/config/ima.h) \
+ $(wildcard include/config/fsnotify.h) \
+ $(wildcard include/config/preempt.h) \
+ $(wildcard include/config/epoll.h) \
+ $(wildcard include/config/file/locking.h) \
+ $(wildcard include/config/debug/lock/alloc.h) \
+ $(wildcard include/config/mmu.h) \
+ $(wildcard include/config/quota.h) \
+ $(wildcard include/config/fs/dax.h) \
+ $(wildcard include/config/block.h) \
+ $(wildcard include/config/migration.h) \
+ include/linux/linkage.h \
+ include/linux/compiler.h \
+ $(wildcard include/config/sparse/rcu/pointer.h) \
+ $(wildcard include/config/trace/branch/profiling.h) \
+ $(wildcard include/config/profile/all/branches.h) \
+ $(wildcard include/config/enable/must/check.h) \
+ $(wildcard include/config/enable/warn/deprecated.h) \
+ $(wildcard include/config/kprobes.h) \
+ include/linux/compiler-gcc.h \
+ $(wildcard include/config/arch/supports/optimized/inlining.h) \
+ $(wildcard include/config/optimize/inlining.h) \
+ include/linux/compiler-gcc5.h \
+ $(wildcard include/config/arch/use/builtin/bswap.h) \
+ include/uapi/linux/types.h \
+ arch/arm/include/asm/types.h \
+ include/asm-generic/int-ll64.h \
+ include/uapi/asm-generic/int-ll64.h \
+ arch/arm/include/generated/asm/bitsperlong.h \
+ include/asm-generic/bitsperlong.h \
+ $(wildcard include/config/64bit.h) \
+ include/uapi/asm-generic/bitsperlong.h \
+ include/uapi/linux/posix_types.h \
+ include/linux/stddef.h \
+ include/uapi/linux/stddef.h \
+ arch/arm/include/uapi/asm/posix_types.h \
+ include/uapi/asm-generic/posix_types.h \
+ include/linux/stringify.h \
+ include/linux/export.h \
+ $(wildcard include/config/have/underscore/symbol/prefix.h) \
+ $(wildcard include/config/modules.h) \
+ $(wildcard include/config/modversions.h) \
+ $(wildcard include/config/unused/symbols.h) \
+ arch/arm/include/asm/linkage.h \
+ include/linux/wait.h \
+ $(wildcard include/config/lockdep.h) \
+ include/linux/list.h \
+ $(wildcard include/config/debug/list.h) \
+ include/linux/types.h \
+ $(wildcard include/config/uid16.h) \
+ $(wildcard include/config/lbdaf.h) \
+ $(wildcard include/config/arch/dma/addr/t/64bit.h) \
+ $(wildcard include/config/phys/addr/t/64bit.h) \
+ include/linux/poison.h \
+ $(wildcard include/config/illegal/pointer/value.h) \
+ include/uapi/linux/const.h \
+ include/linux/kernel.h \
+ $(wildcard include/config/preempt/voluntary.h) \
+ $(wildcard include/config/debug/atomic/sleep.h) \
+ $(wildcard include/config/prove/locking.h) \
+ $(wildcard include/config/panic/timeout.h) \
+ $(wildcard include/config/ring/buffer.h) \
+ $(wildcard include/config/tracing.h) \
+ $(wildcard include/config/ftrace/mcount/record.h) \
+ /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include/stdarg.h \
+ include/linux/bitops.h \
+ arch/arm/include/asm/bitops.h \
+ include/linux/irqflags.h \
+ $(wildcard include/config/trace/irqflags.h) \
+ $(wildcard include/config/preempt/rt/full.h) \
+ $(wildcard include/config/irqsoff/tracer.h) \
+ $(wildcard include/config/preempt/tracer.h) \
+ $(wildcard include/config/trace/irqflags/support.h) \
+ include/linux/typecheck.h \
+ arch/arm/include/asm/irqflags.h \
+ $(wildcard include/config/cpu/v7m.h) \
+ arch/arm/include/asm/ptrace.h \
+ $(wildcard include/config/arm/thumb.h) \
+ $(wildcard include/config/thumb2/kernel.h) \
+ arch/arm/include/uapi/asm/ptrace.h \
+ $(wildcard include/config/cpu/endian/be8.h) \
+ arch/arm/include/asm/hwcap.h \
+ arch/arm/include/uapi/asm/hwcap.h \
+ arch/arm/include/asm/barrier.h \
+ $(wildcard include/config/cpu/32v6k.h) \
+ $(wildcard include/config/cpu/xsc3.h) \
+ $(wildcard include/config/cpu/fa526.h) \
+ $(wildcard include/config/arm/heavy/mb.h) \
+ $(wildcard include/config/arch/has/barriers.h) \
+ $(wildcard include/config/arm/dma/mem/bufferable.h) \
+ include/asm-generic/bitops/non-atomic.h \
+ include/asm-generic/bitops/fls64.h \
+ include/asm-generic/bitops/sched.h \
+ include/asm-generic/bitops/hweight.h \
+ include/asm-generic/bitops/arch_hweight.h \
+ include/asm-generic/bitops/const_hweight.h \
+ include/asm-generic/bitops/lock.h \
+ include/asm-generic/bitops/le.h \
+ arch/arm/include/uapi/asm/byteorder.h \
+ include/linux/byteorder/little_endian.h \
+ include/uapi/linux/byteorder/little_endian.h \
+ include/linux/swab.h \
+ include/uapi/linux/swab.h \
+ arch/arm/include/asm/swab.h \
+ arch/arm/include/uapi/asm/swab.h \
+ include/linux/byteorder/generic.h \
+ include/asm-generic/bitops/ext2-atomic-setbit.h \
+ include/linux/log2.h \
+ $(wildcard include/config/arch/has/ilog2/u32.h) \
+ $(wildcard include/config/arch/has/ilog2/u64.h) \
+ include/linux/printk.h \
+ $(wildcard include/config/message/loglevel/default.h) \
+ $(wildcard include/config/early/printk.h) \
+ $(wildcard include/config/printk.h) \
+ $(wildcard include/config/dynamic/debug.h) \
+ include/linux/init.h \
+ $(wildcard include/config/broken/rodata.h) \
+ $(wildcard include/config/lto.h) \
+ include/linux/kern_levels.h \
+ include/linux/cache.h \
+ $(wildcard include/config/arch/has/cache/line/size.h) \
+ include/uapi/linux/kernel.h \
+ include/uapi/linux/sysinfo.h \
+ arch/arm/include/asm/cache.h \
+ $(wildcard include/config/arm/l1/cache/shift.h) \
+ $(wildcard include/config/aeabi.h) \
+ include/linux/dynamic_debug.h \
+ arch/arm/include/asm/div64.h \
+ arch/arm/include/asm/compiler.h \
+ arch/arm/include/asm/bug.h \
+ $(wildcard include/config/bug.h) \
+ $(wildcard include/config/debug/bugverbose.h) \
+ $(wildcard include/config/arm/lpae.h) \
+ arch/arm/include/asm/opcodes.h \
+ $(wildcard include/config/cpu/endian/be32.h) \
+ include/asm-generic/bug.h \
+ $(wildcard include/config/generic/bug.h) \
+ $(wildcard include/config/generic/bug/relative/pointers.h) \
+ $(wildcard include/config/preempt/rt/base.h) \
+ include/linux/spinlock.h \
+ $(wildcard include/config/debug/spinlock.h) \
+ $(wildcard include/config/generic/lockbreak.h) \
+ include/linux/preempt.h \
+ $(wildcard include/config/debug/preempt.h) \
+ $(wildcard include/config/preempt/lazy.h) \
+ $(wildcard include/config/preempt/count.h) \
+ $(wildcard include/config/context/tracking.h) \
+ $(wildcard include/config/preempt/notifiers.h) \
+ arch/arm/include/generated/asm/preempt.h \
+ include/asm-generic/preempt.h \
+ include/linux/thread_info.h \
+ $(wildcard include/config/compat.h) \
+ $(wildcard include/config/debug/stack/usage.h) \
+ include/linux/bug.h \
+ arch/arm/include/asm/thread_info.h \
+ $(wildcard include/config/crunch.h) \
+ $(wildcard include/config/arm/thumbee.h) \
+ arch/arm/include/asm/fpstate.h \
+ $(wildcard include/config/vfpv3.h) \
+ $(wildcard include/config/iwmmxt.h) \
+ arch/arm/include/asm/page.h \
+ $(wildcard include/config/cpu/copy/v4wt.h) \
+ $(wildcard include/config/cpu/copy/v4wb.h) \
+ $(wildcard include/config/cpu/copy/feroceon.h) \
+ $(wildcard include/config/cpu/copy/fa.h) \
+ $(wildcard include/config/cpu/sa1100.h) \
+ $(wildcard include/config/cpu/xscale.h) \
+ $(wildcard include/config/cpu/copy/v6.h) \
+ $(wildcard include/config/kuser/helpers.h) \
+ $(wildcard include/config/have/arch/pfn/valid.h) \
+ arch/arm/include/asm/glue.h \
+ arch/arm/include/asm/pgtable-2level-types.h \
+ arch/arm/include/asm/memory.h \
+ $(wildcard include/config/need/mach/memory/h.h) \
+ $(wildcard include/config/page/offset.h) \
+ $(wildcard include/config/highmem.h) \
+ $(wildcard include/config/dram/base.h) \
+ $(wildcard include/config/dram/size.h) \
+ $(wildcard include/config/have/tcm.h) \
+ $(wildcard include/config/arm/patch/phys/virt.h) \
+ $(wildcard include/config/phys/offset.h) \
+ $(wildcard include/config/virt/to/bus.h) \
+ include/linux/sizes.h \
+ include/asm-generic/memory_model.h \
+ $(wildcard include/config/flatmem.h) \
+ $(wildcard include/config/discontigmem.h) \
+ $(wildcard include/config/sparsemem/vmemmap.h) \
+ $(wildcard include/config/sparsemem.h) \
+ include/asm-generic/getorder.h \
+ arch/arm/include/asm/domain.h \
+ $(wildcard include/config/io/36.h) \
+ $(wildcard include/config/cpu/use/domains.h) \
+ include/linux/bottom_half.h \
+ include/linux/preempt_mask.h \
+ include/linux/spinlock_types.h \
+ include/linux/spinlock_types_raw.h \
+ include/linux/spinlock_types_up.h \
+ include/linux/lockdep.h \
+ $(wildcard include/config/lock/stat.h) \
+ include/linux/rtmutex.h \
+ $(wildcard include/config/debug/mutexes.h) \
+ $(wildcard include/config/debug/rt/mutexes.h) \
+ include/linux/rbtree.h \
+ include/linux/spinlock_types_rt.h \
+ include/linux/rwlock_types_rt.h \
+ include/linux/spinlock_up.h \
+ arch/arm/include/asm/processor.h \
+ $(wildcard include/config/have/hw/breakpoint.h) \
+ $(wildcard include/config/arm/errata/754327.h) \
+ arch/arm/include/asm/hw_breakpoint.h \
+ arch/arm/include/asm/unified.h \
+ $(wildcard include/config/arm/asm/unified.h) \
+ include/linux/rwlock_rt.h \
+ include/linux/spinlock_api_up.h \
+ include/linux/spinlock_rt.h \
+ arch/arm/include/generated/asm/current.h \
+ include/asm-generic/current.h \
+ include/uapi/linux/wait.h \
+ include/linux/atomic.h \
+ $(wildcard include/config/arch/has/atomic/or.h) \
+ $(wildcard include/config/generic/atomic64.h) \
+ arch/arm/include/asm/atomic.h \
+ include/linux/prefetch.h \
+ arch/arm/include/asm/cmpxchg.h \
+ $(wildcard include/config/cpu/sa110.h) \
+ $(wildcard include/config/cpu/v6.h) \
+ include/asm-generic/cmpxchg-local.h \
+ include/asm-generic/atomic-long.h \
+ include/linux/kdev_t.h \
+ include/uapi/linux/kdev_t.h \
+ include/linux/dcache.h \
+ include/linux/rculist.h \
+ include/linux/rcupdate.h \
+ $(wildcard include/config/tiny/rcu.h) \
+ $(wildcard include/config/tree/rcu.h) \
+ $(wildcard include/config/preempt/rcu.h) \
+ $(wildcard include/config/rcu/trace.h) \
+ $(wildcard include/config/rcu/stall/common.h) \
+ $(wildcard include/config/rcu/user/qs.h) \
+ $(wildcard include/config/rcu/nocb/cpu.h) \
+ $(wildcard include/config/tasks/rcu.h) \
+ $(wildcard include/config/debug/objects/rcu/head.h) \
+ $(wildcard include/config/hotplug/cpu.h) \
+ $(wildcard include/config/prove/rcu.h) \
+ $(wildcard include/config/rcu/boost.h) \
+ $(wildcard include/config/rcu/nocb/cpu/all.h) \
+ $(wildcard include/config/no/hz/full/sysidle.h) \
+ include/linux/threads.h \
+ $(wildcard include/config/nr/cpus.h) \
+ $(wildcard include/config/base/small.h) \
+ include/linux/cpumask.h \
+ $(wildcard include/config/cpumask/offstack.h) \
+ $(wildcard include/config/debug/per/cpu/maps.h) \
+ include/linux/bitmap.h \
+ include/linux/string.h \
+ $(wildcard include/config/binary/printf.h) \
+ include/uapi/linux/string.h \
+ arch/arm/include/asm/string.h \
+ include/linux/seqlock.h \
+ include/linux/completion.h \
+ include/linux/wait-simple.h \
+ include/linux/debugobjects.h \
+ $(wildcard include/config/debug/objects.h) \
+ $(wildcard include/config/debug/objects/free.h) \
+ include/linux/rcutree.h \
+ include/linux/rculist_bl.h \
+ include/linux/list_bl.h \
+ include/linux/bit_spinlock.h \
+ include/linux/lockref.h \
+ $(wildcard include/config/arch/use/cmpxchg/lockref.h) \
+ include/generated/bounds.h \
+ include/linux/path.h \
+ include/linux/stat.h \
+ arch/arm/include/uapi/asm/stat.h \
+ include/uapi/linux/stat.h \
+ include/linux/time.h \
+ $(wildcard include/config/arch/uses/gettimeoffset.h) \
+ include/linux/math64.h \
+ $(wildcard include/config/arch/supports/int128.h) \
+ include/linux/time64.h \
+ include/uapi/linux/time.h \
+ include/linux/uidgid.h \
+ $(wildcard include/config/multiuser.h) \
+ $(wildcard include/config/user/ns.h) \
+ include/linux/highuid.h \
+ include/linux/list_lru.h \
+ $(wildcard include/config/memcg/kmem.h) \
+ include/linux/nodemask.h \
+ $(wildcard include/config/movable/node.h) \
+ $(wildcard include/config/numa.h) \
+ include/linux/numa.h \
+ $(wildcard include/config/nodes/shift.h) \
+ include/linux/shrinker.h \
+ include/linux/llist.h \
+ $(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
+ include/linux/radix-tree.h \
+ include/linux/pid.h \
+ include/linux/mutex.h \
+ $(wildcard include/config/mutex/spin/on/owner.h) \
+ include/linux/osq_lock.h \
+ include/linux/mutex_rt.h \
+ include/linux/rwsem.h \
+ $(wildcard include/config/rwsem/spin/on/owner.h) \
+ $(wildcard include/config/rwsem/generic/spinlock.h) \
+ include/linux/rwsem_rt.h \
+ include/linux/capability.h \
+ include/uapi/linux/capability.h \
+ include/linux/semaphore.h \
+ include/uapi/linux/fiemap.h \
+ include/linux/migrate_mode.h \
+ include/linux/percpu-rwsem.h \
+ include/linux/percpu.h \
+ $(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
+ $(wildcard include/config/need/per/cpu/page/first/chunk.h) \
+ $(wildcard include/config/have/setup/per/cpu/area.h) \
+ include/linux/mmdebug.h \
+ $(wildcard include/config/debug/vm.h) \
+ $(wildcard include/config/debug/virtual.h) \
+ include/linux/smp.h \
+ $(wildcard include/config/up/late/init.h) \
+ include/linux/errno.h \
+ include/uapi/linux/errno.h \
+ arch/arm/include/generated/asm/errno.h \
+ include/uapi/asm-generic/errno.h \
+ include/uapi/asm-generic/errno-base.h \
+ include/linux/pfn.h \
+ arch/arm/include/asm/percpu.h \
+ include/asm-generic/percpu.h \
+ include/linux/percpu-defs.h \
+ $(wildcard include/config/debug/force/weak/per/cpu.h) \
+ include/linux/blk_types.h \
+ $(wildcard include/config/blk/cgroup.h) \
+ $(wildcard include/config/blk/dev/integrity.h) \
+ include/uapi/linux/fs.h \
+ include/uapi/linux/limits.h \
+ include/uapi/linux/ioctl.h \
+ arch/arm/include/generated/asm/ioctl.h \
+ include/asm-generic/ioctl.h \
+ include/uapi/asm-generic/ioctl.h \
+ include/linux/quota.h \
+ $(wildcard include/config/quota/netlink/interface.h) \
+ include/linux/percpu_counter.h \
+ include/linux/gfp.h \
+ $(wildcard include/config/zone/dma.h) \
+ $(wildcard include/config/zone/dma32.h) \
+ $(wildcard include/config/pm/sleep.h) \
+ $(wildcard include/config/cma.h) \
+ include/linux/mmzone.h \
+ $(wildcard include/config/force/max/zoneorder.h) \
+ $(wildcard include/config/memory/isolation.h) \
+ $(wildcard include/config/memcg.h) \
+ $(wildcard include/config/memory/hotplug.h) \
+ $(wildcard include/config/compaction.h) \
+ $(wildcard include/config/have/memblock/node/map.h) \
+ $(wildcard include/config/flat/node/mem/map.h) \
+ $(wildcard include/config/page/extension.h) \
+ $(wildcard include/config/no/bootmem.h) \
+ $(wildcard include/config/numa/balancing.h) \
+ $(wildcard include/config/have/memory/present.h) \
+ $(wildcard include/config/have/memoryless/nodes.h) \
+ $(wildcard include/config/need/node/memmap/size.h) \
+ $(wildcard include/config/need/multiple/nodes.h) \
+ $(wildcard include/config/have/arch/early/pfn/to/nid.h) \
+ $(wildcard include/config/sparsemem/extreme.h) \
+ $(wildcard include/config/nodes/span/other/nodes.h) \
+ $(wildcard include/config/holes/in/zone.h) \
+ $(wildcard include/config/arch/has/holes/memorymodel.h) \
+ include/linux/pageblock-flags.h \
+ $(wildcard include/config/hugetlb/page.h) \
+ $(wildcard include/config/hugetlb/page/size/variable.h) \
+ include/linux/page-flags-layout.h \
+ include/linux/memory_hotplug.h \
+ $(wildcard include/config/memory/hotremove.h) \
+ $(wildcard include/config/have/arch/nodedata/extension.h) \
+ $(wildcard include/config/have/bootmem/info/node.h) \
+ include/linux/notifier.h \
+ include/linux/srcu.h \
+ include/linux/workqueue.h \
+ $(wildcard include/config/debug/objects/work.h) \
+ $(wildcard include/config/freezer.h) \
+ include/linux/timer.h \
+ $(wildcard include/config/timer/stats.h) \
+ $(wildcard include/config/debug/objects/timers.h) \
+ include/linux/ktime.h \
+ include/linux/jiffies.h \
+ include/linux/timex.h \
+ include/uapi/linux/timex.h \
+ include/uapi/linux/param.h \
+ arch/arm/include/generated/asm/param.h \
+ include/asm-generic/param.h \
+ $(wildcard include/config/hz.h) \
+ include/uapi/asm-generic/param.h \
+ arch/arm/include/asm/timex.h \
+ include/linux/timekeeping.h \
+ include/linux/topology.h \
+ $(wildcard include/config/use/percpu/numa/node/id.h) \
+ $(wildcard include/config/sched/smt.h) \
+ arch/arm/include/asm/topology.h \
+ $(wildcard include/config/arm/cpu/topology.h) \
+ include/asm-generic/topology.h \
+ include/uapi/linux/dqblk_xfs.h \
+ include/linux/dqblk_v1.h \
+ include/linux/dqblk_v2.h \
+ include/linux/dqblk_qtree.h \
+ include/linux/projid.h \
+ include/uapi/linux/quota.h \
+ include/linux/nfs_fs_i.h \
+ include/linux/fcntl.h \
+ include/uapi/linux/fcntl.h \
+ arch/arm/include/uapi/asm/fcntl.h \
+ include/uapi/asm-generic/fcntl.h \
+ include/linux/err.h \
+ include/linux/mm.h \
+ $(wildcard include/config/sysctl.h) \
+ $(wildcard include/config/mem/soft/dirty.h) \
+ $(wildcard include/config/x86.h) \
+ $(wildcard include/config/ppc.h) \
+ $(wildcard include/config/parisc.h) \
+ $(wildcard include/config/metag.h) \
+ $(wildcard include/config/ia64.h) \
+ $(wildcard include/config/stack/growsup.h) \
+ $(wildcard include/config/transparent/hugepage.h) \
+ $(wildcard include/config/shmem.h) \
+ $(wildcard include/config/debug/vm/rb.h) \
+ $(wildcard include/config/proc/fs.h) \
+ $(wildcard include/config/debug/pagealloc.h) \
+ $(wildcard include/config/hibernation.h) \
+ $(wildcard include/config/hugetlbfs.h) \
+ include/linux/debug_locks.h \
+ $(wildcard include/config/debug/locking/api/selftests.h) \
+ include/linux/mm_types.h \
+ $(wildcard include/config/split/ptlock/cpus.h) \
+ $(wildcard include/config/arch/enable/split/pmd/ptlock.h) \
+ $(wildcard include/config/have/cmpxchg/double.h) \
+ $(wildcard include/config/have/aligned/struct/page.h) \
+ $(wildcard include/config/kmemcheck.h) \
+ $(wildcard include/config/pgtable/levels.h) \
+ $(wildcard include/config/aio.h) \
+ $(wildcard include/config/mmu/notifier.h) \
+ $(wildcard include/config/x86/intel/mpx.h) \
+ include/linux/auxvec.h \
+ include/uapi/linux/auxvec.h \
+ arch/arm/include/asm/auxvec.h \
+ arch/arm/include/uapi/asm/auxvec.h \
+ include/linux/uprobes.h \
+ $(wildcard include/config/uprobes.h) \
+ arch/arm/include/asm/mmu.h \
+ $(wildcard include/config/cpu/has/asid.h) \
+ $(wildcard include/config/vdso.h) \
+ include/linux/range.h \
+ include/linux/resource.h \
+ include/uapi/linux/resource.h \
+ arch/arm/include/generated/asm/resource.h \
+ include/asm-generic/resource.h \
+ include/uapi/asm-generic/resource.h \
+ include/linux/page_ext.h \
+ $(wildcard include/config/page/owner.h) \
+ include/linux/stacktrace.h \
+ $(wildcard include/config/stacktrace.h) \
+ $(wildcard include/config/user/stacktrace/support.h) \
+ arch/arm/include/asm/pgtable.h \
+ $(wildcard include/config/highpte.h) \
+ arch/arm/include/asm/proc-fns.h \
+ arch/arm/include/asm/glue-proc.h \
+ $(wildcard include/config/cpu/arm7tdmi.h) \
+ $(wildcard include/config/cpu/arm720t.h) \
+ $(wildcard include/config/cpu/arm740t.h) \
+ $(wildcard include/config/cpu/arm9tdmi.h) \
+ $(wildcard include/config/cpu/arm920t.h) \
+ $(wildcard include/config/cpu/arm922t.h) \
+ $(wildcard include/config/cpu/arm925t.h) \
+ $(wildcard include/config/cpu/arm926t.h) \
+ $(wildcard include/config/cpu/arm940t.h) \
+ $(wildcard include/config/cpu/arm946e.h) \
+ $(wildcard include/config/cpu/arm1020.h) \
+ $(wildcard include/config/cpu/arm1020e.h) \
+ $(wildcard include/config/cpu/arm1022.h) \
+ $(wildcard include/config/cpu/arm1026.h) \
+ $(wildcard include/config/cpu/mohawk.h) \
+ $(wildcard include/config/cpu/feroceon.h) \
+ $(wildcard include/config/cpu/v6k.h) \
+ $(wildcard include/config/cpu/pj4b.h) \
+ $(wildcard include/config/cpu/v7.h) \
+ include/asm-generic/pgtable-nopud.h \
+ arch/arm/include/asm/pgtable-hwdef.h \
+ arch/arm/include/asm/pgtable-2level-hwdef.h \
+ arch/arm/include/asm/tlbflush.h \
+ $(wildcard include/config/smp/on/up.h) \
+ $(wildcard include/config/cpu/tlb/v4wt.h) \
+ $(wildcard include/config/cpu/tlb/fa.h) \
+ $(wildcard include/config/cpu/tlb/v4wbi.h) \
+ $(wildcard include/config/cpu/tlb/feroceon.h) \
+ $(wildcard include/config/cpu/tlb/v4wb.h) \
+ $(wildcard include/config/cpu/tlb/v6.h) \
+ $(wildcard include/config/cpu/tlb/v7.h) \
+ $(wildcard include/config/arm/errata/720789.h) \
+ $(wildcard include/config/arm/errata/798181.h) \
+ include/linux/sched.h \
+ $(wildcard include/config/sched/debug.h) \
+ $(wildcard include/config/no/hz/common.h) \
+ $(wildcard include/config/lockup/detector.h) \
+ $(wildcard include/config/detect/hung/task.h) \
+ $(wildcard include/config/core/dump/default/elf/headers.h) \
+ $(wildcard include/config/sched/autogroup.h) \
+ $(wildcard include/config/virt/cpu/accounting/native.h) \
+ $(wildcard include/config/bsd/process/acct.h) \
+ $(wildcard include/config/taskstats.h) \
+ $(wildcard include/config/audit.h) \
+ $(wildcard include/config/cgroups.h) \
+ $(wildcard include/config/inotify/user.h) \
+ $(wildcard include/config/fanotify.h) \
+ $(wildcard include/config/posix/mqueue.h) \
+ $(wildcard include/config/keys.h) \
+ $(wildcard include/config/perf/events.h) \
+ $(wildcard include/config/schedstats.h) \
+ $(wildcard include/config/task/delay/acct.h) \
+ $(wildcard include/config/sched/mc.h) \
+ $(wildcard include/config/fair/group/sched.h) \
+ $(wildcard include/config/rt/group/sched.h) \
+ $(wildcard include/config/cgroup/sched.h) \
+ $(wildcard include/config/blk/dev/io/trace.h) \
+ $(wildcard include/config/compat/brk.h) \
+ $(wildcard include/config/cc/stackprotector.h) \
+ $(wildcard include/config/virt/cpu/accounting/gen.h) \
+ $(wildcard include/config/sysvipc.h) \
+ $(wildcard include/config/auditsyscall.h) \
+ $(wildcard include/config/rt/mutexes.h) \
+ $(wildcard include/config/task/xacct.h) \
+ $(wildcard include/config/cpusets.h) \
+ $(wildcard include/config/futex.h) \
+ $(wildcard include/config/fault/injection.h) \
+ $(wildcard include/config/latencytop.h) \
+ $(wildcard include/config/kasan.h) \
+ $(wildcard include/config/function/graph/tracer.h) \
+ $(wildcard include/config/wakeup/latency/hist.h) \
+ $(wildcard include/config/missed/timer/offsets/hist.h) \
+ $(wildcard include/config/bcache.h) \
+ $(wildcard include/config/x86/32.h) \
+ $(wildcard include/config/have/unstable/sched/clock.h) \
+ $(wildcard include/config/irq/time/accounting.h) \
+ $(wildcard include/config/no/hz/full.h) \
+ include/uapi/linux/sched.h \
+ include/linux/sched/prio.h \
+ include/linux/plist.h \
+ $(wildcard include/config/debug/pi/list.h) \
+ arch/arm/include/asm/kmap_types.h \
+ include/linux/cputime.h \
+ arch/arm/include/generated/asm/cputime.h \
+ include/asm-generic/cputime.h \
+ $(wildcard include/config/virt/cpu/accounting.h) \
+ include/asm-generic/cputime_jiffies.h \
+ include/linux/sem.h \
+ include/uapi/linux/sem.h \
+ include/linux/ipc.h \
+ include/uapi/linux/ipc.h \
+ arch/arm/include/generated/asm/ipcbuf.h \
+ include/uapi/asm-generic/ipcbuf.h \
+ arch/arm/include/generated/asm/sembuf.h \
+ include/uapi/asm-generic/sembuf.h \
+ include/linux/shm.h \
+ include/uapi/linux/shm.h \
+ arch/arm/include/generated/asm/shmbuf.h \
+ include/uapi/asm-generic/shmbuf.h \
+ arch/arm/include/asm/shmparam.h \
+ include/linux/signal.h \
+ $(wildcard include/config/old/sigaction.h) \
+ include/uapi/linux/signal.h \
+ arch/arm/include/asm/signal.h \
+ arch/arm/include/uapi/asm/signal.h \
+ include/uapi/asm-generic/signal-defs.h \
+ arch/arm/include/uapi/asm/sigcontext.h \
+ arch/arm/include/generated/asm/siginfo.h \
+ include/asm-generic/siginfo.h \
+ include/uapi/asm-generic/siginfo.h \
+ include/linux/proportions.h \
+ include/linux/seccomp.h \
+ $(wildcard include/config/seccomp.h) \
+ $(wildcard include/config/have/arch/seccomp/filter.h) \
+ $(wildcard include/config/seccomp/filter.h) \
+ include/uapi/linux/seccomp.h \
+ arch/arm/include/generated/asm/seccomp.h \
+ include/asm-generic/seccomp.h \
+ include/uapi/linux/unistd.h \
+ arch/arm/include/asm/unistd.h \
+ $(wildcard include/config/oabi/compat.h) \
+ arch/arm/include/uapi/asm/unistd.h \
+ include/linux/hrtimer.h \
+ $(wildcard include/config/high/res/timers.h) \
+ $(wildcard include/config/timerfd.h) \
+ include/linux/timerqueue.h \
+ include/linux/task_io_accounting.h \
+ $(wildcard include/config/task/io/accounting.h) \
+ include/linux/latencytop.h \
+ include/linux/cred.h \
+ $(wildcard include/config/debug/credentials.h) \
+ include/linux/key.h \
+ include/linux/sysctl.h \
+ include/uapi/linux/sysctl.h \
+ include/linux/assoc_array.h \
+ $(wildcard include/config/associative/array.h) \
+ include/linux/selinux.h \
+ $(wildcard include/config/security/selinux.h) \
+ include/uapi/linux/magic.h \
+ arch/arm/include/asm/pgtable-2level.h \
+ include/asm-generic/pgtable.h \
+ $(wildcard include/config/have/arch/soft/dirty.h) \
+ $(wildcard include/config/have/arch/huge/vmap.h) \
+ include/linux/page-flags.h \
+ $(wildcard include/config/pageflags/extended.h) \
+ $(wildcard include/config/arch/uses/pg/uncached.h) \
+ $(wildcard include/config/memory/failure.h) \
+ $(wildcard include/config/swap.h) \
+ $(wildcard include/config/ksm.h) \
+ include/linux/huge_mm.h \
+ include/linux/vmstat.h \
+ $(wildcard include/config/vm/event/counters.h) \
+ $(wildcard include/config/debug/tlbflush.h) \
+ $(wildcard include/config/debug/vm/vmacache.h) \
+ include/linux/vm_event_item.h \
+ $(wildcard include/config/memory/balloon.h) \
+ $(wildcard include/config/balloon/compaction.h) \
+ include/linux/ramfs.h \
+ fs/ramfs/internal.h \
+
+fs/ramfs/file-mmu.o: $(deps_fs/ramfs/file-mmu.o)
+
+$(deps_fs/ramfs/file-mmu.o):
diff --git a/linux/fs/ramfs/.inode.o.cmd b/linux/fs/ramfs/.inode.o.cmd
new file mode 100644
index 00000000..ea2b0aa7
--- /dev/null
+++ b/linux/fs/ramfs/.inode.o.cmd
@@ -0,0 +1,686 @@
+cmd_fs/ramfs/inode.o := arm-linux-gnueabihf-gcc -Wp,-MD,fs/ramfs/.inode.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-dwarf2-cfi-asm -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(inode)" -D"KBUILD_MODNAME=KBUILD_STR(ramfs)" -c -o fs/ramfs/.tmp_inode.o fs/ramfs/inode.c
+
+source_fs/ramfs/inode.o := fs/ramfs/inode.c
+
+deps_fs/ramfs/inode.o := \
+ $(wildcard include/config/shmem.h) \
+ include/linux/fs.h \
+ $(wildcard include/config/sysfs.h) \
+ $(wildcard include/config/smp.h) \
+ $(wildcard include/config/fs/posix/acl.h) \
+ $(wildcard include/config/security.h) \
+ $(wildcard include/config/ima.h) \
+ $(wildcard include/config/fsnotify.h) \
+ $(wildcard include/config/preempt.h) \
+ $(wildcard include/config/epoll.h) \
+ $(wildcard include/config/file/locking.h) \
+ $(wildcard include/config/debug/lock/alloc.h) \
+ $(wildcard include/config/mmu.h) \
+ $(wildcard include/config/quota.h) \
+ $(wildcard include/config/fs/dax.h) \
+ $(wildcard include/config/block.h) \
+ $(wildcard include/config/migration.h) \
+ include/linux/linkage.h \
+ include/linux/compiler.h \
+ $(wildcard include/config/sparse/rcu/pointer.h) \
+ $(wildcard include/config/trace/branch/profiling.h) \
+ $(wildcard include/config/profile/all/branches.h) \
+ $(wildcard include/config/enable/must/check.h) \
+ $(wildcard include/config/enable/warn/deprecated.h) \
+ $(wildcard include/config/kprobes.h) \
+ include/linux/compiler-gcc.h \
+ $(wildcard include/config/arch/supports/optimized/inlining.h) \
+ $(wildcard include/config/optimize/inlining.h) \
+ include/linux/compiler-gcc5.h \
+ $(wildcard include/config/arch/use/builtin/bswap.h) \
+ include/uapi/linux/types.h \
+ arch/arm/include/asm/types.h \
+ include/asm-generic/int-ll64.h \
+ include/uapi/asm-generic/int-ll64.h \
+ arch/arm/include/generated/asm/bitsperlong.h \
+ include/asm-generic/bitsperlong.h \
+ $(wildcard include/config/64bit.h) \
+ include/uapi/asm-generic/bitsperlong.h \
+ include/uapi/linux/posix_types.h \
+ include/linux/stddef.h \
+ include/uapi/linux/stddef.h \
+ arch/arm/include/uapi/asm/posix_types.h \
+ include/uapi/asm-generic/posix_types.h \
+ include/linux/stringify.h \
+ include/linux/export.h \
+ $(wildcard include/config/have/underscore/symbol/prefix.h) \
+ $(wildcard include/config/modules.h) \
+ $(wildcard include/config/modversions.h) \
+ $(wildcard include/config/unused/symbols.h) \
+ arch/arm/include/asm/linkage.h \
+ include/linux/wait.h \
+ $(wildcard include/config/lockdep.h) \
+ include/linux/list.h \
+ $(wildcard include/config/debug/list.h) \
+ include/linux/types.h \
+ $(wildcard include/config/uid16.h) \
+ $(wildcard include/config/lbdaf.h) \
+ $(wildcard include/config/arch/dma/addr/t/64bit.h) \
+ $(wildcard include/config/phys/addr/t/64bit.h) \
+ include/linux/poison.h \
+ $(wildcard include/config/illegal/pointer/value.h) \
+ include/uapi/linux/const.h \
+ include/linux/kernel.h \
+ $(wildcard include/config/preempt/voluntary.h) \
+ $(wildcard include/config/debug/atomic/sleep.h) \
+ $(wildcard include/config/prove/locking.h) \
+ $(wildcard include/config/panic/timeout.h) \
+ $(wildcard include/config/ring/buffer.h) \
+ $(wildcard include/config/tracing.h) \
+ $(wildcard include/config/ftrace/mcount/record.h) \
+ /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include/stdarg.h \
+ include/linux/bitops.h \
+ arch/arm/include/asm/bitops.h \
+ include/linux/irqflags.h \
+ $(wildcard include/config/trace/irqflags.h) \
+ $(wildcard include/config/preempt/rt/full.h) \
+ $(wildcard include/config/irqsoff/tracer.h) \
+ $(wildcard include/config/preempt/tracer.h) \
+ $(wildcard include/config/trace/irqflags/support.h) \
+ include/linux/typecheck.h \
+ arch/arm/include/asm/irqflags.h \
+ $(wildcard include/config/cpu/v7m.h) \
+ arch/arm/include/asm/ptrace.h \
+ $(wildcard include/config/arm/thumb.h) \
+ $(wildcard include/config/thumb2/kernel.h) \
+ arch/arm/include/uapi/asm/ptrace.h \
+ $(wildcard include/config/cpu/endian/be8.h) \
+ arch/arm/include/asm/hwcap.h \
+ arch/arm/include/uapi/asm/hwcap.h \
+ arch/arm/include/asm/barrier.h \
+ $(wildcard include/config/cpu/32v6k.h) \
+ $(wildcard include/config/cpu/xsc3.h) \
+ $(wildcard include/config/cpu/fa526.h) \
+ $(wildcard include/config/arm/heavy/mb.h) \
+ $(wildcard include/config/arch/has/barriers.h) \
+ $(wildcard include/config/arm/dma/mem/bufferable.h) \
+ include/asm-generic/bitops/non-atomic.h \
+ include/asm-generic/bitops/fls64.h \
+ include/asm-generic/bitops/sched.h \
+ include/asm-generic/bitops/hweight.h \
+ include/asm-generic/bitops/arch_hweight.h \
+ include/asm-generic/bitops/const_hweight.h \
+ include/asm-generic/bitops/lock.h \
+ include/asm-generic/bitops/le.h \
+ arch/arm/include/uapi/asm/byteorder.h \
+ include/linux/byteorder/little_endian.h \
+ include/uapi/linux/byteorder/little_endian.h \
+ include/linux/swab.h \
+ include/uapi/linux/swab.h \
+ arch/arm/include/asm/swab.h \
+ arch/arm/include/uapi/asm/swab.h \
+ include/linux/byteorder/generic.h \
+ include/asm-generic/bitops/ext2-atomic-setbit.h \
+ include/linux/log2.h \
+ $(wildcard include/config/arch/has/ilog2/u32.h) \
+ $(wildcard include/config/arch/has/ilog2/u64.h) \
+ include/linux/printk.h \
+ $(wildcard include/config/message/loglevel/default.h) \
+ $(wildcard include/config/early/printk.h) \
+ $(wildcard include/config/printk.h) \
+ $(wildcard include/config/dynamic/debug.h) \
+ include/linux/init.h \
+ $(wildcard include/config/broken/rodata.h) \
+ $(wildcard include/config/lto.h) \
+ include/linux/kern_levels.h \
+ include/linux/cache.h \
+ $(wildcard include/config/arch/has/cache/line/size.h) \
+ include/uapi/linux/kernel.h \
+ include/uapi/linux/sysinfo.h \
+ arch/arm/include/asm/cache.h \
+ $(wildcard include/config/arm/l1/cache/shift.h) \
+ $(wildcard include/config/aeabi.h) \
+ include/linux/dynamic_debug.h \
+ arch/arm/include/asm/div64.h \
+ arch/arm/include/asm/compiler.h \
+ arch/arm/include/asm/bug.h \
+ $(wildcard include/config/bug.h) \
+ $(wildcard include/config/debug/bugverbose.h) \
+ $(wildcard include/config/arm/lpae.h) \
+ arch/arm/include/asm/opcodes.h \
+ $(wildcard include/config/cpu/endian/be32.h) \
+ include/asm-generic/bug.h \
+ $(wildcard include/config/generic/bug.h) \
+ $(wildcard include/config/generic/bug/relative/pointers.h) \
+ $(wildcard include/config/preempt/rt/base.h) \
+ include/linux/spinlock.h \
+ $(wildcard include/config/debug/spinlock.h) \
+ $(wildcard include/config/generic/lockbreak.h) \
+ include/linux/preempt.h \
+ $(wildcard include/config/debug/preempt.h) \
+ $(wildcard include/config/preempt/lazy.h) \
+ $(wildcard include/config/preempt/count.h) \
+ $(wildcard include/config/context/tracking.h) \
+ $(wildcard include/config/preempt/notifiers.h) \
+ arch/arm/include/generated/asm/preempt.h \
+ include/asm-generic/preempt.h \
+ include/linux/thread_info.h \
+ $(wildcard include/config/compat.h) \
+ $(wildcard include/config/debug/stack/usage.h) \
+ include/linux/bug.h \
+ arch/arm/include/asm/thread_info.h \
+ $(wildcard include/config/crunch.h) \
+ $(wildcard include/config/arm/thumbee.h) \
+ arch/arm/include/asm/fpstate.h \
+ $(wildcard include/config/vfpv3.h) \
+ $(wildcard include/config/iwmmxt.h) \
+ arch/arm/include/asm/page.h \
+ $(wildcard include/config/cpu/copy/v4wt.h) \
+ $(wildcard include/config/cpu/copy/v4wb.h) \
+ $(wildcard include/config/cpu/copy/feroceon.h) \
+ $(wildcard include/config/cpu/copy/fa.h) \
+ $(wildcard include/config/cpu/sa1100.h) \
+ $(wildcard include/config/cpu/xscale.h) \
+ $(wildcard include/config/cpu/copy/v6.h) \
+ $(wildcard include/config/kuser/helpers.h) \
+ $(wildcard include/config/have/arch/pfn/valid.h) \
+ arch/arm/include/asm/glue.h \
+ arch/arm/include/asm/pgtable-2level-types.h \
+ arch/arm/include/asm/memory.h \
+ $(wildcard include/config/need/mach/memory/h.h) \
+ $(wildcard include/config/page/offset.h) \
+ $(wildcard include/config/highmem.h) \
+ $(wildcard include/config/dram/base.h) \
+ $(wildcard include/config/dram/size.h) \
+ $(wildcard include/config/have/tcm.h) \
+ $(wildcard include/config/arm/patch/phys/virt.h) \
+ $(wildcard include/config/phys/offset.h) \
+ $(wildcard include/config/virt/to/bus.h) \
+ include/linux/sizes.h \
+ include/asm-generic/memory_model.h \
+ $(wildcard include/config/flatmem.h) \
+ $(wildcard include/config/discontigmem.h) \
+ $(wildcard include/config/sparsemem/vmemmap.h) \
+ $(wildcard include/config/sparsemem.h) \
+ include/asm-generic/getorder.h \
+ arch/arm/include/asm/domain.h \
+ $(wildcard include/config/io/36.h) \
+ $(wildcard include/config/cpu/use/domains.h) \
+ include/linux/bottom_half.h \
+ include/linux/preempt_mask.h \
+ include/linux/spinlock_types.h \
+ include/linux/spinlock_types_raw.h \
+ include/linux/spinlock_types_up.h \
+ include/linux/lockdep.h \
+ $(wildcard include/config/lock/stat.h) \
+ include/linux/rtmutex.h \
+ $(wildcard include/config/debug/mutexes.h) \
+ $(wildcard include/config/debug/rt/mutexes.h) \
+ include/linux/rbtree.h \
+ include/linux/spinlock_types_rt.h \
+ include/linux/rwlock_types_rt.h \
+ include/linux/spinlock_up.h \
+ arch/arm/include/asm/processor.h \
+ $(wildcard include/config/have/hw/breakpoint.h) \
+ $(wildcard include/config/arm/errata/754327.h) \
+ arch/arm/include/asm/hw_breakpoint.h \
+ arch/arm/include/asm/unified.h \
+ $(wildcard include/config/arm/asm/unified.h) \
+ include/linux/rwlock_rt.h \
+ include/linux/spinlock_api_up.h \
+ include/linux/spinlock_rt.h \
+ arch/arm/include/generated/asm/current.h \
+ include/asm-generic/current.h \
+ include/uapi/linux/wait.h \
+ include/linux/atomic.h \
+ $(wildcard include/config/arch/has/atomic/or.h) \
+ $(wildcard include/config/generic/atomic64.h) \
+ arch/arm/include/asm/atomic.h \
+ include/linux/prefetch.h \
+ arch/arm/include/asm/cmpxchg.h \
+ $(wildcard include/config/cpu/sa110.h) \
+ $(wildcard include/config/cpu/v6.h) \
+ include/asm-generic/cmpxchg-local.h \
+ include/asm-generic/atomic-long.h \
+ include/linux/kdev_t.h \
+ include/uapi/linux/kdev_t.h \
+ include/linux/dcache.h \
+ include/linux/rculist.h \
+ include/linux/rcupdate.h \
+ $(wildcard include/config/tiny/rcu.h) \
+ $(wildcard include/config/tree/rcu.h) \
+ $(wildcard include/config/preempt/rcu.h) \
+ $(wildcard include/config/rcu/trace.h) \
+ $(wildcard include/config/rcu/stall/common.h) \
+ $(wildcard include/config/rcu/user/qs.h) \
+ $(wildcard include/config/rcu/nocb/cpu.h) \
+ $(wildcard include/config/tasks/rcu.h) \
+ $(wildcard include/config/debug/objects/rcu/head.h) \
+ $(wildcard include/config/hotplug/cpu.h) \
+ $(wildcard include/config/prove/rcu.h) \
+ $(wildcard include/config/rcu/boost.h) \
+ $(wildcard include/config/rcu/nocb/cpu/all.h) \
+ $(wildcard include/config/no/hz/full/sysidle.h) \
+ include/linux/threads.h \
+ $(wildcard include/config/nr/cpus.h) \
+ $(wildcard include/config/base/small.h) \
+ include/linux/cpumask.h \
+ $(wildcard include/config/cpumask/offstack.h) \
+ $(wildcard include/config/debug/per/cpu/maps.h) \
+ include/linux/bitmap.h \
+ include/linux/string.h \
+ $(wildcard include/config/binary/printf.h) \
+ include/uapi/linux/string.h \
+ arch/arm/include/asm/string.h \
+ include/linux/seqlock.h \
+ include/linux/completion.h \
+ include/linux/wait-simple.h \
+ include/linux/debugobjects.h \
+ $(wildcard include/config/debug/objects.h) \
+ $(wildcard include/config/debug/objects/free.h) \
+ include/linux/rcutree.h \
+ include/linux/rculist_bl.h \
+ include/linux/list_bl.h \
+ include/linux/bit_spinlock.h \
+ include/linux/lockref.h \
+ $(wildcard include/config/arch/use/cmpxchg/lockref.h) \
+ include/generated/bounds.h \
+ include/linux/path.h \
+ include/linux/stat.h \
+ arch/arm/include/uapi/asm/stat.h \
+ include/uapi/linux/stat.h \
+ include/linux/time.h \
+ $(wildcard include/config/arch/uses/gettimeoffset.h) \
+ include/linux/math64.h \
+ $(wildcard include/config/arch/supports/int128.h) \
+ include/linux/time64.h \
+ include/uapi/linux/time.h \
+ include/linux/uidgid.h \
+ $(wildcard include/config/multiuser.h) \
+ $(wildcard include/config/user/ns.h) \
+ include/linux/highuid.h \
+ include/linux/list_lru.h \
+ $(wildcard include/config/memcg/kmem.h) \
+ include/linux/nodemask.h \
+ $(wildcard include/config/movable/node.h) \
+ $(wildcard include/config/numa.h) \
+ include/linux/numa.h \
+ $(wildcard include/config/nodes/shift.h) \
+ include/linux/shrinker.h \
+ include/linux/llist.h \
+ $(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
+ include/linux/radix-tree.h \
+ include/linux/pid.h \
+ include/linux/mutex.h \
+ $(wildcard include/config/mutex/spin/on/owner.h) \
+ include/linux/osq_lock.h \
+ include/linux/mutex_rt.h \
+ include/linux/rwsem.h \
+ $(wildcard include/config/rwsem/spin/on/owner.h) \
+ $(wildcard include/config/rwsem/generic/spinlock.h) \
+ include/linux/rwsem_rt.h \
+ include/linux/capability.h \
+ include/uapi/linux/capability.h \
+ include/linux/semaphore.h \
+ include/uapi/linux/fiemap.h \
+ include/linux/migrate_mode.h \
+ include/linux/percpu-rwsem.h \
+ include/linux/percpu.h \
+ $(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
+ $(wildcard include/config/need/per/cpu/page/first/chunk.h) \
+ $(wildcard include/config/have/setup/per/cpu/area.h) \
+ include/linux/mmdebug.h \
+ $(wildcard include/config/debug/vm.h) \
+ $(wildcard include/config/debug/virtual.h) \
+ include/linux/smp.h \
+ $(wildcard include/config/up/late/init.h) \
+ include/linux/errno.h \
+ include/uapi/linux/errno.h \
+ arch/arm/include/generated/asm/errno.h \
+ include/uapi/asm-generic/errno.h \
+ include/uapi/asm-generic/errno-base.h \
+ include/linux/pfn.h \
+ arch/arm/include/asm/percpu.h \
+ include/asm-generic/percpu.h \
+ include/linux/percpu-defs.h \
+ $(wildcard include/config/debug/force/weak/per/cpu.h) \
+ include/linux/blk_types.h \
+ $(wildcard include/config/blk/cgroup.h) \
+ $(wildcard include/config/blk/dev/integrity.h) \
+ include/uapi/linux/fs.h \
+ include/uapi/linux/limits.h \
+ include/uapi/linux/ioctl.h \
+ arch/arm/include/generated/asm/ioctl.h \
+ include/asm-generic/ioctl.h \
+ include/uapi/asm-generic/ioctl.h \
+ include/linux/quota.h \
+ $(wildcard include/config/quota/netlink/interface.h) \
+ include/linux/percpu_counter.h \
+ include/linux/gfp.h \
+ $(wildcard include/config/zone/dma.h) \
+ $(wildcard include/config/zone/dma32.h) \
+ $(wildcard include/config/pm/sleep.h) \
+ $(wildcard include/config/cma.h) \
+ include/linux/mmzone.h \
+ $(wildcard include/config/force/max/zoneorder.h) \
+ $(wildcard include/config/memory/isolation.h) \
+ $(wildcard include/config/memcg.h) \
+ $(wildcard include/config/memory/hotplug.h) \
+ $(wildcard include/config/compaction.h) \
+ $(wildcard include/config/have/memblock/node/map.h) \
+ $(wildcard include/config/flat/node/mem/map.h) \
+ $(wildcard include/config/page/extension.h) \
+ $(wildcard include/config/no/bootmem.h) \
+ $(wildcard include/config/numa/balancing.h) \
+ $(wildcard include/config/have/memory/present.h) \
+ $(wildcard include/config/have/memoryless/nodes.h) \
+ $(wildcard include/config/need/node/memmap/size.h) \
+ $(wildcard include/config/need/multiple/nodes.h) \
+ $(wildcard include/config/have/arch/early/pfn/to/nid.h) \
+ $(wildcard include/config/sparsemem/extreme.h) \
+ $(wildcard include/config/nodes/span/other/nodes.h) \
+ $(wildcard include/config/holes/in/zone.h) \
+ $(wildcard include/config/arch/has/holes/memorymodel.h) \
+ include/linux/pageblock-flags.h \
+ $(wildcard include/config/hugetlb/page.h) \
+ $(wildcard include/config/hugetlb/page/size/variable.h) \
+ include/linux/page-flags-layout.h \
+ include/linux/memory_hotplug.h \
+ $(wildcard include/config/memory/hotremove.h) \
+ $(wildcard include/config/have/arch/nodedata/extension.h) \
+ $(wildcard include/config/have/bootmem/info/node.h) \
+ include/linux/notifier.h \
+ include/linux/srcu.h \
+ include/linux/workqueue.h \
+ $(wildcard include/config/debug/objects/work.h) \
+ $(wildcard include/config/freezer.h) \
+ include/linux/timer.h \
+ $(wildcard include/config/timer/stats.h) \
+ $(wildcard include/config/debug/objects/timers.h) \
+ include/linux/ktime.h \
+ include/linux/jiffies.h \
+ include/linux/timex.h \
+ include/uapi/linux/timex.h \
+ include/uapi/linux/param.h \
+ arch/arm/include/generated/asm/param.h \
+ include/asm-generic/param.h \
+ $(wildcard include/config/hz.h) \
+ include/uapi/asm-generic/param.h \
+ arch/arm/include/asm/timex.h \
+ include/linux/timekeeping.h \
+ include/linux/topology.h \
+ $(wildcard include/config/use/percpu/numa/node/id.h) \
+ $(wildcard include/config/sched/smt.h) \
+ arch/arm/include/asm/topology.h \
+ $(wildcard include/config/arm/cpu/topology.h) \
+ include/asm-generic/topology.h \
+ include/uapi/linux/dqblk_xfs.h \
+ include/linux/dqblk_v1.h \
+ include/linux/dqblk_v2.h \
+ include/linux/dqblk_qtree.h \
+ include/linux/projid.h \
+ include/uapi/linux/quota.h \
+ include/linux/nfs_fs_i.h \
+ include/linux/fcntl.h \
+ include/uapi/linux/fcntl.h \
+ arch/arm/include/uapi/asm/fcntl.h \
+ include/uapi/asm-generic/fcntl.h \
+ include/linux/err.h \
+ include/linux/pagemap.h \
+ include/linux/mm.h \
+ $(wildcard include/config/sysctl.h) \
+ $(wildcard include/config/mem/soft/dirty.h) \
+ $(wildcard include/config/x86.h) \
+ $(wildcard include/config/ppc.h) \
+ $(wildcard include/config/parisc.h) \
+ $(wildcard include/config/metag.h) \
+ $(wildcard include/config/ia64.h) \
+ $(wildcard include/config/stack/growsup.h) \
+ $(wildcard include/config/transparent/hugepage.h) \
+ $(wildcard include/config/debug/vm/rb.h) \
+ $(wildcard include/config/proc/fs.h) \
+ $(wildcard include/config/debug/pagealloc.h) \
+ $(wildcard include/config/hibernation.h) \
+ $(wildcard include/config/hugetlbfs.h) \
+ include/linux/debug_locks.h \
+ $(wildcard include/config/debug/locking/api/selftests.h) \
+ include/linux/mm_types.h \
+ $(wildcard include/config/split/ptlock/cpus.h) \
+ $(wildcard include/config/arch/enable/split/pmd/ptlock.h) \
+ $(wildcard include/config/have/cmpxchg/double.h) \
+ $(wildcard include/config/have/aligned/struct/page.h) \
+ $(wildcard include/config/kmemcheck.h) \
+ $(wildcard include/config/pgtable/levels.h) \
+ $(wildcard include/config/aio.h) \
+ $(wildcard include/config/mmu/notifier.h) \
+ $(wildcard include/config/x86/intel/mpx.h) \
+ include/linux/auxvec.h \
+ include/uapi/linux/auxvec.h \
+ arch/arm/include/asm/auxvec.h \
+ arch/arm/include/uapi/asm/auxvec.h \
+ include/linux/uprobes.h \
+ $(wildcard include/config/uprobes.h) \
+ arch/arm/include/asm/mmu.h \
+ $(wildcard include/config/cpu/has/asid.h) \
+ $(wildcard include/config/vdso.h) \
+ include/linux/range.h \
+ include/linux/resource.h \
+ include/uapi/linux/resource.h \
+ arch/arm/include/generated/asm/resource.h \
+ include/asm-generic/resource.h \
+ include/uapi/asm-generic/resource.h \
+ include/linux/page_ext.h \
+ $(wildcard include/config/page/owner.h) \
+ include/linux/stacktrace.h \
+ $(wildcard include/config/stacktrace.h) \
+ $(wildcard include/config/user/stacktrace/support.h) \
+ arch/arm/include/asm/pgtable.h \
+ $(wildcard include/config/highpte.h) \
+ arch/arm/include/asm/proc-fns.h \
+ arch/arm/include/asm/glue-proc.h \
+ $(wildcard include/config/cpu/arm7tdmi.h) \
+ $(wildcard include/config/cpu/arm720t.h) \
+ $(wildcard include/config/cpu/arm740t.h) \
+ $(wildcard include/config/cpu/arm9tdmi.h) \
+ $(wildcard include/config/cpu/arm920t.h) \
+ $(wildcard include/config/cpu/arm922t.h) \
+ $(wildcard include/config/cpu/arm925t.h) \
+ $(wildcard include/config/cpu/arm926t.h) \
+ $(wildcard include/config/cpu/arm940t.h) \
+ $(wildcard include/config/cpu/arm946e.h) \
+ $(wildcard include/config/cpu/arm1020.h) \
+ $(wildcard include/config/cpu/arm1020e.h) \
+ $(wildcard include/config/cpu/arm1022.h) \
+ $(wildcard include/config/cpu/arm1026.h) \
+ $(wildcard include/config/cpu/mohawk.h) \
+ $(wildcard include/config/cpu/feroceon.h) \
+ $(wildcard include/config/cpu/v6k.h) \
+ $(wildcard include/config/cpu/pj4b.h) \
+ $(wildcard include/config/cpu/v7.h) \
+ include/asm-generic/pgtable-nopud.h \
+ arch/arm/include/asm/pgtable-hwdef.h \
+ arch/arm/include/asm/pgtable-2level-hwdef.h \
+ arch/arm/include/asm/tlbflush.h \
+ $(wildcard include/config/smp/on/up.h) \
+ $(wildcard include/config/cpu/tlb/v4wt.h) \
+ $(wildcard include/config/cpu/tlb/fa.h) \
+ $(wildcard include/config/cpu/tlb/v4wbi.h) \
+ $(wildcard include/config/cpu/tlb/feroceon.h) \
+ $(wildcard include/config/cpu/tlb/v4wb.h) \
+ $(wildcard include/config/cpu/tlb/v6.h) \
+ $(wildcard include/config/cpu/tlb/v7.h) \
+ $(wildcard include/config/arm/errata/720789.h) \
+ $(wildcard include/config/arm/errata/798181.h) \
+ include/linux/sched.h \
+ $(wildcard include/config/sched/debug.h) \
+ $(wildcard include/config/no/hz/common.h) \
+ $(wildcard include/config/lockup/detector.h) \
+ $(wildcard include/config/detect/hung/task.h) \
+ $(wildcard include/config/core/dump/default/elf/headers.h) \
+ $(wildcard include/config/sched/autogroup.h) \
+ $(wildcard include/config/virt/cpu/accounting/native.h) \
+ $(wildcard include/config/bsd/process/acct.h) \
+ $(wildcard include/config/taskstats.h) \
+ $(wildcard include/config/audit.h) \
+ $(wildcard include/config/cgroups.h) \
+ $(wildcard include/config/inotify/user.h) \
+ $(wildcard include/config/fanotify.h) \
+ $(wildcard include/config/posix/mqueue.h) \
+ $(wildcard include/config/keys.h) \
+ $(wildcard include/config/perf/events.h) \
+ $(wildcard include/config/schedstats.h) \
+ $(wildcard include/config/task/delay/acct.h) \
+ $(wildcard include/config/sched/mc.h) \
+ $(wildcard include/config/fair/group/sched.h) \
+ $(wildcard include/config/rt/group/sched.h) \
+ $(wildcard include/config/cgroup/sched.h) \
+ $(wildcard include/config/blk/dev/io/trace.h) \
+ $(wildcard include/config/compat/brk.h) \
+ $(wildcard include/config/cc/stackprotector.h) \
+ $(wildcard include/config/virt/cpu/accounting/gen.h) \
+ $(wildcard include/config/sysvipc.h) \
+ $(wildcard include/config/auditsyscall.h) \
+ $(wildcard include/config/rt/mutexes.h) \
+ $(wildcard include/config/task/xacct.h) \
+ $(wildcard include/config/cpusets.h) \
+ $(wildcard include/config/futex.h) \
+ $(wildcard include/config/fault/injection.h) \
+ $(wildcard include/config/latencytop.h) \
+ $(wildcard include/config/kasan.h) \
+ $(wildcard include/config/function/graph/tracer.h) \
+ $(wildcard include/config/wakeup/latency/hist.h) \
+ $(wildcard include/config/missed/timer/offsets/hist.h) \
+ $(wildcard include/config/bcache.h) \
+ $(wildcard include/config/x86/32.h) \
+ $(wildcard include/config/have/unstable/sched/clock.h) \
+ $(wildcard include/config/irq/time/accounting.h) \
+ $(wildcard include/config/no/hz/full.h) \
+ include/uapi/linux/sched.h \
+ include/linux/sched/prio.h \
+ include/linux/plist.h \
+ $(wildcard include/config/debug/pi/list.h) \
+ arch/arm/include/asm/kmap_types.h \
+ include/linux/cputime.h \
+ arch/arm/include/generated/asm/cputime.h \
+ include/asm-generic/cputime.h \
+ $(wildcard include/config/virt/cpu/accounting.h) \
+ include/asm-generic/cputime_jiffies.h \
+ include/linux/sem.h \
+ include/uapi/linux/sem.h \
+ include/linux/ipc.h \
+ include/uapi/linux/ipc.h \
+ arch/arm/include/generated/asm/ipcbuf.h \
+ include/uapi/asm-generic/ipcbuf.h \
+ arch/arm/include/generated/asm/sembuf.h \
+ include/uapi/asm-generic/sembuf.h \
+ include/linux/shm.h \
+ include/uapi/linux/shm.h \
+ arch/arm/include/generated/asm/shmbuf.h \
+ include/uapi/asm-generic/shmbuf.h \
+ arch/arm/include/asm/shmparam.h \
+ include/linux/signal.h \
+ $(wildcard include/config/old/sigaction.h) \
+ include/uapi/linux/signal.h \
+ arch/arm/include/asm/signal.h \
+ arch/arm/include/uapi/asm/signal.h \
+ include/uapi/asm-generic/signal-defs.h \
+ arch/arm/include/uapi/asm/sigcontext.h \
+ arch/arm/include/generated/asm/siginfo.h \
+ include/asm-generic/siginfo.h \
+ include/uapi/asm-generic/siginfo.h \
+ include/linux/proportions.h \
+ include/linux/seccomp.h \
+ $(wildcard include/config/seccomp.h) \
+ $(wildcard include/config/have/arch/seccomp/filter.h) \
+ $(wildcard include/config/seccomp/filter.h) \
+ include/uapi/linux/seccomp.h \
+ arch/arm/include/generated/asm/seccomp.h \
+ include/asm-generic/seccomp.h \
+ include/uapi/linux/unistd.h \
+ arch/arm/include/asm/unistd.h \
+ $(wildcard include/config/oabi/compat.h) \
+ arch/arm/include/uapi/asm/unistd.h \
+ include/linux/hrtimer.h \
+ $(wildcard include/config/high/res/timers.h) \
+ $(wildcard include/config/timerfd.h) \
+ include/linux/timerqueue.h \
+ include/linux/task_io_accounting.h \
+ $(wildcard include/config/task/io/accounting.h) \
+ include/linux/latencytop.h \
+ include/linux/cred.h \
+ $(wildcard include/config/debug/credentials.h) \
+ include/linux/key.h \
+ include/linux/sysctl.h \
+ include/uapi/linux/sysctl.h \
+ include/linux/assoc_array.h \
+ $(wildcard include/config/associative/array.h) \
+ include/linux/selinux.h \
+ $(wildcard include/config/security/selinux.h) \
+ include/uapi/linux/magic.h \
+ arch/arm/include/asm/pgtable-2level.h \
+ include/asm-generic/pgtable.h \
+ $(wildcard include/config/have/arch/soft/dirty.h) \
+ $(wildcard include/config/have/arch/huge/vmap.h) \
+ include/linux/page-flags.h \
+ $(wildcard include/config/pageflags/extended.h) \
+ $(wildcard include/config/arch/uses/pg/uncached.h) \
+ $(wildcard include/config/memory/failure.h) \
+ $(wildcard include/config/swap.h) \
+ $(wildcard include/config/ksm.h) \
+ include/linux/huge_mm.h \
+ include/linux/vmstat.h \
+ $(wildcard include/config/vm/event/counters.h) \
+ $(wildcard include/config/debug/tlbflush.h) \
+ $(wildcard include/config/debug/vm/vmacache.h) \
+ include/linux/vm_event_item.h \
+ $(wildcard include/config/memory/balloon.h) \
+ $(wildcard include/config/balloon/compaction.h) \
+ include/linux/highmem.h \
+ $(wildcard include/config/debug/highmem.h) \
+ include/linux/uaccess.h \
+ arch/arm/include/asm/uaccess.h \
+ $(wildcard include/config/have/efficient/unaligned/access.h) \
+ include/linux/hardirq.h \
+ include/linux/ftrace_irq.h \
+ $(wildcard include/config/ftrace/nmi/enter.h) \
+ include/linux/vtime.h \
+ include/linux/context_tracking_state.h \
+ include/linux/static_key.h \
+ include/linux/jump_label.h \
+ $(wildcard include/config/jump/label.h) \
+ arch/arm/include/asm/hardirq.h \
+ arch/arm/include/asm/irq.h \
+ $(wildcard include/config/sparse/irq.h) \
+ $(wildcard include/config/multi/irq/handler.h) \
+ include/linux/irq_cpustat.h \
+ arch/arm/include/asm/cacheflush.h \
+ $(wildcard include/config/arm/errata/411920.h) \
+ $(wildcard include/config/cpu/cache/vipt.h) \
+ $(wildcard include/config/outer/cache.h) \
+ $(wildcard include/config/frame/pointer.h) \
+ $(wildcard include/config/debug/rodata.h) \
+ arch/arm/include/asm/glue-cache.h \
+ $(wildcard include/config/cpu/cache/v4.h) \
+ $(wildcard include/config/cpu/cache/v4wb.h) \
+ arch/arm/include/asm/cachetype.h \
+ $(wildcard include/config/cpu/cache/vivt.h) \
+ arch/arm/include/asm/outercache.h \
+ $(wildcard include/config/outer/cache/sync.h) \
+ arch/arm/include/asm/highmem.h \
+ include/linux/hugetlb_inline.h \
+ include/linux/backing-dev.h \
+ $(wildcard include/config/debug/fs.h) \
+ include/linux/flex_proportions.h \
+ include/linux/writeback.h \
+ include/linux/ramfs.h \
+ include/linux/parser.h \
+ include/linux/slab.h \
+ $(wildcard include/config/debug/slab.h) \
+ $(wildcard include/config/failslab.h) \
+ $(wildcard include/config/slab.h) \
+ $(wildcard include/config/slub.h) \
+ $(wildcard include/config/slob.h) \
+ include/linux/kmemleak.h \
+ $(wildcard include/config/debug/kmemleak.h) \
+ include/linux/kasan.h \
+ $(wildcard include/config/kasan/shadow/offset.h) \
+ fs/ramfs/internal.h \
+
+fs/ramfs/inode.o: $(deps_fs/ramfs/inode.o)
+
+$(deps_fs/ramfs/inode.o):
diff --git a/linux/fs/ramfs/.ramfs.o.cmd b/linux/fs/ramfs/.ramfs.o.cmd
new file mode 100644
index 00000000..2403f765
--- /dev/null
+++ b/linux/fs/ramfs/.ramfs.o.cmd
@@ -0,0 +1 @@
+cmd_fs/ramfs/ramfs.o := arm-linux-gnueabihf-ld -EL -r -o fs/ramfs/ramfs.o fs/ramfs/inode.o fs/ramfs/file-mmu.o
diff --git a/linux/fs/ramfs/Makefile b/linux/fs/ramfs/Makefile
new file mode 100644
index 00000000..c71e65dc
--- /dev/null
+++ b/linux/fs/ramfs/Makefile
@@ -0,0 +1,9 @@
+#
+# Makefile for the linux ramfs routines.
+#
+
+obj-y += ramfs.o
+
+file-mmu-y := file-nommu.o
+file-mmu-$(CONFIG_MMU) := file-mmu.o
+ramfs-objs += inode.o $(file-mmu-y)
diff --git a/linux/fs/ramfs/built-in.o b/linux/fs/ramfs/built-in.o
new file mode 100644
index 00000000..ba964b8e
--- /dev/null
+++ b/linux/fs/ramfs/built-in.o
Binary files differ
diff --git a/linux/fs/ramfs/file-mmu.c b/linux/fs/ramfs/file-mmu.c
new file mode 100644
index 00000000..183a2126
--- /dev/null
+++ b/linux/fs/ramfs/file-mmu.c
@@ -0,0 +1,46 @@
+/* file-mmu.c: ramfs MMU-based file operations
+ *
+ * Resizable simple ram filesystem for Linux.
+ *
+ * Copyright (C) 2000 Linus Torvalds.
+ * 2000 Transmeta Corp.
+ *
+ * Usage limits added by David Gibson, Linuxcare Australia.
+ * This file is released under the GPL.
+ */
+
+/*
+ * NOTE! This filesystem is probably most useful
+ * not as a real filesystem, but as an example of
+ * how virtual filesystems can be written.
+ *
+ * It doesn't get much simpler than this. Consider
+ * that this file implements the full semantics of
+ * a POSIX-compliant read-write filesystem.
+ *
+ * Note in particular how the filesystem does not
+ * need to implement any data structures of its own
+ * to keep track of the virtual data: using the VFS
+ * caches is sufficient.
+ */
+
+#include <linux/fs.h>
+#include <linux/mm.h>
+#include <linux/ramfs.h>
+
+#include "internal.h"
+
+const struct file_operations ramfs_file_operations = {
+ .read_iter = generic_file_read_iter,
+ .write_iter = generic_file_write_iter,
+ .mmap = generic_file_mmap,
+ .fsync = noop_fsync,
+ .splice_read = generic_file_splice_read,
+ .splice_write = iter_file_splice_write,
+ .llseek = generic_file_llseek,
+};
+
+const struct inode_operations ramfs_file_inode_operations = {
+ .setattr = simple_setattr,
+ .getattr = simple_getattr,
+};
diff --git a/linux/fs/ramfs/file-mmu.o b/linux/fs/ramfs/file-mmu.o
new file mode 100644
index 00000000..9a6169c4
--- /dev/null
+++ b/linux/fs/ramfs/file-mmu.o
Binary files differ
diff --git a/linux/fs/ramfs/file-nommu.c b/linux/fs/ramfs/file-nommu.c
new file mode 100644
index 00000000..ba1323a9
--- /dev/null
+++ b/linux/fs/ramfs/file-nommu.c
@@ -0,0 +1,271 @@
+/* file-nommu.c: no-MMU version of ramfs
+ *
+ * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells (dhowells@redhat.com)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ */
+
+#include <linux/module.h>
+#include <linux/fs.h>
+#include <linux/mm.h>
+#include <linux/pagemap.h>
+#include <linux/highmem.h>
+#include <linux/init.h>
+#include <linux/string.h>
+#include <linux/backing-dev.h>
+#include <linux/ramfs.h>
+#include <linux/pagevec.h>
+#include <linux/mman.h>
+#include <linux/sched.h>
+#include <linux/slab.h>
+
+#include <asm/uaccess.h>
+#include "internal.h"
+
+static int ramfs_nommu_setattr(struct dentry *, struct iattr *);
+static unsigned long ramfs_nommu_get_unmapped_area(struct file *file,
+ unsigned long addr,
+ unsigned long len,
+ unsigned long pgoff,
+ unsigned long flags);
+static int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma);
+
+static unsigned ramfs_mmap_capabilities(struct file *file)
+{
+ return NOMMU_MAP_DIRECT | NOMMU_MAP_COPY | NOMMU_MAP_READ |
+ NOMMU_MAP_WRITE | NOMMU_MAP_EXEC;
+}
+
+const struct file_operations ramfs_file_operations = {
+ .mmap_capabilities = ramfs_mmap_capabilities,
+ .mmap = ramfs_nommu_mmap,
+ .get_unmapped_area = ramfs_nommu_get_unmapped_area,
+ .read_iter = generic_file_read_iter,
+ .write_iter = generic_file_write_iter,
+ .fsync = noop_fsync,
+ .splice_read = generic_file_splice_read,
+ .splice_write = iter_file_splice_write,
+ .llseek = generic_file_llseek,
+};
+
+const struct inode_operations ramfs_file_inode_operations = {
+ .setattr = ramfs_nommu_setattr,
+ .getattr = simple_getattr,
+};
+
+/*****************************************************************************/
+/*
+ * add a contiguous set of pages into a ramfs inode when it's truncated from
+ * size 0 on the assumption that it's going to be used for an mmap of shared
+ * memory
+ */
+int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize)
+{
+ unsigned long npages, xpages, loop;
+ struct page *pages;
+ unsigned order;
+ void *data;
+ int ret;
+
+ /* make various checks */
+ order = get_order(newsize);
+ if (unlikely(order >= MAX_ORDER))
+ return -EFBIG;
+
+ ret = inode_newsize_ok(inode, newsize);
+ if (ret)
+ return ret;
+
+ i_size_write(inode, newsize);
+
+ /* allocate enough contiguous pages to be able to satisfy the
+ * request */
+ pages = alloc_pages(mapping_gfp_mask(inode->i_mapping), order);
+ if (!pages)
+ return -ENOMEM;
+
+ /* split the high-order page into an array of single pages */
+ xpages = 1UL << order;
+ npages = (newsize + PAGE_SIZE - 1) >> PAGE_SHIFT;
+
+ split_page(pages, order);
+
+ /* trim off any pages we don't actually require */
+ for (loop = npages; loop < xpages; loop++)
+ __free_page(pages + loop);
+
+ /* clear the memory we allocated */
+ newsize = PAGE_SIZE * npages;
+ data = page_address(pages);
+ memset(data, 0, newsize);
+
+ /* attach all the pages to the inode's address space */
+ for (loop = 0; loop < npages; loop++) {
+ struct page *page = pages + loop;
+
+ ret = add_to_page_cache_lru(page, inode->i_mapping, loop,
+ GFP_KERNEL);
+ if (ret < 0)
+ goto add_error;
+
+ /* prevent the page from being discarded on memory pressure */
+ SetPageDirty(page);
+ SetPageUptodate(page);
+
+ unlock_page(page);
+ put_page(page);
+ }
+
+ return 0;
+
+add_error:
+ while (loop < npages)
+ __free_page(pages + loop++);
+ return ret;
+}
+
+/*****************************************************************************/
+/*
+ *
+ */
+static int ramfs_nommu_resize(struct inode *inode, loff_t newsize, loff_t size)
+{
+ int ret;
+
+ /* assume a truncate from zero size is going to be for the purposes of
+ * shared mmap */
+ if (size == 0) {
+ if (unlikely(newsize >> 32))
+ return -EFBIG;
+
+ return ramfs_nommu_expand_for_mapping(inode, newsize);
+ }
+
+ /* check that a decrease in size doesn't cut off any shared mappings */
+ if (newsize < size) {
+ ret = nommu_shrink_inode_mappings(inode, size, newsize);
+ if (ret < 0)
+ return ret;
+ }
+
+ truncate_setsize(inode, newsize);
+ return 0;
+}
+
+/*****************************************************************************/
+/*
+ * handle a change of attributes
+ * - we're specifically interested in a change of size
+ */
+static int ramfs_nommu_setattr(struct dentry *dentry, struct iattr *ia)
+{
+ struct inode *inode = d_inode(dentry);
+ unsigned int old_ia_valid = ia->ia_valid;
+ int ret = 0;
+
+ /* POSIX UID/GID verification for setting inode attributes */
+ ret = inode_change_ok(inode, ia);
+ if (ret)
+ return ret;
+
+ /* pick out size-changing events */
+ if (ia->ia_valid & ATTR_SIZE) {
+ loff_t size = inode->i_size;
+
+ if (ia->ia_size != size) {
+ ret = ramfs_nommu_resize(inode, ia->ia_size, size);
+ if (ret < 0 || ia->ia_valid == ATTR_SIZE)
+ goto out;
+ } else {
+ /* we skipped the truncate but must still update
+ * timestamps
+ */
+ ia->ia_valid |= ATTR_MTIME|ATTR_CTIME;
+ }
+ }
+
+ setattr_copy(inode, ia);
+ out:
+ ia->ia_valid = old_ia_valid;
+ return ret;
+}
+
+/*****************************************************************************/
+/*
+ * try to determine where a shared mapping can be made
+ * - we require that:
+ * - the pages to be mapped must exist
+ * - the pages be physically contiguous in sequence
+ */
+static unsigned long ramfs_nommu_get_unmapped_area(struct file *file,
+ unsigned long addr, unsigned long len,
+ unsigned long pgoff, unsigned long flags)
+{
+ unsigned long maxpages, lpages, nr, loop, ret;
+ struct inode *inode = file_inode(file);
+ struct page **pages = NULL, **ptr, *page;
+ loff_t isize;
+
+ if (!(flags & MAP_SHARED))
+ return addr;
+
+ /* the mapping mustn't extend beyond the EOF */
+ lpages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT;
+ isize = i_size_read(inode);
+
+ ret = -EINVAL;
+ maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT;
+ if (pgoff >= maxpages)
+ goto out;
+
+ if (maxpages - pgoff < lpages)
+ goto out;
+
+ /* gang-find the pages */
+ ret = -ENOMEM;
+ pages = kcalloc(lpages, sizeof(struct page *), GFP_KERNEL);
+ if (!pages)
+ goto out_free;
+
+ nr = find_get_pages(inode->i_mapping, pgoff, lpages, pages);
+ if (nr != lpages)
+ goto out_free_pages; /* leave if some pages were missing */
+
+ /* check the pages for physical adjacency */
+ ptr = pages;
+ page = *ptr++;
+ page++;
+ for (loop = lpages; loop > 1; loop--)
+ if (*ptr++ != page++)
+ goto out_free_pages;
+
+ /* okay - all conditions fulfilled */
+ ret = (unsigned long) page_address(pages[0]);
+
+out_free_pages:
+ ptr = pages;
+ for (loop = nr; loop > 0; loop--)
+ put_page(*ptr++);
+out_free:
+ kfree(pages);
+out:
+ return ret;
+}
+
+/*****************************************************************************/
+/*
+ * set up a mapping for shared memory segments
+ */
+static int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma)
+{
+ if (!(vma->vm_flags & VM_SHARED))
+ return -ENOSYS;
+
+ file_accessed(file);
+ vma->vm_ops = &generic_file_vm_ops;
+ return 0;
+}
diff --git a/linux/fs/ramfs/inode.c b/linux/fs/ramfs/inode.c
new file mode 100644
index 00000000..889d558b
--- /dev/null
+++ b/linux/fs/ramfs/inode.c
@@ -0,0 +1,266 @@
+/*
+ * Resizable simple ram filesystem for Linux.
+ *
+ * Copyright (C) 2000 Linus Torvalds.
+ * 2000 Transmeta Corp.
+ *
+ * Usage limits added by David Gibson, Linuxcare Australia.
+ * This file is released under the GPL.
+ */
+
+/*
+ * NOTE! This filesystem is probably most useful
+ * not as a real filesystem, but as an example of
+ * how virtual filesystems can be written.
+ *
+ * It doesn't get much simpler than this. Consider
+ * that this file implements the full semantics of
+ * a POSIX-compliant read-write filesystem.
+ *
+ * Note in particular how the filesystem does not
+ * need to implement any data structures of its own
+ * to keep track of the virtual data: using the VFS
+ * caches is sufficient.
+ */
+
+#include <linux/fs.h>
+#include <linux/pagemap.h>
+#include <linux/highmem.h>
+#include <linux/time.h>
+#include <linux/init.h>
+#include <linux/string.h>
+#include <linux/backing-dev.h>
+#include <linux/ramfs.h>
+#include <linux/sched.h>
+#include <linux/parser.h>
+#include <linux/magic.h>
+#include <linux/slab.h>
+#include <asm/uaccess.h>
+#include "internal.h"
+
+#define RAMFS_DEFAULT_MODE 0755
+
+static const struct super_operations ramfs_ops;
+static const struct inode_operations ramfs_dir_inode_operations;
+
+static const struct address_space_operations ramfs_aops = {
+ .readpage = simple_readpage,
+ .write_begin = simple_write_begin,
+ .write_end = simple_write_end,
+ .set_page_dirty = __set_page_dirty_no_writeback,
+};
+
+struct inode *ramfs_get_inode(struct super_block *sb,
+ const struct inode *dir, umode_t mode, dev_t dev)
+{
+ struct inode * inode = new_inode(sb);
+
+ if (inode) {
+ inode->i_ino = get_next_ino();
+ inode_init_owner(inode, dir, mode);
+ inode->i_mapping->a_ops = &ramfs_aops;
+ mapping_set_gfp_mask(inode->i_mapping, GFP_HIGHUSER);
+ mapping_set_unevictable(inode->i_mapping);
+ inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
+ switch (mode & S_IFMT) {
+ default:
+ init_special_inode(inode, mode, dev);
+ break;
+ case S_IFREG:
+ inode->i_op = &ramfs_file_inode_operations;
+ inode->i_fop = &ramfs_file_operations;
+ break;
+ case S_IFDIR:
+ inode->i_op = &ramfs_dir_inode_operations;
+ inode->i_fop = &simple_dir_operations;
+
+ /* directory inodes start off with i_nlink == 2 (for "." entry) */
+ inc_nlink(inode);
+ break;
+ case S_IFLNK:
+ inode->i_op = &page_symlink_inode_operations;
+ break;
+ }
+ }
+ return inode;
+}
+
+/*
+ * File creation. Allocate an inode, and we're done..
+ */
+/* SMP-safe */
+static int
+ramfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
+{
+ struct inode * inode = ramfs_get_inode(dir->i_sb, dir, mode, dev);
+ int error = -ENOSPC;
+
+ if (inode) {
+ d_instantiate(dentry, inode);
+ dget(dentry); /* Extra count - pin the dentry in core */
+ error = 0;
+ dir->i_mtime = dir->i_ctime = CURRENT_TIME;
+ }
+ return error;
+}
+
+static int ramfs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode)
+{
+ int retval = ramfs_mknod(dir, dentry, mode | S_IFDIR, 0);
+ if (!retval)
+ inc_nlink(dir);
+ return retval;
+}
+
+static int ramfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl)
+{
+ return ramfs_mknod(dir, dentry, mode | S_IFREG, 0);
+}
+
+static int ramfs_symlink(struct inode * dir, struct dentry *dentry, const char * symname)
+{
+ struct inode *inode;
+ int error = -ENOSPC;
+
+ inode = ramfs_get_inode(dir->i_sb, dir, S_IFLNK|S_IRWXUGO, 0);
+ if (inode) {
+ int l = strlen(symname)+1;
+ error = page_symlink(inode, symname, l);
+ if (!error) {
+ d_instantiate(dentry, inode);
+ dget(dentry);
+ dir->i_mtime = dir->i_ctime = CURRENT_TIME;
+ } else
+ iput(inode);
+ }
+ return error;
+}
+
+static const struct inode_operations ramfs_dir_inode_operations = {
+ .create = ramfs_create,
+ .lookup = simple_lookup,
+ .link = simple_link,
+ .unlink = simple_unlink,
+ .symlink = ramfs_symlink,
+ .mkdir = ramfs_mkdir,
+ .rmdir = simple_rmdir,
+ .mknod = ramfs_mknod,
+ .rename = simple_rename,
+};
+
+static const struct super_operations ramfs_ops = {
+ .statfs = simple_statfs,
+ .drop_inode = generic_delete_inode,
+ .show_options = generic_show_options,
+};
+
+struct ramfs_mount_opts {
+ umode_t mode;
+};
+
+enum {
+ Opt_mode,
+ Opt_err
+};
+
+static const match_table_t tokens = {
+ {Opt_mode, "mode=%o"},
+ {Opt_err, NULL}
+};
+
+struct ramfs_fs_info {
+ struct ramfs_mount_opts mount_opts;
+};
+
+static int ramfs_parse_options(char *data, struct ramfs_mount_opts *opts)
+{
+ substring_t args[MAX_OPT_ARGS];
+ int option;
+ int token;
+ char *p;
+
+ opts->mode = RAMFS_DEFAULT_MODE;
+
+ while ((p = strsep(&data, ",")) != NULL) {
+ if (!*p)
+ continue;
+
+ token = match_token(p, tokens, args);
+ switch (token) {
+ case Opt_mode:
+ if (match_octal(&args[0], &option))
+ return -EINVAL;
+ opts->mode = option & S_IALLUGO;
+ break;
+ /*
+ * We might like to report bad mount options here;
+ * but traditionally ramfs has ignored all mount options,
+ * and as it is used as a !CONFIG_SHMEM simple substitute
+ * for tmpfs, better continue to ignore other mount options.
+ */
+ }
+ }
+
+ return 0;
+}
+
+int ramfs_fill_super(struct super_block *sb, void *data, int silent)
+{
+ struct ramfs_fs_info *fsi;
+ struct inode *inode;
+ int err;
+
+ save_mount_options(sb, data);
+
+ fsi = kzalloc(sizeof(struct ramfs_fs_info), GFP_KERNEL);
+ sb->s_fs_info = fsi;
+ if (!fsi)
+ return -ENOMEM;
+
+ err = ramfs_parse_options(data, &fsi->mount_opts);
+ if (err)
+ return err;
+
+ sb->s_maxbytes = MAX_LFS_FILESIZE;
+ sb->s_blocksize = PAGE_CACHE_SIZE;
+ sb->s_blocksize_bits = PAGE_CACHE_SHIFT;
+ sb->s_magic = RAMFS_MAGIC;
+ sb->s_op = &ramfs_ops;
+ sb->s_time_gran = 1;
+
+ inode = ramfs_get_inode(sb, NULL, S_IFDIR | fsi->mount_opts.mode, 0);
+ sb->s_root = d_make_root(inode);
+ if (!sb->s_root)
+ return -ENOMEM;
+
+ return 0;
+}
+
+struct dentry *ramfs_mount(struct file_system_type *fs_type,
+ int flags, const char *dev_name, void *data)
+{
+ return mount_nodev(fs_type, flags, data, ramfs_fill_super);
+}
+
+static void ramfs_kill_sb(struct super_block *sb)
+{
+ kfree(sb->s_fs_info);
+ kill_litter_super(sb);
+}
+
+static struct file_system_type ramfs_fs_type = {
+ .name = "ramfs",
+ .mount = ramfs_mount,
+ .kill_sb = ramfs_kill_sb,
+ .fs_flags = FS_USERNS_MOUNT,
+};
+
+int __init init_ramfs_fs(void)
+{
+ static unsigned long once;
+
+ if (test_and_set_bit(0, &once))
+ return 0;
+ return register_filesystem(&ramfs_fs_type);
+}
+fs_initcall(init_ramfs_fs);
diff --git a/linux/fs/ramfs/inode.o b/linux/fs/ramfs/inode.o
new file mode 100644
index 00000000..dd8cb8b9
--- /dev/null
+++ b/linux/fs/ramfs/inode.o
Binary files differ
diff --git a/linux/fs/ramfs/internal.h b/linux/fs/ramfs/internal.h
new file mode 100644
index 00000000..a9d8ae88
--- /dev/null
+++ b/linux/fs/ramfs/internal.h
@@ -0,0 +1,13 @@
+/* internal.h: ramfs internal definitions
+ *
+ * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells (dhowells@redhat.com)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ */
+
+
+extern const struct inode_operations ramfs_file_inode_operations;
diff --git a/linux/fs/ramfs/modules.builtin b/linux/fs/ramfs/modules.builtin
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/linux/fs/ramfs/modules.builtin
diff --git a/linux/fs/ramfs/modules.order b/linux/fs/ramfs/modules.order
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/linux/fs/ramfs/modules.order
diff --git a/linux/fs/ramfs/ramfs.o b/linux/fs/ramfs/ramfs.o
new file mode 100644
index 00000000..c5b3bce8
--- /dev/null
+++ b/linux/fs/ramfs/ramfs.o
Binary files differ