summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/sys/cachectl.h
blob: f241e657d89becd41b4371589d791757b6c75c94 (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 */