public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Re: + git-hdrcleanup-vs-git-klibc-on-ia64-2.patch added to -mm tree
@ 2006-05-14 19:13 David Woodhouse
  2006-05-14 21:13 ` Andreas Schwab
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: David Woodhouse @ 2006-05-14 19:13 UTC (permalink / raw)
  To: linux-ia64

On Sun, 2006-05-14 at 11:01 -0700, akpm@osdl.org wrote:
> 
> diff -puN include/asm-ia64/page.h~git-hdrcleanup-vs-git-klibc-on-ia64-2 include/asm-ia64/page.h
> --- 25/include/asm-ia64/page.h~git-hdrcleanup-vs-git-klibc-on-ia64-2    Mon May 15 01:48:22 2006
> +++ 25-akpm/include/asm-ia64/page.h     Mon May 15 01:49:38 2006
> @@ -36,7 +36,11 @@
>  #elif defined(CONFIG_IA64_PAGE_SIZE_64KB)
>  # define PAGE_SHIFT    16
>  #else
> +#ifdef __KERNEL__
>  # error Unsupported page size!
> +#else
> +#define PAGE_SHIFT     12
> +#endif
>  #endif
>  
>  #define PAGE_SIZE              (__IA64_UL_CONST(1) << PAGE_SHIFT)

Hm, same applies here as to the last one. The __KERNEL__ ifdef applies
to the whole crap around PAGE_SHIFT _and_ PAGE_SIZE, at least. 

In the long term I think we want to drop page.h and elf.h from the list
of files which are exported to userspace altogether. Either way, it's
complicated so I was leaving them until later, after the first round of
_simple_ cleanups was in. This failure is purely due to the removal of
config.h, which is automatically included in kernel builds but evidently
not klibc...

-- 
dwmw2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-05-14 23:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-14 19:13 + git-hdrcleanup-vs-git-klibc-on-ia64-2.patch added to -mm tree David Woodhouse
2006-05-14 21:13 ` Andreas Schwab
2006-05-14 21:17 ` Christoph Hellwig
2006-05-14 21:37 ` David Woodhouse
2006-05-14 22:03 ` H. Peter Anvin
2006-05-14 22:05 ` H. Peter Anvin
2006-05-14 22:11 ` David Woodhouse
2006-05-14 22:34 ` H. Peter Anvin
2006-05-14 22:41 ` David Woodhouse
2006-05-14 23:22 ` H. Peter Anvin
2006-05-14 23:35 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox