netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Include asm/atomic.h for atomic_t
@ 2004-01-15  8:00 Herbert Xu
  2004-01-15  8:15 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Xu @ 2004-01-15  8:00 UTC (permalink / raw)
  To: David S. Miller, netdev

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

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,
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[-- Attachment #2: p --]
[-- Type: text/plain, Size: 480 bytes --]

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
diff -u -r1.3 flow.h
--- kernel-2.5/include/net/flow.h	13 Jun 2003 11:22:07 -0000	1.3
+++ kernel-2.5/include/net/flow.h	15 Jan 2004 07:58:21 -0000
@@ -8,6 +8,7 @@
 #define _NET_FLOW_H
 
 #include <linux/in6.h>
+#include <asm/atomic.h>
 
 struct flowi {
 	int	oif;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Include asm/atomic.h for atomic_t
  2004-01-15  8:00 [PATCH] Include asm/atomic.h for atomic_t Herbert Xu
@ 2004-01-15  8:15 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-01-15  8:15 UTC (permalink / raw)
  To: Herbert Xu; +Cc: netdev

On Thu, 15 Jan 2004 19:00:50 +1100
Herbert Xu <herbert@gondor.apana.org.au> wrote:

> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-15  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-15  8:00 [PATCH] Include asm/atomic.h for atomic_t Herbert Xu
2004-01-15  8:15 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).