diff options
author | 2009-04-09 15:07:29 +0200 | |
---|---|---|
committer | 2009-04-10 14:21:42 +0200 | |
commit | 845d8c761ec763871936c62b837c4a9ea6d0fbdb (patch) | |
tree | 5ce2589da0c32327ce35fdb4126b64d1da23b99c /lib/fault-inject.c | |
parent | x86: cacheinfo: use L3 cache index disable feature only for CPUs that support it (diff) | |
download | wireguard-linux-845d8c761ec763871936c62b837c4a9ea6d0fbdb.tar.xz wireguard-linux-845d8c761ec763871936c62b837c4a9ea6d0fbdb.zip |
x86: cacheinfo: correct return value when cache_disable feature is not active
Impact: bug fix
If user writes to "cache_disable" attribute on a CPU that does not support
this feature, the process hangs due to an invalid return value in
store_cache_disable().
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mark Langsdorf <mark.langsdorf@amd.com>
LKML-Reference: <20090409130729.GH31527@alberich.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions