aboutsummaryrefslogtreecommitdiff
path: root/arch/sh64
AgeCommit message (Collapse)AuthorFilesLines
2008-01-28sh: Kill off the rest of arch/sh64/kernel/.Paul Mundt10-2236/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Get the mach-cayman IRQ support building.Paul Mundt1-272/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Consolidate sh/sh64 Makefiles.Paul Mundt1-111/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Fix up user_fpu_struct typo for SH-5.Paul Mundt3-219/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Mark some IRQ debug options sh32 only.Paul Mundt1-115/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Kill off arch/sh64/mm.Paul Mundt4-391/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move over SH-5 TLB and cache support code.Paul Mundt2-1198/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Merge sh64 Kconfig.debug options.Paul Mundt1-33/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Merge the sh64 zImage bits.Paul Mundt7-639/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move in the SH-5 TLB miss.Paul Mundt1-279/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Merge sh and sh64 module.c.Paul Mundt1-161/+0
This is trivial, in that they're both effectively the same for the base relocations anyways. SH-5 doesn't need the unaligned bits, and has a few extra relocations, which are never hit on non-SH5 parts. Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move over and enable FPU support for SH-5.Paul Mundt1-170/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move over sh64 switch_to and stack unwinder.Paul Mundt2-524/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Split out tlb-flush in to _32 and _64 variants.Paul Mundt1-602/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Split out ioremap in to _32 and _64 variants.Paul Mundt1-388/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Split out sh_ksyms.c in to _32 and _64 variants.Paul Mundt1-62/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move over the SH-5 entry.S.Paul Mundt1-2102/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Split out linker script to _32 and _64 variants.Paul Mundt1-140/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Split out syscall ABI for _32 and _64 variants.Paul Mundt1-381/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Split out extable.c _32 and _64 variants.Paul Mundt1-80/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move over the SH-5 head.S and tlb.h.Paul Mundt1-372/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move in the SH-5 traps.c impl.Paul Mundt1-982/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move arch/sh64/kernel/sys_sh64.c to arch/sh/kernel/Paul Mundt1-304/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move in the SH-5 signal trampoline impl.Paul Mundt1-750/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move in the SH-5 ptrace impl.Paul Mundt1-332/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Split out arch/sh/kernel/process.c for _32 and _64 variants.Paul Mundt1-691/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh64: Kill off arch/sh64/oprofile.Paul Mundt2-35/+0
The same implementation exists in arch/sh/oprofile, so get rid of this version. Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move sh64 board defconfigs to arch/sh/configs.Paul Mundt3-2429/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move sh64 boards to arch/sh/.Paul Mundt9-775/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move arch/sh64/lib to arch/sh/lib64.Paul Mundt12-1409/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Move the sh64 Kconfig to arch/sh/Kconfig.sh64.Paul Mundt1-295/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh64: Use the generic rtc-sh driver.Paul Mundt1-129/+67
Rip out the sh64-specific RTC bits, use rtc-sh instead. Signed-off-by: Paul Mundt <[email protected]>
2007-11-05sh64: Kill off duplicate includes.Paul Mundt2-12/+3
Follow the sh change. Signed-off-by: Paul Mundt <[email protected]>
2007-11-03Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh64-2.6Linus Torvalds3-171/+142
* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh64-2.6: sh64: Update defconfigs. sh64: fix dma_cache_sync() compilation sh64: Move DMA macros from pci.h to scatterlist.h.
2007-11-02sh64: Update defconfigs.Paul Mundt3-171/+142
Signed-off-by: Paul Mundt <[email protected]>
2007-10-30Kbuild/doc: fix links to Documentation filesDirk Hohndel1-1/+1
Fix links to files in Documentation/* in various Kconfig files Signed-off-by: Dirk Hohndel <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2007-10-19Fix misspellings of "system", "controller", "interrupt" and "necessary".Robert P. J. Day1-1/+1
Fix the various misspellings of "system", controller", "interrupt" and "[un]necessary". Signed-off-by: Robert P. J. Day <[email protected]> Signed-off-by: Adrian Bunk <[email protected]>
2007-10-19Combine instrumentation menus in kernel/Kconfig.instrumentationMathieu Desnoyers2-24/+1
Quoting Randy: "It seems sad that this patch sources Kconfig.marker, a 7-line file, 20-something times. Yes, you (we) don't want to put those 7 lines into 20-something different files, so sourcing is the right thing. However, what you did for avr32 seems more on the right track to me: make _one_ Instrumentation support menu that includes PROFILING, OPROFILE, KPROBES, and MARKERS and then use (source) that in all of the arches." Signed-off-by: Mathieu Desnoyers <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2007-10-19Use helpers to obtain task pid in printks (arch code)Alexey Dobriyan2-4/+4
One of the easiest things to isolate is the pid printed in kernel log. There was a patch, that made this for arch-independent code, this one makes so for arch/xxx files. It took some time to cross-compile it, but hopefully these are all the printks in arch code. Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Pavel Emelyanov <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2007-10-19pid namespaces: define is_global_init() and is_container_init()Serge E. Hallyn1-3/+3
is_init() is an ambiguous name for the pid==1 check. Split it into is_global_init() and is_container_init(). A cgroup init has it's tsk->pid == 1. A global init also has it's tsk->pid == 1 and it's active pid namespace is the init_pid_ns. But rather than check the active pid namespace, compare the task structure with 'init_pid_ns.child_reaper', which is initialized during boot to the /sbin/init process and never changes. Changelog: 2.6.22-rc4-mm2-pidns1: - Use 'init_pid_ns.child_reaper' to determine if a given task is the global init (/sbin/init) process. This would improve performance and remove dependence on the task_pid(). 2.6.21-mm2-pidns2: - [Sukadev Bhattiprolu] Changed is_container_init() calls in {powerpc, ppc,avr32}/traps.c for the _exception() call to is_global_init(). This way, we kill only the cgroup if the cgroup's init has a bug rather than force a kernel panic. [[email protected]: fix comment] [[email protected]: Use is_global_init() in arch/m32r/mm/fault.c] [[email protected]: kernel/pid.c: remove unused exports] [[email protected]: Fix capability.c to work with threaded init] Signed-off-by: Serge E. Hallyn <[email protected]> Signed-off-by: Sukadev Bhattiprolu <[email protected]> Acked-by: Pavel Emelianov <[email protected]> Cc: Eric W. Biederman <[email protected]> Cc: Cedric Le Goater <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Herbert Poetzel <[email protected]> Cc: Kirill Korotaev <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2007-10-17Remove dma_cache_(wback|inv|wback_inv) functionsRalf Baechle1-1/+2
dma_cache_(wback|inv|wback_inv) were the earliest attempt on a generalized cache managment API for I/O purposes. Originally it was basically the raw MIPS low level cache API exported to the entire world. The API has suffered from a lack of documentation, was not very widely used unlike it's more modern brothers and can easily be replaced by dma_cache_sync. So remove it rsp. turn the surviving bits back into an arch private API, as discussed on linux-arch. Signed-off-by: Ralf Baechle <[email protected]> Acked-by: Paul Mundt <[email protected]> Acked-by: Paul Mackerras <[email protected]> Acked-by: David S. Miller <[email protected]> Acked-by: Kyle McMartin <[email protected]> Acked-by: Haavard Skinnemoen <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2007-10-17remove include/asm-*/ipc.hAdrian Bunk1-1/+1
All asm/ipc.h files do only #include <asm-generic/ipc.h>. This patch therefore removes all include/asm-*/ipc.h files and moves the contents of include/asm-generic/ipc.h to include/linux/ipc.h. Signed-off-by: Adrian Bunk <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2007-10-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuildLinus Torvalds1-2/+2
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: (40 commits) kbuild: introduce ccflags-y, asflags-y and ldflags-y kbuild: enable 'make CPPFLAGS=...' to add additional options to CPP kbuild: enable use of AFLAGS and CFLAGS on commandline kbuild: enable 'make AFLAGS=...' to add additional options to AS kbuild: fix AFLAGS use in h8300 and m68knommu kbuild: check for wrong use of CFLAGS kbuild: enable 'make CFLAGS=...' to add additional options to CC kbuild: fix up CFLAGS usage kbuild: make modpost detect unterminated device id lists kbuild: call export_report from the Makefile kbuild: move Kai Germaschewski to CREDITS kconfig/menuconfig: distinguish between selected-by-another options and comments kconfig: tristate choices with mixed tristate and boolean values include/linux/Kbuild: remove duplicate entries kbuild: kill backward compatibility checks kbuild: kill EXTRA_ARFLAGS kbuild: fix documentation in makefiles.txt kbuild: call make once for all targets when O=.. is used kbuild: pass -g to assembler under CONFIG_DEBUG_INFO kbuild: update _shipped files for kconfig syntax cleanup ... Fix up conflicts in arch/um/sys-{x86_64,i386}/Makefile manually.
2007-10-16During VM oom condition, kill all threads in process groupWill Schmidt1-1/+1
We have had complaints where a threaded application is left in a bad state after one of it's threads is killed when we hit a VM: out_of_memory condition. Killing just one of the process threads can leave the application in a bad state, whereas killing the entire process group would allow for the application to restart, or be otherwise handled, and makes it very obvious that something has gone wrong. This change allows the entire process group to be taken down, rather than just the one thread. Signed-off-by: Will Schmidt <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Ivan Kokshaysky <[email protected]> Cc: Russell King <[email protected]> Cc: Ian Molton <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: Mikael Starvik <[email protected]> Cc: David Howells <[email protected]> Cc: Andi Kleen <[email protected]> Cc: "Luck, Tony" <[email protected]> Cc: Hirokazu Takata <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Roman Zippel <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Kyle McMartin <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Paul Mundt <[email protected]> Cc: Kazumoto Kojima <[email protected]> Cc: Richard Curnow <[email protected]> Cc: William Lee Irwin III <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Chris Zankel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2007-10-16Consolidate PTRACE_DETACHAlexey Dobriyan1-4/+0
Identical handlers of PTRACE_DETACH go into ptrace_request(). Not touching compat code. Not touching archs that don't call ptrace_request. Signed-off-by: Alexey Dobriyan <[email protected]> Acked-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2007-10-14kbuild: enable 'make CFLAGS=...' to add additional options to CCSam Ravnborg1-2/+2
The variable CFLAGS is a wellknown variable and the usage by kbuild may result in unexpected behaviour. On top of that several people over time has asked for a way to pass in additional flags to gcc. This patch replace use of CFLAGS with KBUILD_CFLAGS all over the tree and enabling one to use: make CFLAGS=... to specify additional gcc commandline options. One usecase is when trying to find gcc bugs but other use cases has been requested too. Patch was tested on following architectures: alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k Test was simple to do a defconfig build, apply the patch and check that nothing got rebuild. Signed-off-by: Sam Ravnborg <[email protected]>
2007-10-09sh64: mach-cayman: Build fixes.Paul Mundt2-6/+207
Signed-off-by: Paul Mundt <[email protected]>
2007-10-09sh64: Symbol export fixups.Paul Mundt1-5/+1
Kill off the __div_table reference, modern compilers don't have it, and old compilers can't build the sh64 kernel anyways. __copy_user also needs to be exported to satisfy module builds. Signed-off-by: Paul Mundt <[email protected]>
2007-10-09sh64: linker script tidying and alignment fixups.Paul Mundt1-51/+9
Use more of the generic section helpers, and get the alignment for some of the sections reduced. Follows the sh change. Signed-off-by: Paul Mundt <[email protected]>
2007-10-09sh64: Set KBUILD_IMAGE to make the rpm target happy.Paul Mundt1-2/+3
Signed-off-by: Paul Mundt <[email protected]>