Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45371
b: refs/heads/master
c: 13d2c9b
h: refs/heads/master
i:
  45369: 67204dd
  45367: 821ca6a
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Jan 9, 2007
1 parent b5479f6 commit f52a62c
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: 8404e654300cb807428b839d5ae56fd45b5acb92
refs/heads/master: 13d2c9bbb09e37e8a231a36b279a97861d6d5407
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/platforms/iseries/lpevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <asm/system.h>
#include <asm/paca.h>
#include <asm/firmware.h>
#include <asm/iseries/it_lp_queue.h>
#include <asm/iseries/hv_lp_event.h>
#include <asm/iseries/hv_call_event.h>
Expand Down Expand Up @@ -318,6 +319,9 @@ static int __init proc_lpevents_init(void)
{
struct proc_dir_entry *e;

if (!firmware_has_feature(FW_FEATURE_ISERIES))
return 0;

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

0 comments on commit f52a62c

Please sign in to comment.