aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/percpu.h
stat options
Period:
Authors:

Commits per author per week (path 'arch/arm/include/asm/percpu.h')

AuthorW36 2025W37 2025W38 2025W39 2025Total
Total00000
f1b8a0c1fc7321cac2'>1da177e4c3f4
e8abf5e73cdb
0aa78106c661
e8abf5e73cdb

0aa78106c661



1da177e4c3f4

c288bf2533e5
0aa78106c661
c288bf2533e5

0aa78106c661
1da177e4c3f4
1da177e4c3f4
66a3f820cb6a
0aa78106c661

edb347256c44

1da177e4c3f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
                            
 

                      
                         
 
                                                         
 
                        
 

                                               

 
                                                      
 

                                     




                                                                         

 
                                               
 

                                     



                                                                        

 
                                          
                                   

                                              
  
 
 
                             

                                                                     

                                                                      
 
#include <linux/interrupt.h>

#include <asm/irq.h>
#include <asm/traps.h>
#include <asm/apollohw.h>

void dn_process_int(unsigned int irq, struct pt_regs *fp)
{
	do_IRQ(irq, fp);

	*(volatile unsigned char *)(pica)=0x20;
	*(volatile unsigned char *)(picb)=0x20;
}

unsigned int apollo_irq_startup(struct irq_data *data)
{
	unsigned int irq = data->irq;

	if (irq < 8)
		*(volatile unsigned char *)(pica+1) &= ~(1 << irq);
	else
		*(volatile unsigned char *)(picb+1) &= ~(1 << (irq - 8));
	return 0;
}