[RFC] use kexec_kernel.h for the kernel-only stuff [Was: [PATCH]Export kexec.h]

From: Sam Ravnborg
Date: Sat Jun 19 2010 - 14:24:29 EST


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.

Patch is trivial - appended below.

Sam