Commit 88968e1d authored by Andi Kleen's avatar Andi Kleen Committed by David S. Miller

In linux/skbuff.h, always use unsigned long for flags.

parent 40fe886f
...@@ -590,7 +590,7 @@ static inline struct sk_buff *__skb_dequeue(struct sk_buff_head *list) ...@@ -590,7 +590,7 @@ static inline struct sk_buff *__skb_dequeue(struct sk_buff_head *list)
static inline struct sk_buff *skb_dequeue(struct sk_buff_head *list) static inline struct sk_buff *skb_dequeue(struct sk_buff_head *list)
{ {
long flags; unsigned long flags;
struct sk_buff *result; struct sk_buff *result;
spin_lock_irqsave(&list->lock, flags); spin_lock_irqsave(&list->lock, flags);
...@@ -739,7 +739,7 @@ static inline struct sk_buff *__skb_dequeue_tail(struct sk_buff_head *list) ...@@ -739,7 +739,7 @@ static inline struct sk_buff *__skb_dequeue_tail(struct sk_buff_head *list)
static inline struct sk_buff *skb_dequeue_tail(struct sk_buff_head *list) static inline struct sk_buff *skb_dequeue_tail(struct sk_buff_head *list)
{ {
long flags; unsigned long flags;
struct sk_buff *result; struct sk_buff *result;
spin_lock_irqsave(&list->lock, flags); spin_lock_irqsave(&list->lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment