lkml.org 
[lkml]   [2012]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux-next: manual merge of the kvm-ppc tree with the powerpc-merge tree
Date
Alexander Graf <agraf@suse.de> wrote:

> Do I have to move them to their own header file or can I just #ifdef
> __KERNEL__ around the place where __ASSEMBLY__ starts to the end of the
> file?

That depends on whether it happens before or after my disintegration script is
run on the header. Ben has pulled my powerpc thing into the powerpc tree
already. If he doesn't mind repulling, then if you give me a patch or a git
branch to fix it, I can apply that and regenerate the powerpc branch.

Otherwise, you need to disintegrate manually:

(1) Move the public part to arch/powerpc/include/uapi/asm/epapr_hcalls.h

(2) #include the public part from arch/powerpc/include/asm/epapr_hcalls.h

(3) Move the "headers-y += epapr_hcalls.h" line from .../asm/Kbuild to
.../uapi/asm/Kbuild.

You should not then need __KERNEL__ guards in either header.

David


\
 
 \ /
  Last update: 2012-10-11 18:41    [W:0.045 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site