lkml.org 
[lkml]   [2003]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH] compilation fix: spin_lock_irqsave uses unsigned long
    diff -u --recursive --new-file -X /linux/dontdiff a/drivers/block/paride/pcd.c b/drivers/block/paride/pcd.c
    --- a/drivers/block/paride/pcd.c Tue Apr 8 09:36:36 2003
    +++ b/drivers/block/paride/pcd.c Sun Apr 20 19:55:24 2003
    @@ -761,7 +761,7 @@

    static inline void next_request(int success)
    {
    - long saved_flags;
    + unsigned long saved_flags;

    spin_lock_irqsave(&pcd_lock, saved_flags);
    end_request(pcd_req, success);
    diff -u --recursive --new-file -X /linux/dontdiff a/drivers/block/paride/pd.c b/drivers/block/paride/pd.c
    --- a/drivers/block/paride/pd.c Tue Apr 8 09:36:36 2003
    +++ b/drivers/block/paride/pd.c Sun Apr 20 19:54:47 2003
    @@ -757,7 +757,7 @@

    static int pd_next_buf(void)
    {
    - long saved_flags;
    + unsigned long saved_flags;

    pd_count--;
    pd_run--;
    @@ -777,7 +777,7 @@

    static inline void next_request(int success)
    {
    - long saved_flags;
    + unsigned long saved_flags;

    spin_lock_irqsave(&pd_lock, saved_flags);
    end_request(pd_req, success);
    diff -u --recursive --new-file -X /linux/dontdiff a/drivers/block/paride/pf.c b/drivers/block/paride/pf.c
    --- a/drivers/block/paride/pf.c Sun Apr 20 12:59:31 2003
    +++ b/drivers/block/paride/pf.c Sun Apr 20 19:57:04 2003
    @@ -812,7 +812,7 @@

    static int pf_next_buf(void)
    {
    - long saved_flags;
    + unsigned long saved_flags;

    pf_count--;
    pf_run--;
    @@ -832,7 +832,8 @@

    static inline void next_request(int success)
    {
    - long saved_flags;
    + unsigned long saved_flags;
    +
    spin_lock_irqsave(&pf_spin_lock, saved_flags);
    end_request(pf_req, success);
    pf_busy = 0;
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2005-03-22 13:34    [W:0.038 / U:32.028 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site