[PATCH 06/13] mn10300: removing redundant ifdef

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Olsa
Date: Thursday, May 6, 2010 - 10:36 am

wbr,
jirka


Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
 arch/mn10300/include/asm/pgtable.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/mn10300/include/asm/pgtable.h b/arch/mn10300/include/asm/pgtable.h
index 16d8857..ace79eb 100644
--- a/arch/mn10300/include/asm/pgtable.h
+++ b/arch/mn10300/include/asm/pgtable.h
@@ -213,8 +213,6 @@ do {							\
 
 #define pages_to_mb(x) ((x) >> (20 - PAGE_SHIFT))
 
-#ifndef __ASSEMBLY__
-
 /*
  * The following only work if pte_present() is true.
  * Undefined behaviour if not..
@@ -468,8 +466,6 @@ static inline int set_kernel_exec(unsigned long vaddr, int enable)
 extern void update_mmu_cache(struct vm_area_struct *vma,
 			     unsigned long address, pte_t *ptep);
 
-#endif /* !__ASSEMBLY__ */
-
 #define kern_addr_valid(addr)	(1)
 
 #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \
-- 
1.6.6.1

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 06/13] mn10300: removing redundant ifdef, Jiri Olsa, (Thu May 6, 10:36 am)
Re: [PATCH 06/13] mn10300: removing redundant ifdef, David Howells, (Fri May 7, 3:11 am)