lkml.org 
[lkml]   [2010]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2010-06-19 21:55    [from the cache]
©2003-2011 Jasper Spaans