patch-2.4.15 linux/include/asm-ppc/machdep.h

Next file: linux/include/asm-ppc/pgtable.h
Previous file: linux/include/asm-parisc/pgtable.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/include/asm-ppc/machdep.h linux/include/asm-ppc/machdep.h
@@ -1,5 +1,5 @@
 /*
- * BK Id: SCCS/s.machdep.h 1.23 10/18/01 11:16:28 trini
+ * BK Id: SCCS/s.machdep.h 1.25 11/13/01 21:26:07 paulus
  */
 #ifdef __KERNEL__
 #ifndef _PPC_MACHDEP_H
@@ -14,13 +14,13 @@
 struct pt_regs;
 struct pci_bus;	
 struct pci_dev;
+struct seq_file;
 
 struct machdep_calls {
 	void		(*setup_arch)(void);
 	/* Optional, may be NULL. */
-	int		(*setup_residual)(char *buffer);
-	/* Optional, may be NULL. */
-	int		(*get_cpuinfo)(char *buffer);
+	int		(*show_cpuinfo)(struct seq_file *m);
+	int		(*show_percpuinfo)(struct seq_file *m, int i);
 	/* Optional, may be NULL. */
 	unsigned int	(*irq_cannonicalize)(unsigned int irq);
 	void		(*init_IRQ)(void);

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