Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143490
b: refs/heads/master
c: 06aa05b
h: refs/heads/master
v: v3
  • Loading branch information
Russ Anderson authored and Ingo Molnar committed Apr 8, 2009
1 parent f758b9a commit 4a10a69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a891a24e4d0056c365a90ff2d71c38fd366b0d0
refs/heads/master: 06aa05b307e8efbc278f201198e7cdf3877bc5c2
4 changes: 4 additions & 0 deletions trunk/arch/x86/kernel/uv_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include <linux/sysdev.h>
#include <asm/uv/bios.h>
#include <asm/uv/uv.h>

struct kobject *sgi_uv_kobj;

Expand All @@ -47,6 +48,9 @@ static int __init sgi_uv_sysfs_init(void)
{
unsigned long ret;

if (!is_uv_system())
return -ENODEV;

if (!sgi_uv_kobj)
sgi_uv_kobj = kobject_create_and_add("sgi_uv", firmware_kobj);
if (!sgi_uv_kobj) {
Expand Down

0 comments on commit 4a10a69

Please sign in to comment.