X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ia64%2Fprocessor.h;h=8769dd9df3696030e11d69f5617403a69a178abd;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=f62f93c296a4f275ab15f301ec6e81cc46401469;hpb=9bf4aaab3e101692164d49b7ca357651eb691cb6;p=linux-2.6.git diff --git a/include/asm-ia64/processor.h b/include/asm-ia64/processor.h index f62f93c29..8769dd9df 100644 --- a/include/asm-ia64/processor.h +++ b/include/asm-ia64/processor.h @@ -20,6 +20,9 @@ #include #include +/* Our arch specific arch_init_sched_domain is in arch/ia64/kernel/domain.c */ +#define ARCH_HAS_SCHED_DOMAIN + #define IA64_NUM_DBG_REGS 8 /* * Limits for PMC and PMD are set to less than maximum architected values @@ -28,8 +31,8 @@ #define IA64_NUM_PMC_REGS 32 #define IA64_NUM_PMD_REGS 32 -#define DEFAULT_MAP_BASE 0x2000000000000000 -#define DEFAULT_TASK_SIZE 0xa000000000000000 +#define DEFAULT_MAP_BASE __IA64_UL_CONST(0x2000000000000000) +#define DEFAULT_TASK_SIZE __IA64_UL_CONST(0xa000000000000000) /* * TASK_SIZE really is a mis-named. It really is the maximum user @@ -200,7 +203,7 @@ typedef struct { #define GET_UNALIGN_CTL(task,addr) \ ({ \ put_user(((task)->thread.flags & IA64_THREAD_UAC_MASK) >> IA64_THREAD_UAC_SHIFT, \ - (int *) (addr)); \ + (int __user *) (addr)); \ }) #define SET_FPEMU_CTL(task,value) \ @@ -212,7 +215,7 @@ typedef struct { #define GET_FPEMU_CTL(task,addr) \ ({ \ put_user(((task)->thread.flags & IA64_THREAD_FPEMU_MASK) >> IA64_THREAD_FPEMU_SHIFT, \ - (int *) (addr)); \ + (int __user *) (addr)); \ }) #ifdef CONFIG_IA32_SUPPORT @@ -262,7 +265,7 @@ struct thread_struct { .fdr = 0, \ .old_k1 = 0, \ .old_iob = 0, \ - .ppl = 0, + .ppl = NULL, #else # define INIT_THREAD_IA32 #endif /* CONFIG_IA32_SUPPORT */ @@ -688,6 +691,8 @@ prefetchw (const void *x) #define spin_lock_prefetch(x) prefetchw(x) +extern unsigned long boot_option_idle_override; + #endif /* !__ASSEMBLY__ */ #endif /* _ASM_IA64_PROCESSOR_H */