From: Nathan Lynch Date: Thu, 7 Dec 2006 00:50:45 +0000 (-0600) Subject: [POWERPC] Add rtas_service_present() helper X-Git-Tag: v2.6.20-rc1~146^2~14^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2d6d2d8bb4e9bb4aef225c149e42cac3ac3d4d0;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed