mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Torsten Kaiser" <just.for.lkml@googlemail.com>
To: "Andrew Morton" <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.21-rc6-mm1
Date: Mon, 9 Apr 2007 21:03:15 +0200	[thread overview]
Message-ID: <64bb37e0704091203m7cb4adc9g1bf6bf179603cf4a@mail.gmail.com> (raw)
In-Reply-To: <20070408143559.f5014629.akpm@linux-foundation.org>

On 4/8/07, Andrew Morton <akpm@linux-foundation.org> wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc6/2.6.21-rc6-mm1/

drivers/ieee1394/ieee1394_transactions.c fails for me if CONFIG_SMP=n

gcc complains:
  CC      drivers/ieee1394/ieee1394_transactions.o
drivers/ieee1394/ieee1394_transactions.c: In function 'hpsb_get_tlabel':
drivers/ieee1394/ieee1394_transactions.c:183: error:
'TASK_INTERRUPTIBLE' undeclared (first use in this function)
drivers/ieee1394/ieee1394_transactions.c:183: error: (Each undeclared
identifier is reported only once
drivers/ieee1394/ieee1394_transactions.c:183: error: for each function
it appears in.)
drivers/ieee1394/ieee1394_transactions.c:183: warning: implicit
declaration of function 'signal_pending'
drivers/ieee1394/ieee1394_transactions.c:183: warning: implicit
declaration of function 'schedule'
drivers/ieee1394/ieee1394_transactions.c: In function 'hpsb_free_tlabel':
drivers/ieee1394/ieee1394_transactions.c:213: error:
'TASK_INTERRUPTIBLE' undeclared (first use in this function)
make[2]: *** [drivers/ieee1394/ieee1394_transactions.o] Error 1
make[1]: *** [drivers/ieee1394] Error 2
make: *** [drivers] Error 2


I fixed this by adding #include <linux/sched.h> before #include <linux/wait.h>
But that is probably not the correct fix, but gives me a working kernel.

Diff between a working .config and a failing one:
(created by switching SMP off with menuconfig)
 --- config.works        2007-04-09 20:54:30.182374075 +0200
+++ .config     2007-04-09 20:54:47.317863059 +0200
@@ -3,3 +3,3 @@
 # Linux kernel version: 2.6.21-rc6-mm1
-# Mon Apr  9 16:01:11 2007
+# Mon Apr  9 20:54:47 2007
 #
@@ -36,3 +36,3 @@
 CONFIG_EXPERIMENTAL=y
-CONFIG_LOCK_KERNEL=y
+CONFIG_BROKEN_ON_SMP=y
 CONFIG_INIT_ENV_ARG_LIMIT=32
@@ -57,3 +57,2 @@
 CONFIG_IKCONFIG_PROC=y
-CONFIG_CPUSETS=y
 # CONFIG_SYSFS_DEPRECATED is not set
@@ -104,3 +103,2 @@
 CONFIG_KMOD=y
-CONFIG_STOP_MACHINE=y

@@ -151,5 +149,3 @@
 CONFIG_MTRR=y
-CONFIG_SMP=y
-# CONFIG_SCHED_SMT is not set
-CONFIG_SCHED_MC=y
+# CONFIG_SMP is not set
 CONFIG_PREEMPT_NONE=y
@@ -157,21 +153,12 @@
 # CONFIG_PREEMPT is not set
-CONFIG_PREEMPT_BKL=y
-CONFIG_NUMA=y
-# CONFIG_K8_NUMA is not set
-CONFIG_NODES_SHIFT=6
-CONFIG_X86_64_ACPI_NUMA=y
-# CONFIG_NUMA_EMU is not set
-CONFIG_ARCH_DISCONTIGMEM_ENABLE=y
-CONFIG_ARCH_DISCONTIGMEM_DEFAULT=y
 CONFIG_ARCH_SPARSEMEM_ENABLE=y
+CONFIG_ARCH_FLATMEM_ENABLE=y
 CONFIG_SELECT_MEMORY_MODEL=y
-# CONFIG_FLATMEM_MANUAL is not set
-CONFIG_DISCONTIGMEM_MANUAL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
 # CONFIG_SPARSEMEM_MANUAL is not set
-CONFIG_DISCONTIGMEM=y
+CONFIG_FLATMEM=y
 CONFIG_FLAT_NODE_MEM_MAP=y
-CONFIG_NEED_MULTIPLE_NODES=y
 # CONFIG_SPARSEMEM_STATIC is not set
 CONFIG_SPLIT_PTLOCK_CPUS=4
-CONFIG_MIGRATION=y
 CONFIG_RESOURCES_64BIT=y
@@ -180,6 +167,2 @@
 # CONFIG_DEBUG_READAHEAD is not set
-CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=y
-CONFIG_OUT_OF_LINE_PFN_TO_PAGE=y
-CONFIG_NR_CPUS=4
-CONFIG_HOTPLUG_CPU=y
 CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
@@ -209,3 +192,2 @@
 CONFIG_ISA_DMA_API=y
-CONFIG_GENERIC_PENDING_IRQ=y

@@ -220,3 +202,2 @@
 CONFIG_PM_STD_PARTITION=""
-CONFIG_SUSPEND_SMP=y

@@ -236,5 +217,3 @@
 CONFIG_ACPI_PROCESSOR=y
-CONFIG_ACPI_HOTPLUG_CPU=y
 CONFIG_ACPI_THERMAL=y
