diff options
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/hp/common/aml_nfw.c | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/intrinsics.h | 21 | ||||
-rw-r--r-- | arch/ia64/include/asm/processor.h | 1 | ||||
-rw-r--r-- | arch/ia64/include/asm/unistd.h | 3 | ||||
-rw-r--r-- | arch/ia64/kernel/entry.S | 1 | ||||
-rw-r--r-- | arch/ia64/kernel/machine_kexec.c | 4 |
6 files changed, 19 insertions, 13 deletions
diff --git a/arch/ia64/hp/common/aml_nfw.c b/arch/ia64/hp/common/aml_nfw.c index 22078486d35d..6192f7188654 100644 --- a/arch/ia64/hp/common/aml_nfw.c +++ b/arch/ia64/hp/common/aml_nfw.c | |||
@@ -31,7 +31,7 @@ MODULE_AUTHOR("Bjorn Helgaas <bjorn.helgaas@hp.com>"); | |||
31 | MODULE_LICENSE("GPL"); | 31 | MODULE_LICENSE("GPL"); |
32 | MODULE_DESCRIPTION("ACPI opregion handler for native firmware calls"); | 32 | MODULE_DESCRIPTION("ACPI opregion handler for native firmware calls"); |
33 | 33 | ||
34 | static int force_register; | 34 | static bool force_register; |
35 | module_param_named(force, force_register, bool, 0); | 35 | module_param_named(force, force_register, bool, 0); |
36 | MODULE_PARM_DESC(force, "Install opregion handler even without HPQ5001 device"); | 36 | MODULE_PARM_DESC(force, "Install opregion handler even without HPQ5001 device"); |
37 | 37 | ||
diff --git a/arch/ia64/include/asm/intrinsics.h b/arch/ia64/include/asm/intrinsics.h index 111ed5222892..e4076b511829 100644 --- a/arch/ia64/include/asm/intrinsics.h +++ b/arch/ia64/include/asm/intrinsics.h | |||
@@ -201,16 +201,21 @@ extern long ia64_cmpxchg_called_with_bad_pointer (void); | |||
201 | #endif | 201 | #endif |
202 | 202 | ||
203 | #ifndef __ASSEMBLY__ | 203 | #ifndef __ASSEMBLY__ |
204 | #if defined(CONFIG_PARAVIRT) && defined(__KERNEL__) | 204 | |
205 | #ifdef ASM_SUPPORTED | ||
206 | # define IA64_INTRINSIC_API(name) paravirt_ ## name | ||
207 | #else | ||
208 | # define IA64_INTRINSIC_API(name) pv_cpu_ops.name | ||
209 | #endif | ||
210 | #define IA64_INTRINSIC_MACRO(name) paravirt_ ## name | ||
211 | #else | ||
212 | #define IA64_INTRINSIC_API(name) ia64_native_ ## name | 205 | #define IA64_INTRINSIC_API(name) ia64_native_ ## name |
213 | #define IA64_INTRINSIC_MACRO(name) ia64_native_ ## name | 206 | #define IA64_INTRINSIC_MACRO(name) ia64_native_ ## name |
207 | |||
208 | #if defined(__KERNEL__) | ||
209 | #if defined(CONFIG_PARAVIRT) | ||
210 | # undef IA64_INTRINSIC_API | ||
211 | # undef IA64_INTRINSIC_MACRO | ||
212 | # ifdef ASM_SUPPORTED | ||
213 | # define IA64_INTRINSIC_API(name) paravirt_ ## name | ||
214 | # else | ||
215 | # define IA64_INTRINSIC_API(name) pv_cpu_ops.name | ||
216 | # endif | ||
217 | #define IA64_INTRINSIC_MACRO(name) paravirt_ ## name | ||
218 | #endif | ||
214 | #endif | 219 | #endif |
215 | 220 | ||
216 | /************************************************/ | 221 | /************************************************/ |
diff --git a/arch/ia64/include/asm/processor.h b/arch/ia64/include/asm/processor.h index d9f397fae03e..691be0b95c1e 100644 --- a/arch/ia64/include/asm/processor.h +++ b/arch/ia64/include/asm/processor.h | |||
@@ -309,7 +309,6 @@ struct thread_struct { | |||
309 | } | 309 | } |
310 | 310 | ||
311 | #define start_thread(regs,new_ip,new_sp) do { \ | 311 | #define start_thread(regs,new_ip,new_sp) do { \ |
312 | set_fs(USER_DS); \ | ||
313 | regs->cr_ipsr = ((regs->cr_ipsr | (IA64_PSR_BITS_TO_SET | IA64_PSR_CPL)) \ | 312 | regs->cr_ipsr = ((regs->cr_ipsr | (IA64_PSR_BITS_TO_SET | IA64_PSR_CPL)) \ |
314 | & ~(IA64_PSR_BITS_TO_CLEAR | IA64_PSR_RI | IA64_PSR_IS)); \ | 313 | & ~(IA64_PSR_BITS_TO_CLEAR | IA64_PSR_RI | IA64_PSR_IS)); \ |
315 | regs->cr_iip = new_ip; \ | 314 | regs->cr_iip = new_ip; \ |
diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h index 7617248f0d11..7a3bd2524944 100644 --- a/arch/ia64/include/asm/unistd.h +++ b/arch/ia64/include/asm/unistd.h | |||
@@ -323,11 +323,12 @@ | |||
323 | #define __NR_sendmmsg 1331 | 323 | #define __NR_sendmmsg 1331 |
324 | #define __NR_process_vm_readv 1332 | 324 | #define __NR_process_vm_readv 1332 |
325 | #define __NR_process_vm_writev 1333 | 325 | #define __NR_process_vm_writev 1333 |
326 | #define __NR_accept4 1334 | ||
326 | 327 | ||
327 | #ifdef __KERNEL__ | 328 | #ifdef __KERNEL__ |
328 | 329 | ||
329 | 330 | ||
330 | #define NR_syscalls 310 /* length of syscall table */ | 331 | #define NR_syscalls 311 /* length of syscall table */ |
331 | 332 | ||
332 | /* | 333 | /* |
333 | * The following defines stop scripts/checksyscalls.sh from complaining about | 334 | * The following defines stop scripts/checksyscalls.sh from complaining about |
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S index 5b31d46aff67..1ccbe12a4d84 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S | |||
@@ -1779,6 +1779,7 @@ sys_call_table: | |||
1779 | data8 sys_sendmmsg | 1779 | data8 sys_sendmmsg |
1780 | data8 sys_process_vm_readv | 1780 | data8 sys_process_vm_readv |
1781 | data8 sys_process_vm_writev | 1781 | data8 sys_process_vm_writev |
1782 | data8 sys_accept4 | ||
1782 | 1783 | ||
1783 | .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls | 1784 | .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls |
1784 | #endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */ | 1785 | #endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */ |
diff --git a/arch/ia64/kernel/machine_kexec.c b/arch/ia64/kernel/machine_kexec.c index 3d3aeef46947..4eed35814994 100644 --- a/arch/ia64/kernel/machine_kexec.c +++ b/arch/ia64/kernel/machine_kexec.c | |||
@@ -27,11 +27,11 @@ | |||
27 | #include <asm/sal.h> | 27 | #include <asm/sal.h> |
28 | #include <asm/mca.h> | 28 | #include <asm/mca.h> |
29 | 29 | ||
30 | typedef NORET_TYPE void (*relocate_new_kernel_t)( | 30 | typedef void (*relocate_new_kernel_t)( |
31 | unsigned long indirection_page, | 31 | unsigned long indirection_page, |
32 | unsigned long start_address, | 32 | unsigned long start_address, |
33 | struct ia64_boot_param *boot_param, | 33 | struct ia64_boot_param *boot_param, |
34 | unsigned long pal_addr) ATTRIB_NORET; | 34 | unsigned long pal_addr) __noreturn; |
35 | 35 | ||
36 | struct kimage *ia64_kimage; | 36 | struct kimage *ia64_kimage; |
37 | 37 | ||