summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm
AgeCommit message (Collapse)AuthorFilesLines
2008-08-13sparc64: Implement IRQ stacks.David S. Miller1-0/+4
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-13sparc: remove include of linux/of_device.h from asm/of_device.hStephen Rothwell1-2/+1
Now that all the direct includes of asm/of_device.h are gone, this is safe to do. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-08sparc: don't use asm/of_device.hStephen Rothwell5-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>
2008-08-07of/sparc: remove include of linux/of_platform.h from asm/of_platform.hStephen Rothwell1-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>
2008-08-01sparc: Add __KERNEL__ ifdef protection to pt_regs helpers.David S. Miller2-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>
2008-07-31sparc64: Hook up trigger_all_cpu_backtrace().David S. Miller1-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>
2008-07-31sparc64: Make global reg dumping even more useful.David S. Miller1-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>
2008-07-31sparc64: FUTEX_OP_ANDN fixMikael Pettersson1-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>
2008-07-30sparc: merge of_platform_{32,64}.hStephen Rothwell3-53/+21
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-30sparc64: Kill isa_bus_type.David S. Miller1-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>
2008-07-28sparc: Add task_pt_regs().David S. Miller1-0/+1
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-28sparc: Create and use TIF_NOTIFY_RESUME.David S. Miller1-1/+6
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-28sparc: Add user_stack_pointer().David S. Miller2-0/+2
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-28sparc64: tracehook: TIF_NOTIFY_RESUMERoland McGrath1-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>
2008-07-28sparc: Add asm/syscall.hDavid S. Miller1-0/+120
Based upon a patch by Roland McGrath. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-28sparc: enable headers_export againSam Ravnborg1-1/+45
Update include/asm/Kbuild so we export all relvant headers for sparc. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2008-07-28sparc, sparc64: use arch/sparc/includeSam Ravnborg327-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>