Re: [PATCH 2/6] headers_check fix: ia64, fpswa.h

Arnd Bergmann
2009-06-05T09:28:52Z

On Thursday 04 June 2009, Jaswinder Singh Rajput wrote:

> index 62edfce..797b064 100644
> --- a/arch/ia64/include/asm/fpswa.h
> +++ b/arch/ia64/include/asm/fpswa.h
> @@ -68,6 +68,7 @@ typedef struct {
> efi_fpswa_t fpswa;
> } fpswa_interface_t;
>
> +#ifdef __KERNEL__
> extern fpswa_interface_t *fpswa_interface;
> -
> +#endif
> #endif /* _ASM_IA64_FPSWA_H */

It's pretty obvious that the above data structure also doesn't
apply in user space. In fact it looks like the whole file should
just not be exported. Your patch is not helpful there because
it just silences the warning.