diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:43:49 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:43:49 -0400 |
| commit | 1d6ae775d7a948c9575658eb41184fd2e506c0df (patch) | |
| tree | 8128a28e89d82f13bb8e3a2160382240c66e2816 /include/asm-ppc64/processor.h | |
| parent | 739cdbf1d8f0739b80035b80d69d871e33749b86 (diff) | |
| parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) | |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'include/asm-ppc64/processor.h')
| -rw-r--r-- | include/asm-ppc64/processor.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/include/asm-ppc64/processor.h b/include/asm-ppc64/processor.h index 352306cfb579..8bd7aa959385 100644 --- a/include/asm-ppc64/processor.h +++ b/include/asm-ppc64/processor.h | |||
| @@ -268,6 +268,7 @@ | |||
| 268 | #define PV_970FX 0x003C | 268 | #define PV_970FX 0x003C |
| 269 | #define PV_630 0x0040 | 269 | #define PV_630 0x0040 |
| 270 | #define PV_630p 0x0041 | 270 | #define PV_630p 0x0041 |
| 271 | #define PV_970MP 0x0044 | ||
| 271 | #define PV_BE 0x0070 | 272 | #define PV_BE 0x0070 |
| 272 | 273 | ||
| 273 | /* Platforms supported by PPC64 */ | 274 | /* Platforms supported by PPC64 */ |
| @@ -310,6 +311,20 @@ name: \ | |||
| 310 | .type GLUE(.,name),@function; \ | 311 | .type GLUE(.,name),@function; \ |
| 311 | GLUE(.,name): | 312 | GLUE(.,name): |
| 312 | 313 | ||
| 314 | #define _KPROBE(name) \ | ||
| 315 | .section ".kprobes.text","a"; \ | ||
| 316 | .align 2 ; \ | ||
| 317 | .globl name; \ | ||
| 318 | .globl GLUE(.,name); \ | ||
| 319 | .section ".opd","aw"; \ | ||
| 320 | name: \ | ||
| 321 | .quad GLUE(.,name); \ | ||
| 322 | .quad .TOC.@tocbase; \ | ||
| 323 | .quad 0; \ | ||
| 324 | .previous; \ | ||
| 325 | .type GLUE(.,name),@function; \ | ||
| 326 | GLUE(.,name): | ||
| 327 | |||
| 313 | #define _STATIC(name) \ | 328 | #define _STATIC(name) \ |
| 314 | .section ".text"; \ | 329 | .section ".text"; \ |
| 315 | .align 2 ; \ | 330 | .align 2 ; \ |
| @@ -382,8 +397,8 @@ extern long kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); | |||
| 382 | extern struct task_struct *last_task_used_math; | 397 | extern struct task_struct *last_task_used_math; |
| 383 | extern struct task_struct *last_task_used_altivec; | 398 | extern struct task_struct *last_task_used_altivec; |
| 384 | 399 | ||
| 385 | /* 64-bit user address space is 41-bits (2TBs user VM) */ | 400 | /* 64-bit user address space is 44-bits (16TB user VM) */ |
| 386 | #define TASK_SIZE_USER64 (0x0000020000000000UL) | 401 | #define TASK_SIZE_USER64 (0x0000100000000000UL) |
| 387 | 402 | ||
| 388 | /* | 403 | /* |
| 389 | * 32-bit user address space is 4GB - 1 page | 404 | * 32-bit user address space is 4GB - 1 page |
