Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8cfc433 authored by Laura Abbott's avatar Laura Abbott Committed by Matt Wagantall
Browse files

arm64: Add asm/archrandom.h header



The arm64 architecture may have support for architecture specific
random numbers. Add the appropriate header file to allow this to
be defined.

Change-Id: Ic6396efd29368dfe33840d75f4353aefcc06f060
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 0b1042da
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef _ASM_ARCHRANDOM_H
#define _ASM_ARCHRANDOM_H

extern int arch_get_random_long(unsigned long *v);
extern int arch_get_random_int(unsigned int *v);

#endif