proto.h (05668381140309088443bf5dc53add4104610fbb) proto.h (801f92ad5a0c630646f6746f3ed1663fcab185d1)
1#include <linux/interrupt.h>
1#include <linux/interrupt.h>
2#include <linux/io.h>
2
3
4#include <asm/pgtable.h>
3
4/* Prototypes of functions used across modules here in this directory. */
5
6#define vucp volatile unsigned char *
7#define vusp volatile unsigned short *
8#define vip volatile int *
9#define vuip volatile unsigned int *
10#define vulp volatile unsigned long *

--- 165 unchanged lines hidden (view full) ---

176
177/* sys_titan.c */
178extern void titan_dispatch_irqs(u64, struct pt_regs *);
179
180/* ../mm/init.c */
181extern void switch_to_system_map(void);
182extern void srm_paging_stop(void);
183
5
6/* Prototypes of functions used across modules here in this directory. */
7
8#define vucp volatile unsigned char *
9#define vusp volatile unsigned short *
10#define vip volatile int *
11#define vuip volatile unsigned int *
12#define vulp volatile unsigned long *

--- 165 unchanged lines hidden (view full) ---

178
179/* sys_titan.c */
180extern void titan_dispatch_irqs(u64, struct pt_regs *);
181
182/* ../mm/init.c */
183extern void switch_to_system_map(void);
184extern void srm_paging_stop(void);
185
184/* ../mm/remap.c */
185extern int __alpha_remap_area_pages(unsigned long, unsigned long,
186 unsigned long, unsigned long);
186static inline int
187__alpha_remap_area_pages(unsigned long address, unsigned long phys_addr,
188 unsigned long size, unsigned long flags)
189{
190 pgprot_t prot;
187
191
192 prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE
193 | _PAGE_KWE | flags);
194 return ioremap_page_range(address, address + size, phys_addr, prot);
195}
196
188/* irq.c */
189
190#ifdef CONFIG_SMP
191#define mcheck_expected(cpu) (cpu_data[cpu].mcheck_expected)
192#define mcheck_taken(cpu) (cpu_data[cpu].mcheck_taken)
193#define mcheck_extra(cpu) (cpu_data[cpu].mcheck_extra)
194#else
195extern struct mcheck_info

--- 14 unchanged lines hidden ---
197/* irq.c */
198
199#ifdef CONFIG_SMP
200#define mcheck_expected(cpu) (cpu_data[cpu].mcheck_expected)
201#define mcheck_taken(cpu) (cpu_data[cpu].mcheck_taken)
202#define mcheck_extra(cpu) (cpu_data[cpu].mcheck_extra)
203#else
204extern struct mcheck_info

--- 14 unchanged lines hidden ---