forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/kyle/parisc-2.6 * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6: agp: parisc-agp.c - use correct page_mask function parisc: Fix linker script breakage. parisc: convert to asm-generic/hardirq.h parisc: Make THREAD_SIZE available to assembly files and linker scripts. parisc: correct use of SHF_ALLOC parisc: rename parisc's vmalloc_start to parisc_vmalloc_start parisc: add me to Maintainers parisc: includecheck fix: signal.c parisc: HAVE_ARCH_TRACEHOOK parisc: add skeleton syscall.h parisc: stop using task->ptrace for {single,block}step flags parisc: split syscall_trace into two halves parisc: add missing TI_TASK macro in syscall.S parisc: tracehook_signal_handler parisc: tracehook_report_syscall
- Loading branch information
Showing
17 changed files
with
128 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3973,6 +3973,7 @@ F: drivers/block/paride/ | |
PARISC ARCHITECTURE | ||
M: Kyle McMartin <[email protected]> | ||
M: Helge Deller <[email protected]> | ||
M: "James E.J. Bottomley" <[email protected]> | ||
L: [email protected] | ||
W: http://www.parisc-linux.org/ | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,11 @@ | ||
/* hardirq.h: PA-RISC hard IRQ support. | ||
* | ||
* Copyright (C) 2001 Matthew Wilcox <[email protected]> | ||
* | ||
* The locking is really quite interesting. There's a cpu-local | ||
* count of how many interrupts are being handled, and a global | ||
* lock. An interrupt can only be serviced if the global lock | ||
* is free. You can't be sure no more interrupts are being | ||
* serviced until you've acquired the lock and then checked | ||
* all the per-cpu interrupt counts are all zero. It's a specialised | ||
* br_lock, and that's exactly how Sparc does it. We don't because | ||
* it's more locking for us. This way is lock-free in the interrupt path. | ||
*/ | ||
|
||
#ifndef _PARISC_HARDIRQ_H | ||
#define _PARISC_HARDIRQ_H | ||
|
||
#include <linux/threads.h> | ||
#include <linux/irq.h> | ||
|
||
typedef struct { | ||
unsigned long __softirq_pending; /* set_bit is used on this */ | ||
} ____cacheline_aligned irq_cpustat_t; | ||
|
||
#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | ||
|
||
void ack_bad_irq(unsigned int irq); | ||
#include <asm-generic/hardirq.h> | ||
|
||
#endif /* _PARISC_HARDIRQ_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* syscall.h */ | ||
|
||
#ifndef _ASM_PARISC_SYSCALL_H_ | ||
#define _ASM_PARISC_SYSCALL_H_ | ||
|
||
#include <linux/err.h> | ||
#include <asm/ptrace.h> | ||
|
||
static inline long syscall_get_nr(struct task_struct *tsk, | ||
struct pt_regs *regs) | ||
{ | ||
return regs->gr[20]; | ||
} | ||
|
||
static inline void syscall_get_arguments(struct task_struct *tsk, | ||
struct pt_regs *regs, unsigned int i, | ||
unsigned int n, unsigned long *args) | ||
{ | ||
BUG_ON(i); | ||
|
||
switch (n) { | ||
case 6: | ||
args[5] = regs->gr[21]; | ||
case 5: | ||
args[4] = regs->gr[22]; | ||
case 4: | ||
args[3] = regs->gr[23]; | ||
case 3: | ||
args[2] = regs->gr[24]; | ||
case 2: | ||
args[1] = regs->gr[25]; | ||
case 1: | ||
args[0] = regs->gr[26]; | ||
break; | ||
default: | ||
BUG(); | ||
} | ||
} | ||
|
||
#endif /*_ASM_PARISC_SYSCALL_H_*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.