Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148639
b: refs/heads/master
c: 46fb9be
h: refs/heads/master
i:
  148637: ac1b54a
  148635: 6aa269b
  148631: 95798f4
  148623: 5a65fa5
  148607: d677d48
v: v3
  • Loading branch information
Michal Simek committed May 26, 2009
1 parent 1b16025 commit c64b03a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b28626a6b1522b39f75d0bf80d5dec23c931f5a
refs/heads/master: 46fb9be93b15bd8315622ad2f85f9516c064a785
20 changes: 19 additions & 1 deletion trunk/arch/microblaze/include/asm/cacheflush.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2007 PetaLogix
* Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
* Copyright (C) 2007-2009 PetaLogix
* Copyright (C) 2007 John Williams <john.williams@petalogix.com>
* based on v850 version which was
* Copyright (C) 2001,02,03 NEC Electronics Corporation
Expand Down Expand Up @@ -43,6 +44,23 @@
#define flush_icache_range(start, len) __invalidate_icache_range(start, len)
#define flush_icache_page(vma, pg) do { } while (0)

#ifndef CONFIG_MMU
# define flush_icache_user_range(start, len) do { } while (0)
#else
# define flush_icache_user_range(vma, pg, adr, len) __invalidate_icache_all()

# define flush_page_to_ram(page) do { } while (0)

# define flush_icache() __invalidate_icache_all()
# define flush_cache_sigtramp(vaddr) \
__invalidate_icache_range(vaddr, vaddr + 8)

# define flush_dcache_mmap_lock(mapping) do { } while (0)
# define flush_dcache_mmap_unlock(mapping) do { } while (0)

# define flush_cache_dup_mm(mm) do { } while (0)
#endif

#define flush_cache_vmap(start, end) do { } while (0)
#define flush_cache_vunmap(start, end) do { } while (0)

Expand Down

0 comments on commit c64b03a

Please sign in to comment.