lkml.org 
[lkml]   [2010]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 06/13] mn10300: removing redundant ifdef
Date
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


\
 
 \ /
  Last update: 2010-05-06 19:41    [W:0.124 / U:1.600 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site