summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/mmio-mod.c
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2008-05-12 21:21:14 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 11:27:47 +0200
commit790e2a290b499b0400254e6870ec27969065d122 (patch)
tree0c6b0e7d6b0db645e84c9dbb54ccab428f3d74a8 /arch/x86/mm/mmio-mod.c
parentmmiotrace: rename kmmio_probe::user_data to :private. (diff)
downloadlinux-790e2a290b499b0400254e6870ec27969065d122.tar.xz
linux-790e2a290b499b0400254e6870ec27969065d122.zip
x86 mmiotrace: page level is unsigned
Fixes some sparse warnings. Signed-off-by: Pekka Paalanen <pq@iki.fi> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/mmio-mod.c')
-rw-r--r--arch/x86/mm/mmio-mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/mmio-mod.c b/arch/x86/mm/mmio-mod.c
index ed0e0e90b3ef..e7397e108beb 100644
--- a/arch/x86/mm/mmio-mod.c
+++ b/arch/x86/mm/mmio-mod.c
@@ -137,7 +137,7 @@ static ssize_t write_marker(struct file *file, const char __user *buffer,
static void print_pte(unsigned long address)
{
- int level;
+ unsigned int level;
pte_t *pte = lookup_address(address, &level);
if (!pte) {