Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33123
b: refs/heads/master
c: c7c1742
h: refs/heads/master
i:
  33121: 8b6a923
  33119: 009a80c
v: v3
  • Loading branch information
Greg Edwards authored and Tony Luck committed Aug 2, 2006
1 parent 6037042 commit 1042b18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: e037cda559547e6353c5a792802963572d0b750e
refs/heads/master: c7c17423b9ea3c5559cfb480a00844f1df9eed06
7 changes: 6 additions & 1 deletion trunk/drivers/char/snsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,12 @@ scdrv_init(void)
struct sysctl_data_s *scd;
void *salbuf;
dev_t first_dev, dev;
nasid_t event_nasid = ia64_sn_get_console_nasid();
nasid_t event_nasid;

if (!ia64_platform_is("sn2"))
return -ENODEV;

event_nasid = ia64_sn_get_console_nasid();

if (alloc_chrdev_region(&first_dev, 0, num_cnodes,
SYSCTL_BASENAME) < 0) {
Expand Down

0 comments on commit 1042b18

Please sign in to comment.