Commit 1ba3a31f authored by Paul Mackerras's avatar Paul Mackerras Committed by Linus Torvalds

[PATCH] ppc64: move kmem_bufctl_t inside #ifndef __ASSEMBLY__

When the kmem_bufctl_t typedef got added to include/asm-ppc64/types.h,
it got added outside the #ifndef __ASSEMBLY__ section, causing
assembler errors.  This patch, from David Gibson, moves it inside the
#ifndef __ASSEMBLY__ region.
parent 245a62a1
...@@ -71,9 +71,9 @@ typedef struct { ...@@ -71,9 +71,9 @@ typedef struct {
unsigned long toc; unsigned long toc;
unsigned long env; unsigned long env;
} func_descr_t; } func_descr_t;
#endif /* __ASSEMBLY__ */
typedef unsigned int kmem_bufctl_t; typedef unsigned int kmem_bufctl_t;
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment