1. 23 3月, 2011 3 次提交
  2. 16 3月, 2011 10 次提交
  3. 31 1月, 2011 1 次提交
    • J
      [S390] qdio: prevent compile warning under CONFIG_32BIT · 6fa1098a
      Jan Glauber 提交于
      Prevent the following compiler warning if compiling a 31 bit kernel:
      
      drivers/s390/cio/qdio_main.c: In function ‘get_outbound_buffer_frontier’:
      drivers/s390/cio/qdio_main.c:646:16: warning: ‘state’ may be used uninitialized in this function
        CC      lib/radix-tree.o
        CC      drivers/s390/scsi/zfcp_cfdc.o
      drivers/s390/cio/qdio_main.c: In function ‘qdio_inbound_q_moved’:
      drivers/s390/cio/qdio_main.c:479:16: warning: ‘state’ may be used uninitialized in this function
      drivers/s390/cio/qdio_main.c:479:16: note: ‘state’ was declared here
      Signed-off-by: NJan Glauber <jang@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      6fa1098a
  4. 12 1月, 2011 1 次提交
  5. 05 1月, 2011 11 次提交
  6. 17 12月, 2010 1 次提交
    • C
      drivers: Replace __get_cpu_var with __this_cpu_read if not used for an address. · 4a6f4fe8
      Christoph Lameter 提交于
      __get_cpu_var() can be replaced with this_cpu_read and will then use a single
      read instruction with implied address calculation to access the correct per cpu
      instance.
      
      However, the address of a per cpu variable passed to __this_cpu_read() cannot be
      determed (since its an implied address conversion through segment prefixes).
      Therefore apply this only to uses of __get_cpu_var where the addres of the
      variable is not used.
      
      V3->V4:
      	- Move one instance of this_cpu_inc_return to a later patch
      	  so that this one can go in without percpu infrastructrure
      	  changes.
      
      Sedat: fixed compile failure caused by an extra ')'.
      
      Cc: Neil Horman <nhorman@tuxdriver.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Sedat Dilek <sedat.dilek@gmail.com>
      Acked-by: NH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: NChristoph Lameter <cl@linux.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      4a6f4fe8
  7. 01 12月, 2010 1 次提交
  8. 25 11月, 2010 1 次提交
  9. 10 11月, 2010 1 次提交
  10. 25 10月, 2010 10 次提交