patch-2.3.50 linux/arch/ppc/kernel/ppc_htab.c

Next file: linux/arch/ppc/kernel/prom.c
Previous file: linux/arch/ppc/kernel/pmac_setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.49/linux/arch/ppc/kernel/ppc_htab.c linux/arch/ppc/kernel/ppc_htab.c
@@ -44,12 +44,6 @@
 extern unsigned long pte_misses;
 extern unsigned long pte_errors;
 
-struct file_operations ppc_htab_operations = {
-	llseek:		ppc_htab_lseek,
-	read:		ppc_htab_read,
-	write:		ppc_htab_write,
-};
-
 /* these will go into processor.h when I'm done debugging -- Cort */
 #define MMCR0 952
 #define MMCR0_PMC1_CYCLES (0x1<<7)
@@ -62,6 +56,12 @@
 
 #define PMC1 953
 #define PMC2 954
+
+struct file_operations ppc_htab_operations = {
+        llseek:         ppc_htab_lseek,
+        read:           ppc_htab_read,
+        write:          ppc_htab_write,
+};
 
 char *pmc1_lookup(unsigned long mmcr0)
 {

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