* [PATCH] uml: Fix build breakage after slab.h changes
@ 2010-04-18 16:37 Jan Kiszka
2010-04-18 21:24 ` Tejun Heo
2010-04-19 8:51 ` Tejun Heo
0 siblings, 2 replies; 10+ messages in thread
From: Jan Kiszka @ 2010-04-18 16:37 UTC (permalink / raw)
To: Jeff Dike
Cc: Linux Kernel Mailing List, user-mode-linux-devel, Tejun Heo, Tiger Yang
We now have to to include linux/slab.h explicitly for kmalloc & friends.
Files that build against host headers already get their prototypes via
um_malloc.h, linux/slab.h may even be unavailable.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
---
arch/um/drivers/line.c | 1 +
arch/um/os-Linux/helper.c | 1 -
2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c
index 64cda95..7a656bd 100644
--- a/arch/um/drivers/line.c
+++ b/arch/um/drivers/line.c
@@ -6,6 +6,7 @@
#include "linux/irqreturn.h"
#include "linux/kd.h"
#include "linux/sched.h"
+#include "linux/slab.h"
#include "chan_kern.h"
#include "irq_kern.h"
#include "irq_user.h"
diff --git a/arch/um/os-Linux/helper.c b/arch/um/os-Linux/helper.c
index 06d6ccf..b6b1096 100644
--- a/arch/um/os-Linux/helper.c
+++ b/arch/um/os-Linux/helper.c
@@ -8,7 +8,6 @@
#include <errno.h>
#include <sched.h>
#include <linux/limits.h>
-#include <linux/slab.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include "kern_constants.h"
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] uml: Fix build breakage after slab.h changes
2010-04-18 16:37 [PATCH] uml: Fix build breakage after slab.h changes Jan Kiszka
@ 2010-04-18 21:24 ` Tejun Heo
2010-04-19 7:35 ` Jan Kiszka
2010-04-19 8:51 ` Tejun Heo
1 sibling, 1 reply; 10+ messages in thread
From: Tejun Heo @ 2010-04-18 21:24 UTC (permalink / raw)
To: Jan Kiszka
Cc: Jeff Dike, Linux Kernel Mailing List, user-mode-linux-devel, Tiger Yang
Hello,
On 04/19/2010 01:37 AM, Jan Kiszka wrote:
> We now have to to include linux/slab.h explicitly for kmalloc & friends.
> Files that build against host headers already get their prototypes via
> um_malloc.h, linux/slab.h may even be unavailable.
Hmmm... my test um build was okay but I don't know much about details
of um builds. I suppose this patch will go through um tree?
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] uml: Fix build breakage after slab.h changes
2010-04-18 21:24 ` Tejun Heo
@ 2010-04-19 7:35 ` Jan Kiszka
2010-04-19 8:19 ` Tejun Heo
2010-04-19 16:29 ` Jiri Kosina
0 siblings, 2 replies; 10+ messages in thread
From: Jan Kiszka @ 2010-04-19 7:35 UTC (permalink / raw)
To: Tejun Heo
Cc: Jeff Dike, Linux Kernel Mailing List, user-mode-linux-devel, Tiger Yang
[-- Attachment #1: Type: text/plain, Size: 699 bytes --]
Tejun Heo wrote:
> Hello,
>
> On 04/19/2010 01:37 AM, Jan Kiszka wrote:
>> We now have to to include linux/slab.h explicitly for kmalloc & friends.
>> Files that build against host headers already get their prototypes via
>> um_malloc.h, linux/slab.h may even be unavailable.
>
> Hmmm... my test um build was okay but I don't know much about details
> of um builds.
We may use different configs. Also, your userland includes have to lack
slab.h.
> I suppose this patch will go through um tree?
Good question. Does such a tree exist? I'm sitting on a few more um
cleanups & fixes, and so far I'm working against Linus' tree as I failed
to find anything more recent.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] uml: Fix build breakage after slab.h changes
2010-04-19 7:35 ` Jan Kiszka
@ 2010-04-19 8:19 ` Tejun Heo
2010-04-19 16:29 ` Jiri Kosina
1 sibling, 0 replies; 10+ messages in thread
From: Tejun Heo @ 2010-04-19 8:19 UTC (permalink / raw)
To: Jan Kiszka
Cc: Jeff Dike, Linux Kernel Mailing List, user-mode-linux-devel, Tiger Yang
On 04/19/2010 04:35 PM, Jan Kiszka wrote:
> Good question. Does such a tree exist? I'm sitting on a few more um
> cleanups & fixes, and so far I'm working against Linus' tree as I failed
> to find anything more recent.
Well, in that case, I'll route this one through percpu.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] uml: Fix build breakage after slab.h changes
2010-04-18 16:37 [PATCH] uml: Fix build breakage after slab.h changes Jan Kiszka
2010-04-18 21:24 ` Tejun Heo
@ 2010-04-19 8:51 ` Tejun Heo
1 sibling, 0 replies; 10+ messages in thread
From: Tejun Heo @ 2010-04-19 8:51 UTC (permalink / raw)
To: Jan Kiszka
Cc: Jeff Dike, Linux Kernel Mailing List, user-mode-linux-devel, Tiger Yang
On 04/19/2010 01:37 AM, Jan Kiszka wrote:
> We now have to to include linux/slab.h explicitly for kmalloc & friends.
> Files that build against host headers already get their prototypes via
> um_malloc.h, linux/slab.h may even be unavailable.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
applied to percpu#for-linus/next. Will push to Linus in a few days.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] uml: Fix build breakage after slab.h changes
2010-04-19 7:35 ` Jan Kiszka
2010-04-19 8:19 ` Tejun Heo
@ 2010-04-19 16:29 ` Jiri Kosina
2010-04-19 20:10 ` Jan Kiszka
1 sibling, 1 reply; 10+ messages in thread
From: Jiri Kosina @ 2010-04-19 16:29 UTC (permalink / raw)
To: Jan Kiszka
Cc: Tejun Heo, Jeff Dike, Linux Kernel Mailing List,
user-mode-linux-devel, Tiger Yang
On Mon, 19 Apr 2010, Jan Kiszka wrote:
> > I suppose this patch will go through um tree?
>
> Good question. Does such a tree exist? I'm sitting on a few more um
> cleanups & fixes, and so far I'm working against Linus' tree as I failed
> to find anything more recent.
If these are simple-enough cleanups and/or compile fixes, feel free to
send them to trivial@kernel.org.
--
Jiri Kosina
SUSE Labs, Novell Inc.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] uml: Fix build breakage after slab.h changes
2010-04-19 16:29 ` Jiri Kosina
@ 2010-04-19 20:10 ` Jan Kiszka
2010-04-19 20:12 ` Jiri Kosina
0 siblings, 1 reply; 10+ messages in thread
From: Jan Kiszka @ 2010-04-19 20:10 UTC (permalink / raw)
To: Jiri Kosina
Cc: Tejun Heo, Jeff Dike, Linux Kernel Mailing List,
user-mode-linux-devel, Tiger Yang
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
Jiri Kosina wrote:
> On Mon, 19 Apr 2010, Jan Kiszka wrote:
>
>>> I suppose this patch will go through um tree?
>> Good question. Does such a tree exist? I'm sitting on a few more um
>> cleanups & fixes, and so far I'm working against Linus' tree as I failed
>> to find anything more recent.
>
> If these are simple-enough cleanups and/or compile fixes, feel free to
> send them to trivial@kernel.org.
>
Some are trivial, but most aren't. Will check if I can split the formers
out, but I guess it's simpler to keep the queue.
Thanks,
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] uml: Fix build breakage after slab.h changes
2010-04-19 20:10 ` Jan Kiszka
@ 2010-04-19 20:12 ` Jiri Kosina
2010-04-20 14:31 ` Jeff Dike
0 siblings, 1 reply; 10+ messages in thread
From: Jiri Kosina @ 2010-04-19 20:12 UTC (permalink / raw)
To: Jan Kiszka
Cc: Tejun Heo, Jeff Dike, Linux Kernel Mailing List,
user-mode-linux-devel, Tiger Yang
On Mon, 19 Apr 2010, Jan Kiszka wrote:
> >>> I suppose this patch will go through um tree?
> >> Good question. Does such a tree exist? I'm sitting on a few more um
> >> cleanups & fixes, and so far I'm working against Linus' tree as I failed
> >> to find anything more recent.
> >
> > If these are simple-enough cleanups and/or compile fixes, feel free to
> > send them to trivial@kernel.org.
> >
> Some are trivial, but most aren't. Will check if I can split the formers
> out, but I guess it's simpler to keep the queue.
Well, if Jeff isn't actively maintaining UML any more, either you can take
over the maintainership yourself, or feed the non-trivial patches through
Andrew Morton.
--
Jiri Kosina
SUSE Labs, Novell Inc.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] uml: Fix build breakage after slab.h changes
2010-04-19 20:12 ` Jiri Kosina
@ 2010-04-20 14:31 ` Jeff Dike
2010-04-20 17:11 ` Jan Kiszka
0 siblings, 1 reply; 10+ messages in thread
From: Jeff Dike @ 2010-04-20 14:31 UTC (permalink / raw)
To: Jiri Kosina
Cc: Jan Kiszka, Tejun Heo, Linux Kernel Mailing List,
user-mode-linux-devel, Tiger Yang
On Mon, Apr 19, 2010 at 10:12:04PM +0200, Jiri Kosina wrote:
> Well, if Jeff isn't actively maintaining UML any more, either you can take
> over the maintainership yourself, or feed the non-trivial patches through
> Andrew Morton.
Yes, these generally go through Andrew.
Jeff
--
Work email - jdike at linux dot intel dot com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] uml: Fix build breakage after slab.h changes
2010-04-20 14:31 ` Jeff Dike
@ 2010-04-20 17:11 ` Jan Kiszka
0 siblings, 0 replies; 10+ messages in thread
From: Jan Kiszka @ 2010-04-20 17:11 UTC (permalink / raw)
To: Jeff Dike
Cc: Jiri Kosina, Tejun Heo, Linux Kernel Mailing List,
user-mode-linux-devel, Tiger Yang
[-- Attachment #1: Type: text/plain, Size: 508 bytes --]
Jeff Dike wrote:
> On Mon, Apr 19, 2010 at 10:12:04PM +0200, Jiri Kosina wrote:
>> Well, if Jeff isn't actively maintaining UML any more, either you can take
>> over the maintainership yourself, or feed the non-trivial patches through
>> Andrew Morton.
>
> Yes, these generally go through Andrew.
OK, thanks. Just need to finish my IRQ handlers review / IRQF_DISABLED
cleanups, then I will roll it out.
Jan
PS: If you have any comments regarding the pthread topic, please let me
know.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-04-20 17:12 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-18 16:37 [PATCH] uml: Fix build breakage after slab.h changes Jan Kiszka
2010-04-18 21:24 ` Tejun Heo
2010-04-19 7:35 ` Jan Kiszka
2010-04-19 8:19 ` Tejun Heo
2010-04-19 16:29 ` Jiri Kosina
2010-04-19 20:10 ` Jan Kiszka
2010-04-19 20:12 ` Jiri Kosina
2010-04-20 14:31 ` Jeff Dike
2010-04-20 17:11 ` Jan Kiszka
2010-04-19 8:51 ` Tejun Heo
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).