patch-2.4.0-test5 linux/include/asm-arm/arch-arc/oldlatches.h

Next file: linux/include/asm-arm/arch-arc/system.h
Previous file: linux/include/asm-arm/arch-arc/ide.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/include/asm-arm/arch-arc/oldlatches.h linux/include/asm-arm/arch-arc/oldlatches.h
@@ -11,9 +11,6 @@
 #ifndef _ASM_ARCH_OLDLATCH_H
 #define _ASM_ARCH_OLDLATCH_H
 
-#include <linux/config.h>
-
-#if defined(CONFIG_ARCH_ARC)
 #define LATCHA_FDSEL0    (1<<0)
 #define LATCHA_FDSEL1    (1<<1)
 #define LATCHA_FDSEL2    (1<<2)
@@ -34,14 +31,5 @@
 /* newval=(oldval & mask)|newdata */
 void oldlatch_aupdate(unsigned char mask,unsigned char newdata);
 
-void oldlatch_init(void);
-
-#elif defined(CONFIG_ARCH_A5K)
-
-#ifdef __need_oldlatches
-#error "Old latches not present in this (a5k) machine"
-#endif
-
-#endif
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)