[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1004201917520.7579@pobox.suse.cz>
Date: Tue, 20 Apr 2010 19:18:04 +0200 (CEST)
From: Jiri Kosina <jkosina@...e.cz>
To: Jeff Dike <jdike@...toit.com>
Cc: Amerigo Wang <xiyou.wangcong@...il.com>,
Jan Kiszka <jan.kiszka@....de>, linux-kernel@...r.kernel.org,
user-mode-linux-devel@...ts.sourceforge.net
Subject: Re: [uml-devel] [PATCH 2/5] uml: Drop private round_down
definition
On Tue, 20 Apr 2010, Jeff Dike wrote:
> > > Shouldn't this signal.c #include <linux/kernel.h>?
> >
> > Well, it gets included implicitly through uaccess.h -> sched.h ->
> > kernel.h.
>
> You're depending on the internal details of uaccess.h and sched.h. If
> either of them changed, then this would cause unexpected compile
> failures here.
>
> Better to explicitly include kernel.h.
Yeah, I have that already in my tree.
Thanks,
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
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