On Wed, 17 Nov 2010, Eric Dumazet wrote: > diff --git a/include/linux/highmem.h b/include/linux/highmem.h > index b676c58..bb5db26 100644 > --- a/include/linux/highmem.h > +++ b/include/linux/highmem.h > @@ -91,7 +91,7 @@ static inline int kmap_atomic_idx_push(void) > > static inline int kmap_atomic_idx(void) > { > - return __get_cpu_var(__kmap_atomic_idx) - 1; > + return __this_cpu_read(__kmap_atomic_idx) - 1; > } > > static inline int kmap_atomic_idx_pop(void) This isnt a use case for this_cpu_dec right? Seems that your message was cut off? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>