Re: [git-pull -tip] fix headers_check warnings

From: H. Peter Anvin
Date: Mon Feb 02 2009 - 12:50:01 EST


Jaswinder Singh Rajput wrote:
>>
>> Hi Jaswinder,
>>
>> it seems we have a clash here :) I thought this part
>> was just dropped out
>>
>> http://lkml.org/lkml/2009/1/14/461
>>
>> and Peter had been applying it on tip:x86/header-fixes
>>
>> http://lkml.org/lkml/2009/1/14/549
>>
>> but maybe it's just lost...
>
> No, you cannot remove sys_arch_prctl otherwise you will get sparse
> warning like this:
>
> CHECK arch/x86/kernel/process_64.c
> arch/x86/kernel/process_64.c:833:6: warning: symbol 'sys_arch_prctl' was not declared. Should it be static?
>

Perhaps we can just move this prototype to <asm/syscalls.h>.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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