summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/sys/cachectl.h
blob: ee4c03155b7d484c137fc250b696cadaf0184a95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * cachectl.h - Functions for cache control on Blackfin.
 *
 * Copyright (C) 2010 Analog Devices, Inc.
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#ifndef _SYS_CACHECTL_H
#define _SYS_CACHECTL_H	1

#include <features.h>

/*
 * Get the kernel definition for the flag bits
 */
#include <asm/cachectl.h>

__BEGIN_DECLS

extern int cacheflush (void *addr, __const int nbytes, __const int flags);

__END_DECLS

#endif	/* sys/cachectl.h */