processor.h (bc2d968f0ec698c66750e0ad1c1d35568fe93c05) | processor.h (416821d3d68164909b2cbcf398e4ba0797f5f8a2) |
---|---|
1/* 2 * include/asm-parisc/processor.h 3 * 4 * Copyright (C) 1994 Linus Torvalds 5 * Copyright (C) 2001 Grant Grundler 6 */ 7 8#ifndef __ASM_PARISC_PROCESSOR_H --- 49 unchanged lines hidden (view full) --- 58 59#ifndef __ASSEMBLY__ 60 61/* 62 * IRQ STACK - used for irq handler 63 */ 64#ifdef __KERNEL__ 65 | 1/* 2 * include/asm-parisc/processor.h 3 * 4 * Copyright (C) 1994 Linus Torvalds 5 * Copyright (C) 2001 Grant Grundler 6 */ 7 8#ifndef __ASM_PARISC_PROCESSOR_H --- 49 unchanged lines hidden (view full) --- 58 59#ifndef __ASSEMBLY__ 60 61/* 62 * IRQ STACK - used for irq handler 63 */ 64#ifdef __KERNEL__ 65 |
66#include <linux/spinlock_types.h> 67 |
|
66#define IRQ_STACK_SIZE (4096 << 2) /* 16k irq stack size */ 67 68union irq_stack_union { 69 unsigned long stack[IRQ_STACK_SIZE/sizeof(unsigned long)]; | 68#define IRQ_STACK_SIZE (4096 << 2) /* 16k irq stack size */ 69 70union irq_stack_union { 71 unsigned long stack[IRQ_STACK_SIZE/sizeof(unsigned long)]; |
72 raw_spinlock_t lock; |
|
70}; 71 72DECLARE_PER_CPU(union irq_stack_union, irq_stack_union); 73 74void call_on_stack(unsigned long p1, void *func, unsigned long new_stack); 75 76#endif /* __KERNEL__ */ 77 --- 291 unchanged lines hidden --- | 73}; 74 75DECLARE_PER_CPU(union irq_stack_union, irq_stack_union); 76 77void call_on_stack(unsigned long p1, void *func, unsigned long new_stack); 78 79#endif /* __KERNEL__ */ 80 --- 291 unchanged lines hidden --- |