Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33933
b: refs/heads/master
c: d575964
h: refs/heads/master
i:
  33931: f3f534e
v: v3
  • Loading branch information
David Woodhouse authored and Linus Torvalds committed Sep 16, 2006
1 parent 64575db commit 1668e1a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 124b51c7a8a2b47f1c4739905a28ab3ea5f17faa
refs/heads/master: d5759641f5809b19bad4e2af6ca97b830545aaba
2 changes: 1 addition & 1 deletion trunk/include/asm-ia64/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ header-y += break.h fpu.h fpswa.h gcc_intrin.h ia64regs.h \
intel_intrin.h intrinsics.h perfmon_default_smpl.h \
ptrace_offsets.h rse.h setup.h ucontext.h

unifdef-y += perfmon.h
unifdef-y += perfmon.h ustack.h
4 changes: 2 additions & 2 deletions trunk/include/asm-ia64/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* David Mosberger-Tang <davidm@hpl.hp.com>
*/

# ifdef __KERNEL__

#include <asm/intrinsics.h>
#include <asm/types.h>
Expand Down Expand Up @@ -64,7 +65,6 @@
# define __pa(x) ((x) - PAGE_OFFSET)
# define __va(x) ((x) + PAGE_OFFSET)
#else /* !__ASSEMBLY */
# ifdef __KERNEL__
# define STRICT_MM_TYPECHECKS

extern void clear_page (void *page);
Expand Down Expand Up @@ -174,7 +174,6 @@ get_order (unsigned long size)
return order;
}

# endif /* __KERNEL__ */
#endif /* !__ASSEMBLY__ */

#ifdef STRICT_MM_TYPECHECKS
Expand Down Expand Up @@ -228,4 +227,5 @@ get_order (unsigned long size)
(((current->personality & READ_IMPLIES_EXEC) != 0) \
? VM_EXEC : 0))

# endif /* __KERNEL__ */
#endif /* _ASM_IA64_PAGE_H */
10 changes: 7 additions & 3 deletions trunk/include/asm-ia64/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@


#include <asm/fpu.h>

#ifdef __KERNEL__
#ifndef ASM_OFFSETS_C
#include <asm/asm-offsets.h>
#endif
Expand All @@ -79,10 +81,9 @@

#define KERNEL_STACK_SIZE IA64_STK_OFFSET

#ifndef __ASSEMBLY__
#endif /* __KERNEL__ */

#include <asm/current.h>
#include <asm/page.h>
#ifndef __ASSEMBLY__

/*
* This struct defines the way the registers are saved on system
Expand Down Expand Up @@ -229,6 +230,9 @@ struct switch_stack {

#ifdef __KERNEL__

#include <asm/current.h>
#include <asm/page.h>

#define __ARCH_SYS_PTRACE 1

/*
Expand Down
7 changes: 5 additions & 2 deletions trunk/include/asm-ia64/ustack.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
* Constants for the user stack size
*/

#ifdef __KERNEL__
#include <asm/page.h>

/* The absolute hard limit for stack size is 1/2 of the mappable space in the region */
#define MAX_USER_STACK_SIZE (RGN_MAP_LIMIT/2)
/* Make a default stack size of 2GB */
#define DEFAULT_USER_STACK_SIZE (1UL << 31)
#define STACK_TOP (0x6000000000000000UL + RGN_MAP_LIMIT)
#endif

/* Make a default stack size of 2GiB */
#define DEFAULT_USER_STACK_SIZE (1UL << 31)

#endif /* _ASM_IA64_USTACK_H */

0 comments on commit 1668e1a

Please sign in to comment.