lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 09 Apr 2007 23:42:57 +0200
From:	Stefan Richter <stefanr@...6.in-berlin.de>
To:	Torsten Kaiser <just.for.lkml@...glemail.com>
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: <linux/wait.h> uses definitions from <linux/sched.h> (was Re: 2.6.21-rc6-mm1)

Torsten Kaiser wrote:
> 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)
[...]
> 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.

Thanks, I'll add this to linux1394-2.6.git (which exposed the problem)
ASAP.  On the other hand, the culprit is actually include/linux/wait.h
which IMO should include the headers it needs for itself.
-- 
Stefan Richter
-=====-=-=== -=-- -=--=
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