From: Ingo Molnar Date: Fri, 17 Oct 2008 14:09:57 +0000 (+0200) Subject: x86: fix default_spin_lock_flags() prototype X-Git-Tag: v2.6.28-rc8~42^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=087052b02f42b50316c6e4d7f2d8dfba3de6fc2e;p=pandora-kernel.git x86: fix default_spin_lock_flags() prototype these warnings: arch/x86/kernel/paravirt-spinlocks.c: In function ‘default_spin_lock_flags’: arch/x86/kernel/paravirt-spinlocks.c:12: warning: passing argument 1 of ‘__raw_spin_lock’ from incompatible pointer type arch/x86/kernel/paravirt-spinlocks.c: At top level: arch/x86/kernel/paravirt-spinlocks.c:11: warning: ‘default_spin_lock_flags’ defined but not used showed that the prototype of default_spin_lock_flags() was confused about what type spinlocks have. the proper type on UP is raw_spinlock_t. Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed