Skip to contentSkip to conversation

Blackfin updates for 2.6.36-rc2

PATCH In review Mike Frysinger 1 participant 5 messages Aug 23, 2010 Bitops API

lore
Share & tools
lore
#0 lore raw

cover Blackfin updates for 2.6.36-rc2

Fix breakage/warnings introduced by post 2.6.35 commits, and add maintainers entries for ADI ASoC drivers. Pretty straight forward.

Mike Frysinger (3):
Blackfin: fix hweight breakage
ADI/ASoC: add MAINTAINERS entries
Blackfin: wire up new fanotify/prlimit64 syscalls

 MAINTAINERS                        |   11 +++++++++++
 arch/blackfin/include/asm/bitops.h |   17 ++++++++++-------
 arch/blackfin/include/asm/unistd.h |    5 ++++-
 arch/blackfin/mach-common/entry.S  |    3 +++
 4 files changed, 28 insertions(+), 8 deletions(-)
Signature · 1 line
1.7.2
#1 lore raw

PATCH 1/3 Blackfin: fix hweight breakage

The recent commit to add constant optimization to hweight implicitly broke the Blackfin arch. Seems we were missed when all the other arches were fixed with renames.

---
 arch/blackfin/include/asm/bitops.h |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)
arch/blackfin/include/asm/bitops.h +10 -7
index d5872cd..3f7ef4d 100644
@@ -22,7 +22,9 @@
 
 #include <asm-generic/bitops/sched.h>
 #include <asm-generic/bitops/ffs.h>
+#include <asm-generic/bitops/const_hweight.h>
 #include <asm-generic/bitops/lock.h>
+
 #include <asm-generic/bitops/ext2-non-atomic.h>
 #include <asm-generic/bitops/ext2-atomic.h>
 #include <asm-generic/bitops/minix.h>
@@ -115,7 +117,7 @@ static inline int test_and_change_bit(int nr, volatile unsigned long *addr)
  * of bits set) of a N-bit word
  */
 
-static inline unsigned int hweight32(unsigned int w)
+static inline unsigned int __arch_hweight32(unsigned int w)
 {
 	unsigned int res;
 
@@ -125,19 +127,20 @@ static inline unsigned int hweight32(unsigned int w)
 	return res;
 }
 
-static inline unsigned int hweight64(__u64 w)
+static inline unsigned int __arch_hweight64(__u64 w)
 {
-	return hweight32((unsigned int)(w >> 32)) + hweight32((unsigned int)w);
+	return __arch_hweight32((unsigned int)(w >> 32)) +
+	       __arch_hweight32((unsigned int)w);
 }
 
-static inline unsigned int hweight16(unsigned int w)
+static inline unsigned int __arch_hweight16(unsigned int w)
 {
-	return hweight32(w & 0xffff);
+	return __arch_hweight32(w & 0xffff);
 }
 
-static inline unsigned int hweight8(unsigned int w)
+static inline unsigned int __arch_hweight8(unsigned int w)
 {
-	return hweight32(w & 0xff);
+	return __arch_hweight32(w & 0xff);
 }
 
 #endif				/* _BLACKFIN_BITOPS_H */
Signature · 1 line
1.7.2
#2 lore raw

PATCH 2/3 ADI/ASoC: add MAINTAINERS entries

In reply to Mike Frysinger
---
 MAINTAINERS |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
MAINTAINERS +11 -0
index 433f353..a1df54b 100644
@@ -454,6 +454,17 @@ L:	[email protected]
 S:	Maintained
 F:	drivers/infiniband/hw/amso1100/
 
+ANALOG DEVICES INC ASOC DRIVERS
+L:	[email protected]
+L:	[email protected] (moderated for non-subscribers)
+W:	http://blackfin.uclinux.org/
+S:	Supported
+F:	sound/soc/blackfin/*
+F:	sound/soc/codecs/ad1*
+F:	sound/soc/codecs/adau*
+F:	sound/soc/codecs/adav*
+F:	sound/soc/codecs/ssm*
+
 AOA (Apple Onboard Audio) ALSA DRIVER
 M:	Johannes Berg <[email protected]>
 L:	[email protected]
Signature · 1 line
1.7.2
#3 lore raw

PATCH 3/3 Blackfin: wire up new fanotify/prlimit64 syscalls

In reply to Mike Frysinger
---
 arch/blackfin/include/asm/unistd.h |    5 ++++-
 arch/blackfin/mach-common/entry.S  |    3 +++
 2 files changed, 7 insertions(+), 1 deletions(-)
arch/blackfin/include/asm/unistd.h +4 -1
index 22886cb..14fcd25 100644
@@ -389,8 +389,11 @@
 #define __NR_rt_tgsigqueueinfo	368
 #define __NR_perf_event_open	369
 #define __NR_recvmmsg		370
+#define __NR_fanotify_init	371
+#define __NR_fanotify_mark	372
+#define __NR_prlimit64		373
 
-#define __NR_syscall		371
+#define __NR_syscall		374
 #define NR_syscalls		__NR_syscall
 
 /* Old optional stuff no one actually uses */
arch/blackfin/mach-common/entry.S +3 -0
index a5847f5..af1bffa 100644
@@ -1628,6 +1628,9 @@ ENTRY(_sys_call_table)
 	.long _sys_rt_tgsigqueueinfo
 	.long _sys_perf_event_open
 	.long _sys_recvmmsg		/* 370 */
+	.long _sys_fanotify_init
+	.long _sys_fanotify_mark
+	.long _sys_prlimit64
 
 	.rept NR_syscalls-(.-_sys_call_table)/4
 	.long _sys_ni_syscall
Signature · 1 line
1.7.2
#4 lore raw

Pull request blackfin.git (for-linus branch)

In reply to Mike Frysinger

The following changes since commit 9ee47476d6734c9deb9ae9ab05d963302f6b6150:

Merge branch 'radix-tree' of git://git.kernel.org/pub/scm/linux/kernel/git/dgc/xfsdev (2010-08-22 19:55:14 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin.git for-linus

Mike Frysinger (3):
Blackfin: fix hweight breakage
ADI/ASoC: add MAINTAINERS entries
Blackfin: wire up new fanotify/prlimit64 syscalls

 MAINTAINERS                        |   11 +++++++++++
 arch/blackfin/include/asm/bitops.h |   17 ++++++++++-------
 arch/blackfin/include/asm/unistd.h |    5 ++++-
 arch/blackfin/mach-common/entry.S  |    3 +++
 4 files changed, 28 insertions(+), 8 deletions(-)