Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44223
b: refs/heads/master
c: f2d6d2d
h: refs/heads/master
i:
  44221: 882dfe7
  44219: 27ec73e
  44215: 4238433
  44207: efa42e5
  44191: 5ade71f
  44159: ee8aaf5
v: v3
  • Loading branch information
Nathan Lynch authored and Paul Mackerras committed Dec 8, 2006
1 parent 9c8715b commit aaa6438
Show file tree
Hide file tree
Showing 3 changed files with 8 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: 9d9d868ecf93b35c3c5b0ea3d639dc85e423eb02
refs/heads/master: f2d6d2d8bb4e9bb4aef225c149e42cac3ac3d4d0
6 changes: 6 additions & 0 deletions trunk/arch/powerpc/kernel/rtas.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,12 @@ int rtas_token(const char *service)
}
EXPORT_SYMBOL(rtas_token);

int rtas_service_present(const char *service)
{
return rtas_token(service) != RTAS_UNKNOWN_SERVICE;
}
EXPORT_SYMBOL(rtas_service_present);

#ifdef CONFIG_RTAS_ERROR_LOGGING
/*
* Return the firmware-specified size of the error log buffer
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-powerpc/rtas.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ extern struct rtas_t rtas;

extern void enter_rtas(unsigned long);
extern int rtas_token(const char *service);
extern int rtas_service_present(const char *service);
extern int rtas_call(int token, int, int, int *, ...);
extern void rtas_restart(char *cmd);
extern void rtas_power_off(void);
Expand Down

0 comments on commit aaa6438

Please sign in to comment.