diff options
| author | Greg KH <greg@press.(none)> | 2005-06-28 01:07:56 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-28 01:07:56 -0400 |
| commit | 8644d2a42bdba2d513f71c07eaf1b6f9b718b8eb (patch) | |
| tree | c43b6c2fdf1b68b66906a2de69446dcec0f9af6b /include/asm-ppc | |
| parent | 1cde8a16815bd85c8137d1ea556398983c597c11 (diff) | |
| parent | 99f95e5286df2f69edab8a04c7080d986ee4233b (diff) | |
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/asm-ppc')
| -rw-r--r-- | include/asm-ppc/open_pic.h | 6 | ||||
| -rw-r--r-- | include/asm-ppc/unistd.h | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/asm-ppc/open_pic.h b/include/asm-ppc/open_pic.h index dbe853319741..7848aa610c05 100644 --- a/include/asm-ppc/open_pic.h +++ b/include/asm-ppc/open_pic.h | |||
| @@ -25,6 +25,11 @@ | |||
| 25 | #define OPENPIC_VEC_IPI 118 /* and up */ | 25 | #define OPENPIC_VEC_IPI 118 /* and up */ |
| 26 | #define OPENPIC_VEC_SPURIOUS 255 | 26 | #define OPENPIC_VEC_SPURIOUS 255 |
| 27 | 27 | ||
| 28 | /* Priorities */ | ||
| 29 | #define OPENPIC_PRIORITY_IPI_BASE 10 | ||
| 30 | #define OPENPIC_PRIORITY_DEFAULT 4 | ||
| 31 | #define OPENPIC_PRIORITY_NMI 9 | ||
| 32 | |||
| 28 | /* OpenPIC IRQ controller structure */ | 33 | /* OpenPIC IRQ controller structure */ |
| 29 | extern struct hw_interrupt_type open_pic; | 34 | extern struct hw_interrupt_type open_pic; |
| 30 | 35 | ||
| @@ -42,6 +47,7 @@ extern int epic_serial_mode; | |||
| 42 | extern void openpic_set_sources(int first_irq, int num_irqs, void __iomem *isr); | 47 | extern void openpic_set_sources(int first_irq, int num_irqs, void __iomem *isr); |
| 43 | extern void openpic_init(int linux_irq_offset); | 48 | extern void openpic_init(int linux_irq_offset); |
| 44 | extern void openpic_init_nmi_irq(u_int irq); | 49 | extern void openpic_init_nmi_irq(u_int irq); |
| 50 | extern void openpic_set_irq_priority(u_int irq, u_int pri); | ||
| 45 | extern void openpic_hookup_cascade(u_int irq, char *name, | 51 | extern void openpic_hookup_cascade(u_int irq, char *name, |
| 46 | int (*cascade_fn)(struct pt_regs *)); | 52 | int (*cascade_fn)(struct pt_regs *)); |
| 47 | extern u_int openpic_irq(void); | 53 | extern u_int openpic_irq(void); |
diff --git a/include/asm-ppc/unistd.h b/include/asm-ppc/unistd.h index cc51e5c9acc2..e8b79220b29c 100644 --- a/include/asm-ppc/unistd.h +++ b/include/asm-ppc/unistd.h | |||
| @@ -277,8 +277,10 @@ | |||
| 277 | #define __NR_request_key 270 | 277 | #define __NR_request_key 270 |
| 278 | #define __NR_keyctl 271 | 278 | #define __NR_keyctl 271 |
| 279 | #define __NR_waitid 272 | 279 | #define __NR_waitid 272 |
| 280 | #define __NR_ioprio_set 273 | ||
| 281 | #define __NR_ioprio_get 274 | ||
| 280 | 282 | ||
| 281 | #define __NR_syscalls 273 | 283 | #define __NR_syscalls 275 |
| 282 | 284 | ||
| 283 | #define __NR(n) #n | 285 | #define __NR(n) #n |
| 284 | 286 | ||
