.. | .. |
---|
280 | 280 | __u64 map_base; /* base address for get_unmapped_area() */ |
---|
281 | 281 | __u64 rbs_bot; /* the base address for the RBS */ |
---|
282 | 282 | int last_fph_cpu; /* CPU that may hold the contents of f32-f127 */ |
---|
283 | | - |
---|
284 | | -#ifdef CONFIG_PERFMON |
---|
285 | | - void *pfm_context; /* pointer to detailed PMU context */ |
---|
286 | | - unsigned long pfm_needs_checking; /* when >0, pending perfmon work on kernel exit */ |
---|
287 | | -# define INIT_THREAD_PM .pfm_context = NULL, \ |
---|
288 | | - .pfm_needs_checking = 0UL, |
---|
289 | | -#else |
---|
290 | | -# define INIT_THREAD_PM |
---|
291 | | -#endif |
---|
292 | 283 | unsigned long dbr[IA64_NUM_DBG_REGS]; |
---|
293 | 284 | unsigned long ibr[IA64_NUM_DBG_REGS]; |
---|
294 | 285 | struct ia64_fpreg fph[96]; /* saved/loaded on demand */ |
---|
.. | .. |
---|
301 | 292 | .map_base = DEFAULT_MAP_BASE, \ |
---|
302 | 293 | .rbs_bot = STACK_TOP - DEFAULT_USER_STACK_SIZE, \ |
---|
303 | 294 | .last_fph_cpu = -1, \ |
---|
304 | | - INIT_THREAD_PM \ |
---|
305 | 295 | .dbr = {0, }, \ |
---|
306 | 296 | .ibr = {0, }, \ |
---|
307 | 297 | .fph = {{{{0}}}, } \ |
---|
.. | .. |
---|
552 | 542 | { |
---|
553 | 543 | unsigned int reg = vector / 64; |
---|
554 | 544 | unsigned int bit = vector % 64; |
---|
555 | | - u64 irr; |
---|
| 545 | + unsigned long irr; |
---|
556 | 546 | |
---|
557 | 547 | switch (reg) { |
---|
558 | 548 | case 0: irr = ia64_getreg(_IA64_REG_CR_IRR0); break; |
---|
.. | .. |
---|
601 | 591 | |
---|
602 | 592 | *unat = (*unat & ~mask) | (nat << bit); |
---|
603 | 593 | } |
---|
604 | | - |
---|
605 | | -/* |
---|
606 | | - * Get the current instruction/program counter value. |
---|
607 | | - */ |
---|
608 | | -#define current_text_addr() \ |
---|
609 | | - ({ void *_pc; _pc = (void *)ia64_getreg(_IA64_REG_IP); _pc; }) |
---|
610 | 594 | |
---|
611 | 595 | static inline __u64 |
---|
612 | 596 | ia64_get_ivr (void) |
---|
.. | .. |
---|
684 | 668 | IDLE_NOMWAIT, IDLE_POLL}; |
---|
685 | 669 | |
---|
686 | 670 | void default_idle(void); |
---|
687 | | - |
---|
688 | | -#define ia64_platform_is(x) (strcmp(x, ia64_platform_name) == 0) |
---|
689 | 671 | |
---|
690 | 672 | #endif /* !__ASSEMBLY__ */ |
---|
691 | 673 | |
---|