mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 11:13:58 +08:00
849de0cd2c
There is <linux/compiler.h> which provides macros for various gcc specific constructs. Eg: __weak for __attribute__((weak)). I've cleaned all instances of gcc specific attributes with the right macros for all files under /arch/m68k Link: http://lkml.kernel.org/r/1485540901-1988-3-git-send-email-gidisrael@gmail.com Signed-off-by: Gideon Israel Dsouza <gidisrael@gmail.com> Cc: Greg Ungerer <gerg@linux-m68k.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
24 lines
533 B
C
24 lines
533 B
C
/*
|
|
* ARAnyM hardware support via Native Features (natfeats)
|
|
*
|
|
* Copyright (c) 2005 Petr Stehlik of ARAnyM dev team
|
|
*
|
|
* This software may be used and distributed according to the terms of
|
|
* the GNU General Public License (GPL), incorporated herein by reference.
|
|
*/
|
|
#include <linux/compiler.h>
|
|
|
|
#ifndef _NATFEAT_H
|
|
#define _NATFEAT_H
|
|
|
|
long nf_get_id(const char *feature_name);
|
|
long nf_call(long id, ...);
|
|
|
|
void nf_init(void);
|
|
void nf_shutdown(void);
|
|
|
|
void nfprint(const char *fmt, ...)
|
|
__printf(1, 2);
|
|
|
|
# endif /* _NATFEAT_H */
|