patch-2.3.49 linux/arch/arm/mm/fault-armv.c

Next file: linux/arch/arm/mm/fault-common.c
Previous file: linux/arch/arm/mm/consistent.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/arch/arm/mm/fault-armv.c linux/arch/arm/mm/fault-armv.c
@@ -351,7 +351,7 @@
 
 #endif
 
-static struct fsr_info {
+static const struct fsr_info {
 	int	(*fn)(unsigned long addr, int error_code, struct pt_regs *regs);
 	int	sig;
 	char	*name;
@@ -384,7 +384,7 @@
 asmlinkage void
 do_DataAbort(unsigned long addr, int fsr, int error_code, struct pt_regs *regs)
 {
-	struct fsr_info *inf;
+	const struct fsr_info *inf;
 
 	if (user_mode(regs) && addr == regs->ARM_pc) {
 		static int first = 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)