From d50f49965146b3078f9a487fc176417cdee979d5 Mon Sep 17 00:00:00 2001
From: Greg Ungerer <gerg@snapgear.com>
Date: Mon, 13 Jan 2003 04:23:13 -0800
Subject: [PATCH] [PATCH] add smp_read_barrier_depends() for m68knommu

This patch adds a definition for smp_read_barrier_depends() for the
m68knommu architecture. This is now needed to compile net/ipv4/route.c.
---
 include/asm-m68knommu/system.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/asm-m68knommu/system.h b/include/asm-m68knommu/system.h
index 7a420e949379..e12f9eb46e84 100644
--- a/include/asm-m68knommu/system.h
+++ b/include/asm-m68knommu/system.h
@@ -102,10 +102,12 @@ asmlinkage void resume(void);
 #define smp_mb()	mb()
 #define smp_rmb()	rmb()
 #define smp_wmb()	wmb()
+#define smp_read_barrier_depends()	read_barrier_depends()
 #else
 #define smp_mb()	barrier()
 #define smp_rmb()	barrier()
 #define smp_wmb()	barrier()
+#define smp_read_barrier_depends()	do { } while(0)
 #endif
 
 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
-- 
2.30.9