diff options
author | Pekka Paalanen <pq@iki.fi> | 2008-05-12 21:21:14 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-24 11:27:47 +0200 |
commit | 790e2a290b499b0400254e6870ec27969065d122 (patch) | |
tree | 0c6b0e7d6b0db645e84c9dbb54ccab428f3d74a8 /arch/x86/mm/mmio-mod.c | |
parent | a50445d76c22a34ae149704ea5adaef171c8acb7 (diff) | |
download | talos-obmc-linux-790e2a290b499b0400254e6870ec27969065d122.tar.gz talos-obmc-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.c | 2 |
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) { |