Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45370
b: refs/heads/master
c: 8404e65
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Jan 9, 2007
1 parent 67204dd commit b5479f6
Show file tree
Hide file tree
Showing 2 changed files with 11 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: d9523aa157e9fbb93467dcd0d1bed9604153bf7f
refs/heads/master: 8404e654300cb807428b839d5ae56fd45b5acb92
11 changes: 10 additions & 1 deletion trunk/arch/powerpc/platforms/iseries/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,20 @@
#include <asm/processor.h>
#include <asm/time.h>
#include <asm/lppaca.h>
#include <asm/firmware.h>
#include <asm/iseries/hv_call_xm.h>

#include "processor_vpd.h"
#include "main_store.h"

static int __init iseries_proc_create(void)
{
struct proc_dir_entry *e = proc_mkdir("iSeries", 0);
struct proc_dir_entry *e;

if (!firmware_has_feature(FW_FEATURE_ISERIES))
return 0;

e = proc_mkdir("iSeries", 0);
if (!e)
return 1;

Expand Down Expand Up @@ -106,6 +112,9 @@ static int __init iseries_proc_init(void)
{
struct proc_dir_entry *e;

if (!firmware_has_feature(FW_FEATURE_ISERIES))
return 0;

e = create_proc_entry("iSeries/titanTod", S_IFREG|S_IRUGO, NULL);
if (e)
e->proc_fops = &proc_titantod_operations;
Expand Down

0 comments on commit b5479f6

Please sign in to comment.