Add linux/include/asm-generic to TAGS build

Add linux/include/asm-generic to TAGS build

Post by David Howell » Thu, 01 Aug 2002 23:00:16



Hi Linus,

This patch adds the contents of the include/asm-generic directory to the TAGS
file.

David

diff -uNr linux-2.5.29/Makefile linux-trace-2529/Makefile
--- linux-2.5.29/Makefile       Mon Jul 29 08:26:49 2002

 # ---------------------------------------------------------------------------

 TAGS: FORCE
-       { find include/asm-${ARCH} -name SCCS -prune -o -name BitKeeper -prune \
+       { find include/asm-${ARCH} include/asm-generic -name SCCS -prune -o -name BitKeeper -prune \
                -o -name '*.h' -print ; \
        find include -name SCCS -prune -o -name BitKeeper -prune -o \
                -type d \( -name "asm-*" -o -name config \) -prune -o \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. [trivial] include <asm-generic/topology.h>

Linus,
        For a small bit of sanity and a savings of 9 lines of code, we should
be including the generic topology macros in the alpha & ppc64 topology
files, rather than just redefining them.  It is much easier to keep all
the generic topology macros in sync this way, too.

Cheers!

-Matt


  asm-alpha/topology.h |   19 +++++++------------
  asm-ppc64/topology.h |    8 ++------
  2 files changed, 9 insertions(+), 18 deletions(-)

[ use_generic_topo-2.5.50.patch 1K ]
diff -Nur --exclude-from=/usr/src/.dontdiff linux-2.5.50-vanilla/include/asm-alpha/topology.h linux-2.5.50-use_generic/include/asm-alpha/topology.h
--- linux-2.5.50-vanilla/include/asm-alpha/topology.h   Wed Nov 27 14:35:53 2002

 #ifndef _ASM_ALPHA_TOPOLOGY_H
 #define _ASM_ALPHA_TOPOLOGY_H

-#ifdef CONFIG_NUMA
-#ifdef CONFIG_ALPHA_WILDFIRE
+#if defined(CONFIG_NUMA) && defined(CONFIG_ALPHA_WILDFIRE)
+
 /* With wildfire assume 4 CPUs per node */
 #define __cpu_to_node(cpu)             ((cpu) >> 2)
-#endif /* CONFIG_ALPHA_WILDFIRE */
-#endif /* CONFIG_NUMA */

-#if !defined(CONFIG_NUMA) || !defined(CONFIG_ALPHA_WILDFIRE)
-#define __cpu_to_node(cpu)             (0)
-#define __memblk_to_node(memblk)       (0)
-#define __parent_node(nid)             (0)
-#define __node_to_first_cpu(node)      (0)
-#define __node_to_cpu_mask(node)       (cpu_online_map)
-#define __node_to_memblk(node)         (0)
-#endif /* !CONFIG_NUMA || !CONFIG_ALPHA_WILDFIRE */
+#else /* !CONFIG_NUMA || !CONFIG_ALPHA_WILDFIRE */
+
+#include <asm-generic/topology.h>
+
+#endif /* CONFIG_NUMA && CONFIG_ALPHA_WILDFIRE */

 #endif /* _ASM_ALPHA_TOPOLOGY_H */
diff -Nur --exclude-from=/usr/src/.dontdiff linux-2.5.50-vanilla/include/asm-ppc64/topology.h linux-2.5.50-use_generic/include/asm-ppc64/topology.h
--- linux-2.5.50-vanilla/include/asm-ppc64/topology.h   Wed Nov 27 14:36:22 2002

 #else /* !CONFIG_NUMA */

-#define __cpu_to_node(cpu)             (0)
-#define __memblk_to_node(memblk)       (0)
-#define __parent_node(nid)             (0)
-#define __node_to_first_cpu(node)      (0)
-#define __node_to_cpu_mask(node)       (cpu_online_map)
-#define __node_to_memblk(node)         (0)
+/* If non-NUMA, grab the generic macros */
+#include <asm-generic/topology.h>

 #endif /* CONFIG_NUMA */

2. error when configuring kppp

3. include/asm-generic/bitops.h {set,clear}_bit return void

4. Dialup PPP

5. [2.5] include/asm-generic/bitops.h {set,clear}_bit return void

6. Problems with XFCom_3DLabs AXP

7. [v850] Use <asm-generic/statsfs.h> on v850

8. where?

9. planned change to <asm-generic/dma-mapping.h> will cause arch breakage

10. [2.5.41] create asm-generic/fcntl.h

11. how is the asm-generic to be used?

12. use asm-generic/topology.h

13. asm-generic magic