Merge branch 'pm-cpufreq'
[cascardo/linux.git] / arch / alpha / lib / ev6-memchr.S
index a8e843d..419adc5 100644 (file)
@@ -27,7 +27,7 @@
  *     L       - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
  * Try not to change the actual algorithm if possible for consistency.
  */
-
+#include <asm/export.h>
         .set noreorder
         .set noat
 
@@ -84,7 +84,7 @@ $last_quad:
         beq     $2, $not_found # U : U L U L
 
 $found_it:
-#if defined(__alpha_fix__) && defined(__alpha_cix__)
+#ifdef CONFIG_ALPHA_EV67
        /*
         * Since we are guaranteed to have set one of the bits, we don't
         * have to worry about coming back with a 0x40 out of cttz...
@@ -189,3 +189,4 @@ $not_found:
        ret                     # L0 :
 
         .end memchr
+       EXPORT_SYMBOL(memchr)