From: Andi Kleen on
On Sat, Jun 19, 2010 at 08:24:19PM +0200, Sam Ravnborg wrote:
> On Sat, Jun 19, 2010 at 03:22:35PM +0200, Andi Kleen wrote:
> > Export kexec.h
> >
> > kexec_load is a system call and it needs a header
> > file with its input arguments.
> >
> > Export the parts of kexec.h needed for this.
>
> Rather than introducing yet another file where
> only a fraction is exported how about a split
> where we put the kernel specific definitions in kexec_kernel.h.
> And kexec.h is the userspace interface (which is included
> by kexec_kernel.h).
>
> We did it like this for pps some time ago.

Would work for me too, I have no strong opinion either way.

Being naturally lazy, I just went with the simpler patch
myself.

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