debuggers.hg

view xen/arch/ia64/patch/linux-2.6.11/processor.h @ 4615:58efb3448933

bitkeeper revision 1.1327.1.1 (426536d2PUqtjTi2v06bzD10RFwarg)

Merge bk://xen.bkbits.net/xeno-unstable.bk
into bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
author xen-ia64.adm@bkbits.net
date Tue Apr 19 16:50:26 2005 +0000 (2005-04-19)
parents f1c946e1226a
children 5b9e241131fb
line source
1 processor.h | 4 ++++
2 1 files changed, 4 insertions(+)
4 Index: linux-2.6.11/include/asm-ia64/processor.h
5 ===================================================================
6 --- linux-2.6.11.orig/include/asm-ia64/processor.h 2005-03-02 01:37:58.000000000 -0600
7 +++ linux-2.6.11/include/asm-ia64/processor.h 2005-03-19 14:26:01.062135543 -0600
8 @@ -408,12 +408,16 @@ extern void ia64_setreg_unknown_kr (void
9 */
11 /* Return TRUE if task T owns the fph partition of the CPU we're running on. */
12 +#ifdef XEN
13 +#define ia64_is_local_fpu_owner(t) 0
14 +#else
15 #define ia64_is_local_fpu_owner(t) \
16 ({ \
17 struct task_struct *__ia64_islfo_task = (t); \
18 (__ia64_islfo_task->thread.last_fph_cpu == smp_processor_id() \
19 && __ia64_islfo_task == (struct task_struct *) ia64_get_kr(IA64_KR_FPU_OWNER)); \
20 })
21 +#endif
23 /* Mark task T as owning the fph partition of the CPU we're running on. */
24 #define ia64_set_local_fpu_owner(t) do { \