summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Deller2009-01-13 20:52:46 +0100
committerKyle McMartin2009-03-13 06:17:37 +0100
commite448372c79c49ef80df23496339ce0915abef76e (patch)
tree71abea98c85e36c37261c1a92720dcb50408c39c
parentparisc: fix section mismatch warnings (diff)
downloadkernel-qcow2-linux-e448372c79c49ef80df23496339ce0915abef76e.tar.gz
kernel-qcow2-linux-e448372c79c49ef80df23496339ce0915abef76e.tar.xz
kernel-qcow2-linux-e448372c79c49ef80df23496339ce0915abef76e.zip
parisc: fix `struct pt_regs' declared inside parameter list warning
Fix those compile warnings: uaccess.h:244: warning: `struct pt_regs' declared inside parameter list uaccess.h:244: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
-rw-r--r--arch/parisc/include/asm/uaccess.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/uaccess.h b/arch/parisc/include/asm/uaccess.h
index 1c6dbb6f6e56..cd4c0b2a8e70 100644
--- a/arch/parisc/include/asm/uaccess.h
+++ b/arch/parisc/include/asm/uaccess.h
@@ -241,6 +241,7 @@ unsigned long copy_in_user(void __user *dst, const void __user *src, unsigned lo
#define __copy_to_user_inatomic __copy_to_user
#define __copy_from_user_inatomic __copy_from_user
+struct pt_regs;
int fixup_exception(struct pt_regs *regs);
#endif /* __PARISC_UACCESS_H */