Commit 5a596918 authored by David Mosberger's avatar David Mosberger

ia64: Sync with 2.5.32 to get a working kernel.

parent 912dd09d
...@@ -1229,11 +1229,11 @@ sys_call_table: ...@@ -1229,11 +1229,11 @@ sys_call_table:
data8 ia64_ni_syscall // 1235 data8 ia64_ni_syscall // 1235
data8 ia64_ni_syscall data8 ia64_ni_syscall
data8 ia64_ni_syscall data8 ia64_ni_syscall
data8 ia64_ni_syscall data8 sys_io_setup
data8 ia64_ni_syscall data8 sys_io_destroy
data8 ia64_ni_syscall // 1240 data8 sys_io_getevents // 1240
data8 ia64_ni_syscall data8 sys_io_submit
data8 ia64_ni_syscall data8 sys_io_cancel
data8 ia64_ni_syscall data8 ia64_ni_syscall
data8 ia64_ni_syscall data8 ia64_ni_syscall
data8 ia64_ni_syscall // 1245 data8 ia64_ni_syscall // 1245
......
...@@ -135,8 +135,6 @@ ia64_bad_break (unsigned long break_num, struct pt_regs *regs) ...@@ -135,8 +135,6 @@ ia64_bad_break (unsigned long break_num, struct pt_regs *regs)
siginfo_t siginfo; siginfo_t siginfo;
int sig, code; int sig, code;
die_if_kernel("bad break", regs, break_num);
/* SIGILL, SIGFPE, SIGSEGV, and SIGBUS want these field initialized: */ /* SIGILL, SIGFPE, SIGSEGV, and SIGBUS want these field initialized: */
siginfo.si_addr = (void *) (regs->cr_iip + ia64_psr(regs)->ri); siginfo.si_addr = (void *) (regs->cr_iip + ia64_psr(regs)->ri);
siginfo.si_imm = break_num; siginfo.si_imm = break_num;
...@@ -144,7 +142,8 @@ ia64_bad_break (unsigned long break_num, struct pt_regs *regs) ...@@ -144,7 +142,8 @@ ia64_bad_break (unsigned long break_num, struct pt_regs *regs)
siginfo.si_isr = 0; siginfo.si_isr = 0;
switch (break_num) { switch (break_num) {
case 0: /* unknown error */ case 0: /* unknown error (used by GCC for __builtin_abort()) */
die_if_kernel("bad break", regs, break_num);
sig = SIGILL; code = ILL_ILLOPC; sig = SIGILL; code = ILL_ILLOPC;
break; break;
......
...@@ -18,4 +18,7 @@ ...@@ -18,4 +18,7 @@
#define flush_agp_mappings() /* nothing */ #define flush_agp_mappings() /* nothing */
#define flush_agp_cache() mb() #define flush_agp_cache() mb()
/* Page-protection value to be used for AGP memory mapped into kernel space. */
#define PAGE_AGP PAGE_KERNEL
#endif /* _ASM_IA64_AGP_H */ #endif /* _ASM_IA64_AGP_H */
...@@ -85,7 +85,7 @@ ide_init_default_hwifs (void) ...@@ -85,7 +85,7 @@ ide_init_default_hwifs (void)
for(index = 0; index < MAX_HWIFS; index++) { for(index = 0; index < MAX_HWIFS; index++) {
ide_init_hwif_ports(&hw, ide_default_io_base(index), 0, NULL); ide_init_hwif_ports(&hw, ide_default_io_base(index), 0, NULL);
hw.irq = ide_default_irq(ide_default_io_base(index)); hw.irq = ide_default_irq(ide_default_io_base(index));
ide_register_hw(&hw); ide_register_hw(&hw, NULL);
} }
#endif #endif
} }
......
...@@ -223,10 +223,10 @@ ...@@ -223,10 +223,10 @@
#define __NR_sched_setaffinity 1231 #define __NR_sched_setaffinity 1231
#define __NR_sched_getaffinity 1232 #define __NR_sched_getaffinity 1232
#define __NR_security 1233 #define __NR_security 1233
#define __NR_get_large_pages 1234 #define __NR_alloc_hugepages 1234
#define __NR_free_large_pages 1235 #define __NR_free_hugepages 1235
#define __NR_share_large_pages 1236 /* 1236 currently unused */
#define __NR_unshare_large_pages 1237 /* 1237 currently unused */
#define __NR_io_setup 1238 #define __NR_io_setup 1238
#define __NR_io_destroy 1239 #define __NR_io_destroy 1239
#define __NR_io_getevents 1240 #define __NR_io_getevents 1240
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment