diff options
author | 2009-12-14 14:03:27 +0000 | |
---|---|---|
committer | 2009-12-14 10:10:55 -0800 | |
commit | 5185fb069972b653dd7177292e7510ff99d9e8aa (patch) | |
tree | f5380f93c457ab1fffa27a5a03ffee48106fbe60 /kernel/cpu.c | |
parent | Merge branch 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze (diff) | |
download | linux-dev-5185fb069972b653dd7177292e7510ff99d9e8aa.tar.xz linux-dev-5185fb069972b653dd7177292e7510ff99d9e8aa.zip |
FRV: Fix no-hardware-breakpoint case
If there is no hardware breakpoint support, modify_user_hw_breakpoint()
tries to return a NULL pointer through as an 'int' return value:
In file included from kernel/exit.c:53:
include/linux/hw_breakpoint.h: In function 'modify_user_hw_breakpoint':
include/linux/hw_breakpoint.h:96: warning: return makes integer from pointer without a cast
Return 0 instead.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions