]> err.no Git - linux-2.6/blobdiff - include/asm-ppc/machdep.h
[PATCH] nfsd4: rename lk_stateowner
[linux-2.6] / include / asm-ppc / machdep.h
index 6c6d23abbe916ac03ed1147d0ed45b6140800fd8..39200def8d116fc0c8e1043a242007e80b65182a 100644 (file)
@@ -35,8 +35,10 @@ struct machdep_calls {
        int             (*get_irq)(struct pt_regs *);
        
        /* A general init function, called by ppc_init in init/main.c.
-          May be NULL. */
+          May be NULL. DEPRECATED ! */
        void            (*init)(void);
+       /* For compatibility with merged platforms */
+       void            (*init_early)(void);
 
        void            (*restart)(char *cmd);
        void            (*power_off)(void);
@@ -98,7 +100,7 @@ struct machdep_calls {
 
        /* Get access protection for /dev/mem */
        pgprot_t        (*phys_mem_access_prot)(struct file *file,
-                                               unsigned long offset,
+                                               unsigned long pfn,
                                                unsigned long size,
                                                pgprot_t vma_prot);