diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-31 11:10:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-31 11:10:03 -0500 |
commit | eafa6cb18ec7e5424ce54017b5ce6d11dff58b79 (patch) | |
tree | d930417cd7d252fe171663aecd9229d19d42aa99 /include | |
parent | 612b322ade7954a1d984fa410a70d4ae50f75c0d (diff) | |
parent | 4731f2dfd5049b7a2b3b5a7131525f6151855f0d (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6:
sh: Titan defconfig update.
sh: Fix IPR-IRQ's for IRQ-chip change breakage.
sh: Update r7780rp_defconfig.
video: Fix include in hp680_bl.
sh: Wire up new syscalls.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sh/irq.h | 10 | ||||
-rw-r--r-- | include/asm-sh/unistd.h | 5 |
2 files changed, 12 insertions, 3 deletions
diff --git a/include/asm-sh/irq.h b/include/asm-sh/irq.h index 7596ab83e0d4..6cd3e9e2a76a 100644 --- a/include/asm-sh/irq.h +++ b/include/asm-sh/irq.h | |||
@@ -327,11 +327,17 @@ extern unsigned short *irq_mask_register; | |||
327 | */ | 327 | */ |
328 | void init_IRQ_pint(void); | 328 | void init_IRQ_pint(void); |
329 | 329 | ||
330 | struct ipr_data { | ||
331 | unsigned int irq; | ||
332 | unsigned int addr; /* Address of Interrupt Priority Register */ | ||
333 | int shift; /* Shifts of the 16-bit data */ | ||
334 | int priority; /* The priority */ | ||
335 | }; | ||
336 | |||
330 | /* | 337 | /* |
331 | * Function for "on chip support modules". | 338 | * Function for "on chip support modules". |
332 | */ | 339 | */ |
333 | extern void make_ipr_irq(unsigned int irq, unsigned int addr, | 340 | extern void make_ipr_irq(struct ipr_data *table, unsigned int nr_irqs); |
334 | int pos, int priority); | ||
335 | extern void make_imask_irq(unsigned int irq); | 341 | extern void make_imask_irq(unsigned int irq); |
336 | 342 | ||
337 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) | 343 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) |
diff --git a/include/asm-sh/unistd.h b/include/asm-sh/unistd.h index f1a0cbc966be..1c2abde122cd 100644 --- a/include/asm-sh/unistd.h +++ b/include/asm-sh/unistd.h | |||
@@ -324,8 +324,11 @@ | |||
324 | #define __NR_sync_file_range 314 | 324 | #define __NR_sync_file_range 314 |
325 | #define __NR_tee 315 | 325 | #define __NR_tee 315 |
326 | #define __NR_vmsplice 316 | 326 | #define __NR_vmsplice 316 |
327 | #define __NR_move_pages 317 | ||
328 | #define __NR_getcpu 318 | ||
329 | #define __NR_epoll_pwait 319 | ||
327 | 330 | ||
328 | #define NR_syscalls 317 | 331 | #define NR_syscalls 320 |
329 | 332 | ||
330 | #ifdef __KERNEL__ | 333 | #ifdef __KERNEL__ |
331 | 334 | ||