Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118044
b: refs/heads/master
c: b7f7b07
h: refs/heads/master
v: v3
  • Loading branch information
Dean Nelson authored and Linus Torvalds committed Oct 30, 2008
1 parent ba5ee48 commit 348ffd7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d25141a818383b3c3b09f065698c544a7a0ec6e7
refs/heads/master: b7f7b07479de2d91443b81938db1e1940c56b13c
4 changes: 2 additions & 2 deletions trunk/drivers/misc/sgi-xp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
obj-$(CONFIG_SGI_XP) += xp.o
xp-y := xp_main.o
xp-$(CONFIG_IA64_SGI_SN2) += xp_sn2.o xp_nofault.o
xp-$(CONFIG_IA64_GENERIC) += xp_sn2.o xp_nofault.o xp_uv.o
xp-$(CONFIG_IA64_GENERIC) += xp_sn2.o xp_nofault.o
xp-$(CONFIG_IA64_SGI_UV) += xp_uv.o
xp-$(CONFIG_X86_64) += xp_uv.o

obj-$(CONFIG_SGI_XP) += xpc.o
xpc-y := xpc_main.o xpc_channel.o xpc_partition.o
xpc-$(CONFIG_IA64_SGI_SN2) += xpc_sn2.o
xpc-$(CONFIG_IA64_GENERIC) += xpc_sn2.o xpc_uv.o
xpc-$(CONFIG_IA64_GENERIC) += xpc_sn2.o
xpc-$(CONFIG_IA64_SGI_UV) += xpc_uv.o
xpc-$(CONFIG_X86_64) += xpc_uv.o

Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/misc/sgi-xp/xp.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
#include <asm/system.h>
#include <asm/sn/arch.h> /* defines is_shub1() and is_shub2() */
#define is_shub() ia64_platform_is("sn2")
#ifdef CONFIG_IA64_SGI_UV
#define is_uv() ia64_platform_is("uv")
#else
#define is_uv() 0
#endif
#endif
#ifdef CONFIG_X86_64
#include <asm/genapic.h>
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/misc/sgi-xp/xpc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ xpc_do_exit(enum xp_retval reason)

if (is_shub())
xpc_exit_sn2();
else
else if (is_uv())
xpc_exit_uv();
}

Expand Down Expand Up @@ -1363,7 +1363,7 @@ xpc_init(void)
out_1:
if (is_shub())
xpc_exit_sn2();
else
else if (is_uv())
xpc_exit_uv();
return ret;
}
Expand Down

0 comments on commit 348ffd7

Please sign in to comment.