Blame view

kernel/linux-imx6_3.14.28/arch/mn10300/mm/cache-disabled.c 606 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  /* Handle the cache being disabled
   *
   * Copyright (C) 2010 Red Hat, Inc. All Rights Reserved.
   * Written by David Howells (dhowells@redhat.com)
   *
   * This program is free software; you can redistribute it and/or
   * modify it under the terms of the GNU General Public Licence
   * as published by the Free Software Foundation; either version
   * 2 of the Licence, or (at your option) any later version.
   */
  #include <linux/mm.h>
  
  /*
   * allow userspace to flush the instruction cache
   */
  asmlinkage long sys_cacheflush(unsigned long start, unsigned long end)
  {
  	if (end < start)
  		return -EINVAL;
  	return 0;
  }