Changeset 24891


Ignore:
Timestamp:
2011-01-03T17:13:09+01:00 (7 years ago)
Author:
acoul
Message:

package/wprobe: fix kernel 2.6.37 compile issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/wprobe/src/kernel/wprobe-core.c

    r16733 r24891  
    3232 
    3333#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28) 
    34 #define list_for_each_rcu __list_for_each_rcu 
     34#define list_for_each_rcu(pos, head) \ 
     35for (pos = rcu_dereference((head)->next); \ 
     36prefetch(pos->next), pos != (head); \ 
     37pos = rcu_dereference(pos->next)) 
    3538#endif 
    3639 
Note: See TracChangeset for help on using the changeset viewer.