summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-02-22 10:24:18 +0100
committerIngo Molnar <mingo@elte.hu>2009-02-22 10:24:18 +0100
commitb319eed0aa0a6d710887350a3cb734c572aa64c4 (patch)
tree0519c62ea3c24dd05c83eee65c20394e47efe177 /arch/x86
parentf8eeb2e6be367d79be3617f0a12646bced8b2fe6 (diff)
downloadlinux-b319eed0aa0a6d710887350a3cb734c572aa64c4.tar.gz
x86, mm: fault.c, simplify kmmio_fault(), cleanup
Clarify the kmmio_fault() comment. Acked-by: Pekka Paalanen <pq@iki.fi> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/mm/fault.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index 9bb07d331c3b..a03b7279efa0 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -57,7 +57,8 @@ enum x86_pf_error_code {
};
/*
- * (returns 0 if mmiotrace is disabled)
+ * Returns 0 if mmiotrace is disabled, or if the fault is not
+ * handled by mmiotrace:
*/
static inline int kmmio_fault(struct pt_regs *regs, unsigned long addr)
{