Skip to content

Commit

Permalink
[PATCH] powerpc: Merge include/asm-ppc*/a.out.h into include/asm-powerpc
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Sep 21, 2005
1 parent 564ee7a commit 5bfc826
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 38 deletions.
21 changes: 9 additions & 12 deletions include/asm-ppc64/a.out.h → include/asm-powerpc/a.out.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
#ifndef __PPC64_A_OUT_H__
#define __PPC64_A_OUT_H__

/*
* c 2001 PPC 64 Team, IBM Corp
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#ifndef _ASM_POWERPC_A_OUT_H
#define _ASM_POWERPC_A_OUT_H

struct exec
{
Expand All @@ -27,13 +18,19 @@ struct exec
#define N_SYMSIZE(a) ((a).a_syms)

#ifdef __KERNEL__
#ifdef __powerpc64__

#define STACK_TOP_USER64 TASK_SIZE_USER64
#define STACK_TOP_USER32 TASK_SIZE_USER32

#define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
STACK_TOP_USER32 : STACK_TOP_USER64)

#else /* __powerpc64__ */

#define STACK_TOP TASK_SIZE

#endif /* __powerpc64__ */
#endif /* __KERNEL__ */

#endif /* __PPC64_A_OUT_H__ */
#endif /* _ASM_POWERPC_A_OUT_H */
26 changes: 0 additions & 26 deletions include/asm-ppc/a.out.h

This file was deleted.

0 comments on commit 5bfc826

Please sign in to comment.