public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>, netdev <netdev@vger•kernel.org>
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>,
	davem@davemloft•net
Subject: [PATCH -next] x86/net: only select BPF_JIT when NET is enabled
Date: Wed, 4 May 2011 09:56:51 -0700	[thread overview]
Message-ID: <20110504095651.60082594.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20110504144759.802483cc.sfr@canb.auug.org.au>

From: Randy Dunlap <randy.dunlap@oracle•com>

Fix kconfig unmet dependency warning: HAVE_BPF_JIT depends on NET, so
make the "select" of it depend on NET also.

warning: (X86) selects HAVE_BPF_JIT which has unmet direct dependencies (NET)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
---
 arch/x86/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20110503.orig/arch/x86/Kconfig
+++ linux-next-20110503/arch/x86/Kconfig
@@ -71,7 +71,7 @@ config X86
 	select GENERIC_IRQ_SHOW
 	select IRQ_FORCED_THREADING
 	select USE_GENERIC_SMP_HELPERS if SMP
-	select HAVE_BPF_JIT if X86_64
+	select HAVE_BPF_JIT if (X86_64 && NET)
 
 config INSTRUCTION_DECODER
 	def_bool (KPROBES || PERF_EVENTS)

  parent reply	other threads:[~2011-05-04 16:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04  4:47 linux-next: Tree for May 4 Stephen Rothwell
2011-05-04 16:49 ` linux-next: Tree for May 4 (hyperv / vmbus) Randy Dunlap
2011-05-04 16:56   ` KY Srinivasan
2011-05-04 18:34     ` Greg KH
2011-05-05 14:59   ` Hank Janssen
2011-05-05 15:02     ` KY Srinivasan
2011-05-05 15:08       ` Hank Janssen
2011-05-04 16:53 ` [PATCH -next] sound: fix lola build Randy Dunlap
2011-05-04 17:54   ` Takashi Iwai
2011-05-04 16:56 ` Randy Dunlap [this message]
2011-05-04 18:06   ` [PATCH -next] x86/net: only select BPF_JIT when NET is enabled David 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=20110504095651.60082594.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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