diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2013-09-11 14:23:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 15:58:25 -0700 |
commit | e656a634118285142063527b2cd40c749036de82 (patch) | |
tree | 201f158e1fb06cd7ac851b6f1b0530f232146c35 /kernel/exit.c | |
parent | bff2dc42bcafdd75c0296987747f782965d691a0 (diff) |
extable: skip sorting if the table is empty
At least on ARM no-MMU the extable is empty and so there is nothing to
sort. So add a check for the table to be empty which effectively only
changes that the misleading pr_notice is suppressed.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: David Daney <david.daney@cavium.com>
Cc: "H. Peter Anvin" <hpa@linux.intel.com>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions