summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
Commit message (Collapse)AuthorAgeFilesLines
* sparc: don't use asm/of_device.hStephen Rothwell2008-08-075-5/+7
| | | | | | | Use linux/of_device.h instead. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
* of/sparc: remove include of linux/of_platform.h from asm/of_platform.hStephen Rothwell2008-08-061-3/+0
| | | | | | | | Now that we have removed all inclusions of asm/of_platform.h, this compatability include can be removed. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Add __KERNEL__ ifdef protection to pt_regs helpers.David S. Miller2008-07-312-26/+25
| | | | | | | | | Some of them use 'bool' and whatnot and therefore are not kosher for userspace, so don't export them there. Reported by Roland McGrath. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Hook up trigger_all_cpu_backtrace().David S. Miller2008-07-301-0/+3
| | | | | | | We already have code that does this, but it is only currently attached to sysrq-'y'. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Make global reg dumping even more useful.David S. Miller2008-07-301-4/+4
| | | | | | | | | | Record one more level of stack frame program counter. Particularly when lockdep and all sorts of spinlock debugging is enabled, figuring out the caller of spin_lock() is difficult when the cpu is stuck on the lock. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: FUTEX_OP_ANDN fixMikael Pettersson2008-07-301-1/+1
| | | | | | | | | | | | | | | | Correct sparc64's implementation of FUTEX_OP_ANDN to do a bitwise negate of the oparg parameter before applying the AND operation. All other archs that support FUTEX_OP_ANDN either negate oparg explicitly (frv, ia64, mips, sh, x86), or do so indirectly by using an and-not instruction (powerpc). Since sparc64 has and-not, I chose to use that solution. I've not found any use of FUTEX_OP_ANDN in glibc so the impact of this bug is probably minor. But other user-space components may try to use it so it should still get fixed. Signed-off-by: Mikael Pettersson <mikpe@it.uu.se> Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: merge of_platform_{32,64}.hStephen Rothwell2008-07-293-53/+21
| | | | | Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Kill isa_bus_type.David S. Miller2008-07-291-1/+0
| | | | | | | I forgot to delete this when I removed the ISA bus layer from the sparc ports. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Add task_pt_regs().David S. Miller2008-07-271-0/+1
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Create and use TIF_NOTIFY_RESUME.David S. Miller2008-07-271-1/+6
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Add user_stack_pointer().David S. Miller2008-07-272-0/+2
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: tracehook: TIF_NOTIFY_RESUMERoland McGrath2008-07-271-3/+5
| | | | | | | This adds TIF_NOTIFY_RESUME support for sparc64. When set, we call tracehook_notify_resume() on the way to user mode. Signed-off-by: Roland McGrath <roland@redhat.com>
* sparc: Add asm/syscall.hDavid S. Miller2008-07-271-0/+120
| | | | | | Based upon a patch by Roland McGrath. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: enable headers_export againSam Ravnborg2008-07-271-1/+45
| | | | | | | Update include/asm/Kbuild so we export all relvant headers for sparc. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* sparc, sparc64: use arch/sparc/includeSam Ravnborg2008-07-27327-0/+32037
The majority of this patch was created by the following script: *** ASM=arch/sparc/include/asm mkdir -p $ASM git mv include/asm-sparc64/ftrace.h $ASM git rm include/asm-sparc64/* git mv include/asm-sparc/* $ASM sed -ie 's/asm-sparc64/asm/g' $ASM/* sed -ie 's/asm-sparc/asm/g' $ASM/* *** The rest was an update of the top-level Makefile to use sparc for header files when sparc64 is being build. And a small fixlet to pick up the correct unistd.h from sparc64 code. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
OpenPOWER on IntegriCloud