search for: dec_preempt_count

Displaying 1 result from an estimated 1 matches for "dec_preempt_count".

2007 Apr 18
0
[PATCH 5/9] 00mm6 kpte flush.patch
..., enum km_type type) { -#ifdef CONFIG_DEBUG_HIGHMEM unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; enum fixed_addresses idx = type + KM_TYPE_NR*smp_processor_id(); +#ifdef CONFIG_DEBUG_HIGHMEM if (vaddr >= PAGE_OFFSET && vaddr < (unsigned long)high_memory) { dec_preempt_count(); preempt_check_resched(); @@ -68,14 +65,14 @@ void kunmap_atomic(void *kvaddr, enum km if (vaddr != __fix_to_virt(FIX_KMAP_BEGIN+idx)) BUG(); - +#endif /* - * force other mappings to Oops if they'll try to access - * this pte without first remap it + * Force other mappings to O...