Messages in this thread | | | Date | Sat, 19 Jun 2010 21:53:45 +0200 | From | Andi Kleen <> | Subject | Re: [RFC] use kexec_kernel.h for the kernel-only stuff [Was: [PATCH] Export kexec.h] |
| |
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
| |