Displaying 4 results from an estimated 4 matches for "irqcount".
Did you mean:
irq_count
2004 Sep 20
1
ZapRTC loading problems
...rning: implicit declaration of function `exit'
gcc -s -Wall -Wstrict-prototypes rtcsetup.c -o rtcsetup
rtcsetup.c: In function `main':
rtcsetup.c:31: warning: implicit declaration of function `exit'
rtcsetup.c:23: warning: unused variable `i'
rtcsetup.c:23: warning: unused variable `irqcount'
rtcsetup.c:24: warning: unused variable `tmp'
rtcsetup.c:24: warning: unused variable `data'
rtcsetup.c:25: warning: unused variable `rtc_tm'
sync
[root@localhost zaptelrtc]# ls
Makefile README rtcsetup rtcsetup.c rtctest rtctest.c zaprtc.c
zaprtc.o
[root@localhost zaptelrt...
2012 Jun 29
0
[PATCH] linux-2.6.18/x86: improve CR0 read/write handling
...ic void switch_pt(void)
{
xen_pt_switch(__pa_symbol(init_level4_pgt));
@@ -174,6 +177,7 @@ void pda_init(int cpu)
if (HYPERVISOR_set_segment_base(SEGBASE_GS_KERNEL,
(unsigned long)pda))
BUG();
+ __get_cpu_var(xen_x86_cr0) = raw_read_cr0();
#endif
pda->cpunumber = cpu;
pda->irqcount = -1;
--- a/arch/x86_64/kernel/traps-xen.c
+++ b/arch/x86_64/kernel/traps-xen.c
@@ -1075,8 +1075,9 @@ asmlinkage void __attribute__((weak)) mc
asmlinkage void math_state_restore(void)
{
struct task_struct *me = current;
- /* clts(); */ /* ''clts'' is done for us by Xen du...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 12/17] paravirt_ops - interrupt/exception changes
...93,7 @@ int_signal:
1: movl $_TIF_NEED_RESCHED,%edi
int_restore_rest:
RESTORE_REST
- cli
+ DISABLE_INTERRUPTS(CLBR_NONE)
TRACE_IRQS_OFF
jmp int_with_check
CFI_ENDPROC
@@ -504,7 +514,7 @@ END(stub_rt_sigreturn)
CFI_DEF_CFA_REGISTER rbp
testl $3,CS(%rdi)
je 1f
- swapgs
+ SWAPGS
/* irqcount is used to check if a CPU is already on an interrupt
stack or not. While this is essentially redundant with preempt_count
it is a little cheaper to use a separate counter in the PDA
@@ -525,7 +535,7 @@ ENTRY(common_interrupt)
interrupt do_IRQ
/* 0(%rsp): oldrsp-ARGOFFSET */
ret_from_...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 12/17] paravirt_ops - interrupt/exception changes
...93,7 @@ int_signal:
1: movl $_TIF_NEED_RESCHED,%edi
int_restore_rest:
RESTORE_REST
- cli
+ DISABLE_INTERRUPTS(CLBR_NONE)
TRACE_IRQS_OFF
jmp int_with_check
CFI_ENDPROC
@@ -504,7 +514,7 @@ END(stub_rt_sigreturn)
CFI_DEF_CFA_REGISTER rbp
testl $3,CS(%rdi)
je 1f
- swapgs
+ SWAPGS
/* irqcount is used to check if a CPU is already on an interrupt
stack or not. While this is essentially redundant with preempt_count
it is a little cheaper to use a separate counter in the PDA
@@ -525,7 +535,7 @@ ENTRY(common_interrupt)
interrupt do_IRQ
/* 0(%rsp): oldrsp-ARGOFFSET */
ret_from_...