History

Merge master.kernel.org:/home/rmk/linux-2.6-arm

Linus Torvalds committed 21 years ago

Commit dd41bf92 parents 70ab81c 7edc24c2 files · +2 −1Browse files

Unified · Split

2 files
  1. arch/arm/mach-pxa/corgi_lcd.c +2 −0
  2. include/asm-arm/bitops.h +0 −1
arch/arm/mach-pxa/corgi_lcd.c+2−0
@@ -488,6 +488,7 @@ static int is_pxafb_device(struct device * dev, void * data) · 487 unmodified lines
488488
489489 unsigned long spitz_get_hsync_len(void)
490490 {
491+#ifdef CONFIG_FB_PXA
491492 if (!spitz_pxafb_dev) {
492493 spitz_pxafb_dev = bus_find_device(&platform_bus_type, NULL, NULL, is_pxafb_device);
493494 if (!spitz_pxafb_dev)
@@ -496,6 +497,7 @@ unsigned long spitz_get_hsync_len(void) · 2 unmodified lines
496497 if (!get_hsync_time)
497498 get_hsync_time = symbol_get(pxafb_get_hsync_time);
498499 if (!get_hsync_time)
500+#endif
499501 return 0;
500502
501503 return pxafb_get_hsync_time(spitz_pxafb_dev);
include/asm-arm/bitops.h+0−1
@@ -347,7 +347,6 @@ static inline unsigned long __ffs(unsigned long word) · 346 unmodified lines
347347 * the clz instruction for much better code efficiency.
348348 */
349349
350−static __inline__ int generic_fls(int x);
351350 #define fls(x) \
352351 ( __builtin_constant_p(x) ? generic_fls(x) : \
353352 ({ int __r; asm("clz\t%0, %1" : "=r"(__r) : "r"(x) : "cc"); 32-__r; }) )