uwb: Use kcalloc instead of kzalloc to allocate array
[zen-stable.git] / arch / microblaze / include / asm / selfmod.h
blobc42aff2e6cd0c5dea6f991e8161722ac9d551b5c
1 /*
2 * Copyright (C) 2007-2008 Michal Simek <monstr@monstr.eu>
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 */
9 #ifndef _ASM_MICROBLAZE_SELFMOD_H
10 #define _ASM_MICROBLAZE_SELFMOD_H
13 * BARRIER_BASE_ADDR is constant address for selfmod function.
14 * do not change this value - selfmod function is in
15 * arch/microblaze/kernel/selfmod.c: selfmod_function()
17 * last 16 bits is used for storing register offset
20 #define BARRIER_BASE_ADDR 0x1234ff00
22 void selfmod_function(const int *arr_fce, const unsigned int base);
24 #endif /* _ASM_MICROBLAZE_SELFMOD_H */