linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jaswinder Singh" <jaswinderlinux@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] Re: [BUG] 2.6.24-rc3 x86 make depends on s390 arch
Date: Fri, 30 Nov 2007 16:33:19 +0530	[thread overview]
Message-ID: <3f9a31f40711300303l3260c3e7s4c35884f5e1fa6e1@mail.gmail.com> (raw)
In-Reply-To: <3f9a31f40711300014y576e83dldfafa340eec257f0@mail.gmail.com>

This patch fixes s390 dependency for x86

Signed-off-by: Jaswinder Singh <jaswinderlinux@gmail.com>


diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 1330061..b699ed5 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -537,4 +537,6 @@ source "security/Kconfig"

 source "crypto/Kconfig"

+source "arch/s390/crypto/Kconfig"
+
 source "lib/Kconfig"
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 5fd6688..5c2c7eb 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -48,8 +48,6 @@ config CRYPTO_DEV_PADLOCK_SHA
 	  If unsure say M. The compiled module will be
 	  called padlock-sha.ko

-source "arch/s390/crypto/Kconfig"
-
 config CRYPTO_DEV_GEODE
 	tristate "Support for the Geode LX AES engine"
 	depends on X86_32 && PCI
diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c
index 6972f26..529be08 100644
--- a/kernel/sysctl_check.c
+++ b/kernel/sysctl_check.c
@@ -1,6 +1,8 @@
 #include <linux/stat.h>
 #include <linux/sysctl.h>
+#ifdef CONFIG_S390
 #include "../arch/s390/appldata/appldata.h"
+#endif
 #include "../fs/xfs/linux-2.6/xfs_sysctl.h"
 #include <linux/sunrpc/debug.h>
 #include <linux/string.h>


On 11/30/07, Jaswinder Singh <jaswinderlinux@gmail.com> wrote:
> 2.6.24-rc3 git kernel's x86 make depends on s390 arch:
>
> 1.   HOSTLD  scripts/kconfig/conf
> scripts/kconfig/conf -s arch/x86/Kconfig
> drivers/crypto/Kconfig:51: can't open file "arch/s390/crypto/Kconfig"
> make[2]: *** [silentoldconfig] Error 1
> make[1]: *** [silentoldconfig] Error 2
>
> 2.  CC      kernel/sysctl_check.o
> kernel/sysctl_check.c:3:44: error: ../arch/s390/appldata/appldata.h:
> No such file or directory
> make[1]: *** [kernel/sysctl_check.o] Error 1
> make: *** [kernel] Error 2
>
> Thank you,
>
> Jaswinder Singh.
>

  parent reply	other threads:[~2007-11-30 11:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-30  8:14 [BUG] 2.6.24-rc3 x86 make depends on s390 arch Jaswinder Singh
2007-11-30 10:37 ` Heiko Carstens
2007-11-30 11:16   ` Jaswinder Singh
2007-11-30 11:03 ` Jaswinder Singh [this message]
2007-11-30 11:50   ` [PATCH] " Heiko Carstens
2007-11-30 12:08     ` Jaswinder Singh
2007-11-30 12:49       ` Heiko Carstens
2007-11-30 13:00         ` Jaswinder Singh
2007-11-30 13:37           ` Heiko Carstens

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=3f9a31f40711300303l3260c3e7s4c35884f5e1fa6e1@mail.gmail.com \
    --to=jaswinderlinux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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).