Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2008 09:20:52 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/iicbus ad7418.c src/sys/sys sx.h
Message-ID:  <200808130921.m7D9Lr6C007979@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2008-08-13 09:20:52 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/iicbus       ad7418.c 
    sys/sys              sx.h 
  Log:
  SVN rev 181682 on 2008-08-13 09:20:52Z by ed
  
  Fix compilation of arm's AVILA.
  
  Compilation of the AVILA kernel failed because of two reasons:
  
  - It needed curthread, which is defined through <sys/pcpu.h>.
  
  - It still referred the softc's sc_mtx field, which has been replaced by
    sc_lock three weeks ago.
  
  To solve the first problem, I decided to include <sys/pcpu.h> in
  <sys/sx.h>, which also seems to be done by <sys/mutex.h> and
  <sys/rwlock.h>. Those header files also require curthread.
  
  Approved by:    jhb
  
  Revision  Changes    Path
  1.3       +1 -1      src/sys/dev/iicbus/ad7418.c
  1.39      +2 -1      src/sys/sys/sx.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808130921.m7D9Lr6C007979>