]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: oprofile/op_model_amd.c set return values for op_amd_handle_ibs()
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Thu, 18 Jun 2009 11:39:27 +0000 (17:09 +0530)
committerRobert Richter <robert.richter@amd.com>
Thu, 18 Jun 2009 14:44:38 +0000 (16:44 +0200)
commit21e70878215f620fe99ea7d7c74bc641aeec932f
tree191c16a40839ebe3428edfdc453d95f8b49df44a
parent802070f5474af1a49435a9528aede47bb18abd47
x86: oprofile/op_model_amd.c set return values for op_amd_handle_ibs()

op_amd_handle_ibs() should return 0 when IBS is not present or not defined.

Fix compilation warning:
 CC [M]  arch/x86/oprofile/op_model_amd.o
 arch/x86/oprofile/op_model_amd.c: In function ‘op_amd_handle_ibs’:
 arch/x86/oprofile/op_model_amd.c:217: warning: no return statement in function returning non-void

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/op_model_amd.c