aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/mmio-mod.c
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2008-05-12 15:21:14 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 05:27:47 -0400
commit790e2a290b499b0400254e6870ec27969065d122 (patch)
tree0c6b0e7d6b0db645e84c9dbb54ccab428f3d74a8 /arch/x86/mm/mmio-mod.c
parenta50445d76c22a34ae149704ea5adaef171c8acb7 (diff)
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,
137 137
138static void print_pte(unsigned long address) 138static void print_pte(unsigned long address)
139{ 139{
140 int level; 140 unsigned int level;
141 pte_t *pte = lookup_address(address, &level); 141 pte_t *pte = lookup_address(address, &level);
142 142
143 if (!pte) { 143 if (!pte) {