Commit 9a13f8e3 authored by Russell King's avatar Russell King

[ARM] Cleanup MODULE_* macros

Thanks to Adrian Bunk.

Remove kernel 2.0 #ifdef's from arm code, and move MODULE_* to
the end of the file.  Add an appropriate MODULE_LICENSE().
parent ed29a809
...@@ -50,11 +50,6 @@ ...@@ -50,11 +50,6 @@
#ifdef MODULE #ifdef MODULE
void fp_send_sig(unsigned long sig, struct task_struct *p, int priv); void fp_send_sig(unsigned long sig, struct task_struct *p, int priv);
#if LINUX_VERSION_CODE > 0x20115
MODULE_AUTHOR("Scott Bambrough <scottb@rebel.com>");
MODULE_DESCRIPTION("NWFPE floating point emulator (" NWFPE_BITS " precision)");
#endif
#else #else
#define fp_send_sig send_sig #define fp_send_sig send_sig
#define kern_fp_enter fp_enter #define kern_fp_enter fp_enter
...@@ -172,3 +167,7 @@ void float_raise(signed char flags) ...@@ -172,3 +167,7 @@ void float_raise(signed char flags)
module_init(fpe_init); module_init(fpe_init);
module_exit(fpe_exit); module_exit(fpe_exit);
MODULE_AUTHOR("Scott Bambrough <scottb@rebel.com>");
MODULE_DESCRIPTION("NWFPE floating point emulator (" NWFPE_BITS " precision)");
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment