Skip to contentSkip to conversation

Include asm/atomic.h for atomic_t

PATCH Applied Herbert Xu 2 participants 2 messages Jan 15, 2004

Subsystems (2)
lore
Share & tools
lore

Herbert Xu

author
#0 lore raw

PATCH 1/1 Include asm/atomic.h for atomic_t

Hi Dave:

include/net/flow.h uses atomic_t without including asm/atomic.h which sometimes causes build failures. This patch adds the inclusion.

Cheers,

Signature · 4 lines
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Index: kernel-2.5/include/net/flow.h
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/include/net/flow.h,v retrieving revision 1.3

include/net/flow.h +1 -0
diff -u -r1.3 flow.h
@@ -8,6 +8,7 @@
 #define _NET_FLOW_H
 
 #include <linux/in6.h>
+#include <asm/atomic.h>
 
 struct flowi {
 	int	oif;
#1 lore raw
Quoted 2 lines · On Thu, 15 Jan 2004 19:00:50 +1100 Herbert Xu <[email protected]>…

include/net/flow.h uses atomic_t without including asm/atomic.h which sometimes causes build failures. This patch adds the inclusion.

Applied, thanks Herbert.