Skip to content
Snippets Groups Projects
  1. Oct 20, 2010
  2. Oct 19, 2010
  3. Oct 18, 2010
  4. Oct 17, 2010
  5. Oct 16, 2010
  6. Oct 15, 2010
    • Eric Paris's avatar
      types.h: define __aligned_u64 and expose to userspace · 79b5dc0c
      Eric Paris authored
      
      We currently have a kernel internal type called aligned_u64 which aligns
      __u64's on 8 bytes boundaries even on systems which would normally align
      them on 4 byte boundaries.  This patch creates a new type __aligned_u64
      which does the same thing but which is exposed to userspace rather than
      being kernel internal.
      
      [akpm: merge early as both the net and audit trees want this]
      
      [akpm@linux-foundation.org: enhance the comment describing the reasons for using aligned_u64.  Via Andreas and Andi.]
      Based-on-patch-by: default avatarAndreas Gruenbacher <agruen@suse.de>
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Cc: Jan Engelhardt <jengelh@medozas.de>
      Cc: David Miller <davem@davemloft.net>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      79b5dc0c
    • FUJITA Tomonori's avatar
      uml: fix build · e3c6cf61
      FUJITA Tomonori authored
      
      Fix a build error introduced by d6d1b650 ("param: simple
      locking for sysfs-writable charp parameters").
      
          CC      arch/um/kernel/trap.o
        arch/um/drivers/hostaudio_kern.c: In function 'hostaudio_open':
        arch/um/drivers/hostaudio_kern.c:204: error: '__param_dsp' undeclared (first use in this function)
        arch/um/drivers/hostaudio_kern.c:204: error: (Each undeclared identifier is reported only once
        arch/um/drivers/hostaudio_kern.c:204: error: for each function it appears in.)
        arch/um/drivers/hostaudio_kern.c: In function 'hostmixer_open_mixdev':
        arch/um/drivers/hostaudio_kern.c:265: error: '__param_mixer' undeclared (first use in this function)
        arch/um/drivers/hostaudio_kern.c:272: error: '__param_dsp' undeclared (first use in this function)
      
      Reported-by: default avatarToralf Förster <toralf.foerster@gmx.de>
      Tested-by: default avatarToralf Förster <toralf.foerster@gmx.de>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Takashi Iwai <tiwai@suse.de>
      Cc: Jeff Dike <jdike@addtoit.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e3c6cf61
Loading