Re: [PATCH v2 2/5] Use new __init_task_data macro in archinit_task.c files.

From: Joe Perches
Date: Tue Sep 08 2009 - 23:32:15 EST


On Tue, 2009-09-08 at 20:21 -0700, Daniel Walker wrote:
> On Tue, 2009-09-08 at 20:10 -0700, Joe Perches wrote:
> > Shrug. So submit a patch...
> I would if this was code in the kernel already, but it's not. LKML
> submission is the process people use to find these types of issues.
> Issues that should be fixed prior to inclusion, and may have been
> overlooked..

I think you should look at the patch again, and
perhaps not react what appears perhaps mindlessly.

Here's an example:

-union thread_union init_thread_union
- __attribute__((__section__(".data.init_task"))) =
- { INIT_THREAD_INFO(init_task) };
+union thread_union init_thread_union __init_task_data =
+ { INIT_THREAD_INFO(init_task) };

cheers, Joe


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/