netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: "David S. Miller" <davem@redhat.com>, netdev@oss.sgi.com
Subject: [PATCH] Include asm/atomic.h for atomic_t
Date: Thu, 15 Jan 2004 19:00:50 +1100	[thread overview]
Message-ID: <20040115080050.GA8430@gondor.apana.org.au> (raw)

[-- 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;

             reply	other threads:[~2004-01-15  8:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-15  8:00 Herbert Xu [this message]
2004-01-15  8:15 ` [PATCH] Include asm/atomic.h for atomic_t David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040115080050.GA8430@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=davem@redhat.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).