[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 03/66] chips/busses.h: remove ifdef
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 03/66] chips/busses.h: remove ifdef |
Date: |
Mon, 9 Dec 2013 00:08:14 +0900 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Marin Ramesa, le Sun 08 Dec 2013 16:04:32 +0100, a écrit :
> On 08.12.2013 15:46:00, Samuel Thibault wrote:
> > Marin Ramesa, le Thu 05 Dec 2013 22:02:57 +0100, a écrit :
> > > This code is used even if KERNEL is not defined.
> >
> > Where? KERNEL is always defined for the kernel build. It is not
> > defined only in userland, which doesn't have access to these arrays
> > and functions.
>
> For example in i386/i386at/autoconf.c. I don't see KERNEL there.
It is done globally:
configfrag.ac:AC_DEFINE([KERNEL], [1], [KERNEL])
Samuel
- [PATCH 01/66] kern/machine.c: remove __volatile__, Marin Ramesa, 2013/12/05
- [PATCH 04/66] ddb/db_command.c: remove forward declaration, Marin Ramesa, 2013/12/05
- [PATCH 05/66] ddb/db_command.h: remove duplicate variable declaration, Marin Ramesa, 2013/12/05
- [PATCH 07/66] ddb/db_output.c: remove duplicate function, Marin Ramesa, 2013/12/05
- [PATCH 06/66] ddb/db_output.c: remove call to nonexistent db_printf_enter(), Marin Ramesa, 2013/12/05
- [PATCH 08/66] ddb/db_output.h: add comment, Marin Ramesa, 2013/12/05
- [PATCH 09/66] device/blkio.c: remove function, Marin Ramesa, 2013/12/05
- [PATCH 10/66] device/chario.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 11/66] device/cirbuf.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 12/66] device/cons.h: remove ifdef, Marin Ramesa, 2013/12/05