Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
1daa1f21
Commit
1daa1f21
authored
Apr 29, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://lia64.bkbits.net/to-linus-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
bbf2b79a
1014e334
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
9 deletions
+14
-9
arch/ia64/kernel/smp.c
arch/ia64/kernel/smp.c
+2
-0
arch/ia64/sn/io/io.c
arch/ia64/sn/io/io.c
+4
-0
arch/ia64/sn/io/machvec/pci_bus_cvlink.c
arch/ia64/sn/io/machvec/pci_bus_cvlink.c
+0
-5
arch/ia64/sn/kernel/irq.c
arch/ia64/sn/kernel/irq.c
+5
-1
include/asm-ia64/pgtable.h
include/asm-ia64/pgtable.h
+2
-2
include/asm-ia64/sn/sn_sal.h
include/asm-ia64/sn/sn_sal.h
+1
-1
No files found.
arch/ia64/kernel/smp.c
View file @
1daa1f21
...
@@ -308,6 +308,8 @@ smp_call_function (void (*func) (void *info), void *info, int nonatomic, int wai
...
@@ -308,6 +308,8 @@ smp_call_function (void (*func) (void *info), void *info, int nonatomic, int wai
if
(
!
cpus
)
if
(
!
cpus
)
return
0
;
return
0
;
BUG_ON
(
irqs_disabled
());
data
.
func
=
func
;
data
.
func
=
func
;
data
.
info
=
info
;
data
.
info
=
info
;
atomic_set
(
&
data
.
started
,
0
);
atomic_set
(
&
data
.
started
,
0
);
...
...
arch/ia64/sn/io/io.c
View file @
1daa1f21
...
@@ -529,7 +529,11 @@ hub_dmaaddr_drain( vertex_hdl_t vhdl,
...
@@ -529,7 +529,11 @@ hub_dmaaddr_drain( vertex_hdl_t vhdl,
void
void
hub_provider_startup
(
vertex_hdl_t
hubv
)
hub_provider_startup
(
vertex_hdl_t
hubv
)
{
{
hubinfo_t
hubinfo
;
hubinfo_get
(
hubv
,
&
hubinfo
);
hub_pio_init
(
hubv
);
hub_pio_init
(
hubv
);
intr_init_vecblk
(
nasid_to_cnodeid
(
hubinfo
->
h_nasid
));
}
}
/*
/*
...
...
arch/ia64/sn/io/machvec/pci_bus_cvlink.c
View file @
1daa1f21
...
@@ -813,11 +813,6 @@ sn_pci_init (void)
...
@@ -813,11 +813,6 @@ sn_pci_init (void)
*/
*/
sgi_master_io_infr_init
();
sgi_master_io_infr_init
();
for
(
cnode
=
0
;
cnode
<
numnodes
;
cnode
++
)
{
extern
void
intr_init_vecblk
(
cnodeid_t
);
intr_init_vecblk
(
cnode
);
}
sn_init_cpei_timer
();
sn_init_cpei_timer
();
#ifdef CONFIG_PROC_FS
#ifdef CONFIG_PROC_FS
...
...
arch/ia64/sn/kernel/irq.c
View file @
1daa1f21
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
static
void
force_interrupt
(
int
irq
);
static
void
force_interrupt
(
int
irq
);
extern
void
pcibr_force_interrupt
(
pcibr_intr_t
intr
);
extern
void
pcibr_force_interrupt
(
pcibr_intr_t
intr
);
extern
int
sn_force_interrupt_flag
;
extern
int
sn_force_interrupt_flag
;
struct
irq_desc
*
sn_irq_desc
(
unsigned
int
irq
);
struct
sn_intr_list_t
{
struct
sn_intr_list_t
{
struct
sn_intr_list_t
*
next
;
struct
sn_intr_list_t
*
next
;
...
@@ -101,6 +102,8 @@ sn_end_irq(unsigned int irq)
...
@@ -101,6 +102,8 @@ sn_end_irq(unsigned int irq)
int
nasid
;
int
nasid
;
int
ivec
;
int
ivec
;
unsigned
long
event_occurred
;
unsigned
long
event_occurred
;
irq_desc_t
*
desc
=
sn_irq_desc
(
irq
);
unsigned
int
status
=
desc
->
status
;
ivec
=
irq
&
0xff
;
ivec
=
irq
&
0xff
;
if
(
ivec
==
SGI_UART_VECTOR
)
{
if
(
ivec
==
SGI_UART_VECTOR
)
{
...
@@ -115,7 +118,8 @@ sn_end_irq(unsigned int irq)
...
@@ -115,7 +118,8 @@ sn_end_irq(unsigned int irq)
}
}
__clear_bit
(
ivec
,
(
volatile
void
*
)
pda
->
sn_in_service_ivecs
);
__clear_bit
(
ivec
,
(
volatile
void
*
)
pda
->
sn_in_service_ivecs
);
if
(
sn_force_interrupt_flag
)
if
(
sn_force_interrupt_flag
)
force_interrupt
(
irq
);
if
(
!
(
status
&
(
IRQ_DISABLED
|
IRQ_INPROGRESS
)))
force_interrupt
(
irq
);
}
}
static
void
static
void
...
...
include/asm-ia64/pgtable.h
View file @
1daa1f21
...
@@ -147,8 +147,8 @@
...
@@ -147,8 +147,8 @@
#define __P011 PAGE_READONLY
/* ditto */
#define __P011 PAGE_READONLY
/* ditto */
#define __P100 __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_X_RX)
#define __P100 __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_X_RX)
#define __P101 __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RX)
#define __P101 __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RX)
#define __P110 PAGE_COPY
#define __P110 PAGE_COPY
_EXEC
#define __P111 PAGE_COPY
#define __P111 PAGE_COPY
_EXEC
#define __S000 PAGE_NONE
#define __S000 PAGE_NONE
#define __S001 PAGE_READONLY
#define __S001 PAGE_READONLY
...
...
include/asm-ia64/sn/sn_sal.h
View file @
1daa1f21
...
@@ -288,7 +288,7 @@ ia64_sn_plat_specific_err_print(int (*hook)(const char*, ...), char *rec)
...
@@ -288,7 +288,7 @@ ia64_sn_plat_specific_err_print(int (*hook)(const char*, ...), char *rec)
ret_stuff
.
v0
=
0
;
ret_stuff
.
v0
=
0
;
ret_stuff
.
v1
=
0
;
ret_stuff
.
v1
=
0
;
ret_stuff
.
v2
=
0
;
ret_stuff
.
v2
=
0
;
SAL_CALL_
NOLOCK
(
ret_stuff
,
SN_SAL_PRINT_ERROR
,
(
uint64_t
)
hook
,
(
uint64_t
)
rec
,
0
,
0
,
0
,
0
,
0
);
SAL_CALL_
REENTRANT
(
ret_stuff
,
SN_SAL_PRINT_ERROR
,
(
uint64_t
)
hook
,
(
uint64_t
)
rec
,
0
,
0
,
0
,
0
,
0
);
return
ret_stuff
.
status
;
return
ret_stuff
.
status
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment