lkml.org 
[lkml]   [2006]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRe: [PATCH 3/4] aic7xxx: remove excessive inlining
    Date
    On Sunday 13 August 2006 15:03, Denis Vlasenko wrote:
    > On Sunday 13 August 2006 15:02, Denis Vlasenko wrote:
    > > Basically, patches deinline some functions, mainly those
    > > which perform port I/O.
    >
    > ahd_suspend/resume are not used. #ifdef them out.

    I forgot to attach the file. :(
    --
    vda
    diff -urpN -U4 linux-2.6.17.8.aic2/drivers/scsi/aic7xxx/aic79xx_core.c linux-2.6.17.8.aic3/drivers/scsi/aic7xxx/aic79xx_core.c
    --- linux-2.6.17.8.aic2/drivers/scsi/aic7xxx/aic79xx_core.c 2006-08-13 12:01:38.000000000 +0200
    +++ linux-2.6.17.8.aic3/drivers/scsi/aic7xxx/aic79xx_core.c 2006-08-13 12:01:42.000000000 +0200
    @@ -7681,8 +7681,9 @@ ahd_pause_and_flushwork(struct ahd_softc

    ahd->flags &= ~AHD_ALL_INTERRUPTS;
    }

    +#ifdef UNUSED
    int
    ahd_suspend(struct ahd_softc *ahd)
    {

    @@ -7704,16 +7705,17 @@ ahd_resume(struct ahd_softc *ahd)
    ahd_intr_enable(ahd, TRUE);
    ahd_restart(ahd);
    return (0);
    }
    +#endif

    /************************** Busy Target Table *********************************/
    /*
    * Set SCBPTR to the SCB that contains the busy
    * table entry for TCL. Return the offset into
    * the SCB that contains the entry for TCL.
    * saved_scbid is dereferenced and set to the
    - * scbid that should be restored once manipualtion
    + * scbid that should be restored once manipulation
    * of the TCL entry is complete.
    */
    static u_int
    ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl)
    \
     
     \ /
      Last update: 2006-08-13 15:09    [W:0.024 / U:126.088 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site