kernel_optimize_test/arch/sh/kernel
Ulrich Drepper d35c7b0e54 unified (weak) sys_pipe implementation
This replaces the duplicated arch-specific versions of "sys_pipe()" with
one unified implementation.  This removes almost 250 lines of duplicated
code.

It's marked __weak, so that *if* an architecture wants to override the
default implementation it can do so by simply having its own replacement
version, since many architectures use alternate calling conventions for
the 'pipe()' system call for legacy reasons (ie traditional UNIX
implementations often return the two file descriptors in registers)

I still haven't changed the cris version even though Linus says the BKL
isn't needed.  The arch maintainer can easily do it if there are really
no obstacles.

Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-03 13:50:33 -07:00
..
cpu sh: Fix up L2 cache probe. 2008-04-18 09:50:07 -07:00
timers sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00
vsyscall sh: Terminate .eh_frame in VDSO with a 4-byte 0. 2007-11-02 12:29:37 +09:00
asm-offsets.c sh: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
cf-enabler.c sh: Add support for Solution Engine SH7721 board 2008-04-18 09:50:02 -07:00
cpufreq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 2007-10-13 09:49:04 -07:00
crash_dump.c
debugtraps.S
dump_task.c sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
early_printk.c sh: Add support for SH7721 CPU subtype. 2008-01-28 13:19:02 +09:00
entry-common.S sh: GUSA atomic rollback support. 2008-01-28 13:18:58 +09:00
head_32.S sh: Provide a 29/32-bit physical hint for bootloaders. 2008-01-28 13:18:57 +09:00
head_64.S sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
init_task.c sh: Provide dummy swapper pt_regs for SH-5 ctx switch. 2008-01-28 13:18:48 +09:00
io_generic.c sh: trapped io support V2 2008-02-14 14:22:09 +09:00
io_trapped.c sh: Fix up section mismatches. 2008-03-06 12:43:38 +09:00
io.c sh: trapped io support V2 2008-02-14 14:22:09 +09:00
irq.c proper __do_softirq() prototype 2008-04-29 08:06:02 -07:00
kgdb_jmp.S
kgdb_stub.c sh: Fix up kgdb build with modular sh-sci. 2007-11-07 11:13:55 +09:00
machine_kexec.c Use extended crashkernel command line on sh 2007-10-19 11:53:51 -07:00
machvec.c sh: panic on machvec section misalignment. 2007-08-07 19:13:23 +09:00
Makefile sh: Have 32-bit use arch/sh/kernel/Makefile_32. 2008-01-28 13:18:41 +09:00
Makefile_32 Generic semaphore implementation 2008-04-17 10:42:34 -04:00
Makefile_64 Generic semaphore implementation 2008-04-17 10:42:34 -04:00
module.c sh: Merge sh and sh64 module.c. 2008-01-28 13:18:49 +09:00
pm.c
process_32.c sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
process_64.c sh64: add missing #include <asm/fpu.h>'s 2008-04-16 02:00:09 +09:00
ptrace_32.c sh: fix ptrace copy_from/to_user() compilation error 2008-02-14 14:22:09 +09:00
ptrace_64.c sh64: add missing #include <asm/fpu.h>'s 2008-04-16 02:00:09 +09:00
relocate_kernel.S
setup.c sh: Add support for SH7723 CPU subtype. 2008-04-18 09:50:07 -07:00
sh_bios.c sh: Many symbol exports for nommu allmodconfig. 2007-07-20 16:59:49 +09:00
sh_ksyms_32.c Generic semaphore implementation 2008-04-17 10:42:34 -04:00
sh_ksyms_64.c Generic semaphore implementation 2008-04-17 10:42:34 -04:00
signal_32.c sh: Fix occasional FPU register corruption under preempt. 2008-03-26 19:02:47 +09:00
signal_64.c sh64: add missing #include <asm/fpu.h>'s 2008-04-16 02:00:09 +09:00
smp.c SH: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro. 2008-03-21 12:19:07 +09:00
stacktrace.c
sys_sh32.c sh: sys_sh consolidation for arch_get_unmapped_area(). 2008-01-28 13:18:49 +09:00
sys_sh64.c unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
sys_sh.c sh: sys_sh consolidation for arch_get_unmapped_area(). 2008-01-28 13:18:49 +09:00
syscalls_32.S sh: Wire up new timerfd syscalls. 2008-02-14 14:22:08 +09:00
syscalls_64.S sh: Wire up new timerfd syscalls. 2008-02-14 14:22:08 +09:00
time_32.c sh: fix xtime_lock deadlocking. 2008-02-14 14:22:08 +09:00
time_64.c sh: fix xtime_lock deadlocking. 2008-02-14 14:22:08 +09:00
topology.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00
traps_32.c sh: arch/sh/kernel/traps_32.c needs asm/fpu.h 2008-04-16 02:03:51 +09:00
traps_64.c sh64: add missing #include <asm/fpu.h>'s 2008-04-16 02:00:09 +09:00
traps.c sh: Fix the arch/sh/kernel/traps.c build for sh32. 2008-01-28 13:18:57 +09:00
vmlinux_32.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00
vmlinux_64.lds.S sh: Kill off more dead symbols. 2008-02-14 14:22:12 +09:00
vmlinux.lds.S sh: Split out linker script to _32 and _64 variants. 2008-01-28 13:18:45 +09:00