x86_64: make /proc/interrupts work with dyn irq_desc
[safe/jmp/linux-2.6] / fs / proc / array.c
index 1c8d7b5..f4bc0e7 100644 (file)
 #include <asm/processor.h>
 #include "internal.h"
 
-/* Gcc optimizes away "strlen(x)" for constant x */
-#define ADDBUF(buffer, string) \
-do { memcpy(buffer, string, strlen(string)); \
-     buffer += strlen(string); } while (0)
-
 static inline void task_name(struct seq_file *m, struct task_struct *p)
 {
        int i;