-CONFIG_ACPI_NUMA=y
 # CONFIG_ACPI_ASUS is not set

  parent reply	other threads:[~2007-04-09 19:03 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-08 21:35 2.6.21-rc6-mm1 Andrew Morton
2007-04-09 11:13 ` 2.6.21-rc6-mm1 Borislav Petkov
2007-04-09 16:08 ` 2.6.21-rc6-mm1 Rafael J. Wysocki
2007-04-09 16:14   ` 2.6.21-rc6-mm1 Pallipadi, Venkatesh
2007-04-09 17:40     ` 2.6.21-rc6-mm1 Rafael J. Wysocki
2007-04-10 22:20       ` 2.6.21-rc6-mm1 Venki Pallipadi
2007-04-11 19:28         ` 2.6.21-rc6-mm1 Rafael J. Wysocki
2007-04-10 23:59       ` 2.6.21-rc6-mm1 Adam Belay
2007-04-11  0:15         ` 2.6.21-rc6-mm1 Venki Pallipadi
2007-04-11  5:20           ` 2.6.21-rc6-mm1 Stephane Eranian
2007-04-11 10:39             ` 2.6.21-rc6-mm1 Andi Kleen
2007-04-11 13:09               ` 2.6.21-rc6-mm1 Stephane Eranian
2007-04-11 13:19                 ` 2.6.21-rc6-mm1 Andi Kleen
2007-04-11 18:06               ` 2.6.21-rc6-mm1 Andrew Morton
2007-04-09 19:03 ` Torsten Kaiser [this message]
2007-04-09 21:42   ` <linux/wait.h> uses definitions from <linux/sched.h> (was Re: 2.6.21-rc6-mm1) Stefan Richter
2007-04-09 22:01     ` Stefan Richter
2007-04-10  0:50 ` 2.6.21-rc6-mm1 Nishanth Aravamudan
2007-04-10  0:56   ` 2.6.21-rc6-mm1 Christoph Lameter
2007-04-10  1:07   ` 2.6.21-rc6-mm1 William Lee Irwin III
2007-04-10 11:28 ` 2.6.21-rc6-mm1 ima "BUG: held lock freed!" Joseph Fannin
2007-04-10 12:24 ` 2.6.21-rc6-mm1 Cornelia Huck
2007-04-10 12:38   ` 2.6.21-rc6-mm1 Ananth N Mavinakayanahalli
2007-04-10 21:08 ` [-mm patch] make struct proc_kpagemap static Adrian Bunk
2007-04-10 21:09   ` Matt Mackall
2007-04-10 21:08 ` [-mm patch] make kernel/module.c:is_exported() static Adrian Bunk
2007-04-10 21:08 ` [RFC: -mm patch] fs/ocfs2/: make 3 functions static Adrian Bunk
2007-04-10 22:21 ` 2.6.21-rc6-mm1 aacraid not finding device Steve Fox
2007-04-13 12:35   ` [PATCH] aacraid: " Salyzyn, Mark
2007-04-11 19:42 ` 2.6.21-rc6-mm1 USB related boot hang Helge Hafting
2007-04-11 20:43   ` Andrew Morton
2007-04-11 23:07     ` Helge Hafting
2007-04-11 23:25       ` Andrew Morton
2007-04-12  7:50       ` Jiri Kosina
2007-04-12  8:02         ` Jiri Kosina
2007-04-12 11:42           ` Helge Hafting
2007-04-12 16:47             ` Andrew Morton
2007-04-12 18:56               ` Helge Hafting
2007-04-12 15:31           ` Jiri Kosina
2007-04-12 16:01             ` Corey Minyard
2007-04-12 16:55             ` Andrew Morton
2007-04-12 17:25               ` Greg KH
2007-04-12 17:49               ` Jiri Kosina
2007-04-12 17:58                 ` Greg KH
2007-04-12 18:17                 ` Jiri Kosina
2007-04-12 21:06                   ` Corey Minyard
2007-04-12 20:19             ` Helge Hafting
2007-04-12 19:22         ` Helge Hafting
2007-04-12 18:32       ` Jiri Kosina
2007-04-12 20:25         ` Helge Hafting
2007-04-12 23:16           ` Jiri Kosina
2007-04-25  9:54             ` Helge Hafting
2007-04-25 11:28               ` Jiri Kosina
2007-04-25 12:45                 ` Helge Hafting
2007-04-26 18:38                 ` Helge Hafting
2007-04-26 22:28                 ` 2.6.21-rc6-mm1 USB related boot hang - bisection result Helge Hafting
2007-04-26 22:39                   ` Jiri Kosina
2007-04-26 23:13                     ` Andrew Morton
2007-04-27 21:04                     ` Helge Hafting
2007-04-27 22:41                       ` Andrew Morton
2007-04-13 23:45 ` CPU_IDLE prevents resuming from STR [was: Re: 2.6.21-rc6-mm1] Mattia Dongili
2007-04-16  2:40   ` Shaohua Li
2007-04-17  2:50     ` Joshua Wise
2007-04-17  2:50       ` Shaohua Li
2007-04-17  6:47       ` Shaohua Li
2007-04-18 23:00         ` Joshua Wise
2007-04-19  1:05           ` Shaohua Li
2007-04-24  8:10 ` 2.6.21-rc6-mm1 J.A. Magallón
2007-04-24 11:58   ` 2.6.21-rc6-mm1 Andrew Morton
2007-04-24 13:43     ` 2.6.21-rc6-mm1 J.A. Magallón
2007-04-24 17:22       ` 2.6.21-rc6-mm1 Andrew Morton
2007-04-25 20:50         ` 2.6.21-rc6-mm1 J.A. Magallón
2007-04-25 21:39           ` start_udev and devpts [Re: 2.6.21-rc6-mm1] J.A. Magallón
2007-04-25 22:26             ` J.A. Magallón

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=64bb37e0704091203m7cb4adc9g1bf6bf179603cf4a@mail.gmail.com \
    --to=just.for.lkml@googlemail.com \
    --cc=akpm@linux-foundation.org \
    --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

Powered by JetHome