kernel-ark/arch/powerpc
Nathan Lynch f2d6d2d8bb [POWERPC] Add rtas_service_present() helper
To test for the existence of an RTAS function, we typically do:

   foo_token = rtas_token("foo");
   if (foo_token == RTAS_UNKNOWN_SERVICE)
      return;

Add a rtas_service_present method, which provides a more conventional
boolean interface for testing the existence of an RTAS method.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-12-08 17:10:22 +11:00
..
boot
configs
kernel [POWERPC] Add rtas_service_present() helper 2006-12-08 17:10:22 +11:00
lib
math-emu
mm
oprofile
platforms [POWERPC] maple: Match "pcie" name for CPC945 2006-12-08 17:10:22 +11:00
sysdev [POWERPC] qe_ic: Do a sync when masking interrupts 2006-12-08 17:10:22 +11:00
xmon
.gitignore
Kconfig [POWERPC] maple: Select PPC_RTAS 2006-12-08 17:10:22 +11:00
Kconfig.debug
Makefile