Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1365980
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] arm: remove tautologic #ifdefs in proc-v7-3level.S |
| Date | 2016-03-29 10:10 +0200 |
| Message-ID | <rhWST-3dU-27@gated-at.bofh.it> (permalink) |
| References | <rhWzw-2QS-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tuesday 29 March 2016 09:37:51 Jonas Rabenstein wrote:
> The file arch/arm/mm/proc-v7-3level.S is only used by the #include
> directive in arch/arm/mm/proc-v7.S:23. This #include is conditional and
> depends on CONFIG_ARM_LPAE (otherwise proc-v7-2level.S is used).
> CONFIG_ARM_LPAE has a dependency on CONFIG_MMU defined in Kconfig.
> Consequently, checks for CONFIG_MMU in proc-v7-3level.S are superfluous.
>
> Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
> ---
> I detected the issue with chimaera, a tool I currently develop for my bachelor
> thesis extending the undertaker tool suite (https://undertaker.cs.fau.de).
Nice catch!
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
I guess you should submit the same thing for the other file as well,
either in the same patch or as a series.
You can also add
Fixes: 8d2cd3a38fd6 ("ARM: LPAE: Factor out classic-MMU specific code into proc-v7-2level.S")
to mark the commit that led to the situation.
Arnd
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] arm: remove tautologic #ifdefs in proc-v7-3level.S Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> - 2016-03-29 09:50 +0200
Re: [PATCH] arm: remove tautologic #ifdefs in proc-v7-3level.S Arnd Bergmann <arnd@arndb.de> - 2016-03-29 10:10 +0200
Re: [PATCH] arm: remove tautologic #ifdefs in proc-v7-3level.S Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> - 2016-03-29 10:40 +0200
Re: [PATCH] arm: remove tautologic #ifdefs in proc-v7-3level.S Arnd Bergmann <arnd@arndb.de> - 2016-03-29 10:50 +0200
csiph-web